tesseract icon indicating copy to clipboard operation
tesseract copied to clipboard

Bad results of data if top of image is lighted up and getting exception if EngineMode is not default

Open Norc89 opened this issue 4 years ago • 2 comments

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 ?

Norc89 avatar Nov 30 '20 10:11 Norc89

Maybe OpenCV would be a better solution.

tdhintz avatar Nov 30 '20 11:11 tdhintz

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

Norc89 avatar Dec 02 '20 08:12 Norc89