Saturday, April 23, 2016

Experimenting Tesseract API demo

Checked out the source code available at the location in reference section. 
Trying to run it on the simulator was giving error with details below. 

It appeared that the other linker flags was mentioning stdc++ and that seemed to be the reason
Trying to archive, the error was not appearing and hence decided to move forward without digging into the error. 

Ran the app and it presented two options “Start Camera” and “Show Image Picker”

If use the image which was taken as screenshot of the app, it was almost giving proper result. Also, if take a picture of numbers 
on VIC card, it was also giving correctly recognized. The failure mainly was when try to read the Credit card / debit card numbers 
imprinted on it. This wasn’t giving the result correctly. 

This has been the case with almost all the tesseract sample apps came across. The font of the bank card numbers was not somehow getting recognized correctly
May be that was also because the colors on it. 

Looking closer into the app, as usual, the library libtesseract_full.a was included in the frameworks, along with it, OpenGLES, QuarzCore, CoreGraphics frameworks were also included.

One thing to note was in the Resources folder, it was having “tessdata” folder and that folder contains a number of tables for the english language. 
It seems that the trick is around the training of this SDK

references:

No comments:

Post a Comment