简体   繁体   中英

In xcode how can I do a real-time scan of the camera preview frame by frame using Tesseract OCR

As many of you know Tesseract does character recognition in still photos or images. I'm using xcode for my iOS app and I got this problem. How can I use tesseract to scan the camera live preview. An app that does this is the Word Lens app, it makes a frame by frame live recognition and translation of the text being previewed by the camera. I'm trying to do this live character recognition whithout the translation part. What is the best approach? How can I do a real-time scan of the camera preview frame by frame using Tesseract OCR? Thanks.

I have tested it and Performance is too low. Camera output eight pictures per second, but OCR process one need about 2 seconds.

The link A (quasi-) real-time video processing on iOS

The link tesseract-ios

and How can I make tesseract on iOS faster

Maybe we need use OpenCV.

Or, alternative you can use other free product, that does OCR in camera preview: ABBYY Real-Time Recognition OCR .

Disclaimer: I work for ABBYY.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM