tesseract
tesseract copied to clipboard
Bad results of data if top of image is lighted up and getting exception if EngineMode is not default
In our case we try to auto detect if user put id document in front off camera. Where we have located our camera we also have small light which light up the document.
Not detected:
- Some documents are very shines and they reflect light. What i see is that if this lighted up spot is on top of the image then no text is recognized below the lighted up place.
- if there is around the document some space and this bacground is lighted up. How can i get that this will work?
http://shrani.si/f/1B/tn/2UpaUqS3/idsample.jpg
I have try also changing EngineMode from default to (TesseractOnly, LstmOnly = 1, TesseractAndLstm) then i always get exception on initialization. Should i add there some additional files to tessdata ?
Maybe OpenCV would be a better solution.
Maybe OpenCV would be a better solution.
This is not the ansver which i was expecting. At least can somebody please write which file are needed in tessdata for:
- TesseractOnly
- LstmOnly