OCR (reading text from photos) in Cocoa?

Is there any code that I can use in Cocoa to recognize text from photos? Let's say I attach a photo from my iPhone to a book page. I would like to write the text in it.

+3
source share
1 answer

There is a Tesseract OCR Tool , which is an open source OCR engine currently supported by Google. "Olipion" created a cross-compilation tutorial to enter the iPhone. I would say this is a good place to start.

However, there are reasons why you might not want to use OCR on your phone, even if you can. Some of them include:

  • Even the new iPhone 4 processor is not so fast, and since the application cannot run in the background, data processing may not be optimal.
  • Running OCR on a mobile device is likely to be a killer for battery life.
  • Every time you want to update the OCR engine, everyone who has installed your application will have to update.

For an always-connected mobile device that runs OCR on the server, it might be better. You can easily update OCR software, you can run much more powerful algorithms that a mobile device can work with, etc.

, , . OCR , , , .

, Evernote, OCR, -.

OCR Mechanical Turk, , OCR. , .

+8

Source: https://habr.com/ru/post/1777142/


All Articles