Sorry made a mistake in attached file names. When i uncomment lines 18,19 my console reads like output3.png (attachment). output2.png is the debug file.
Thanks On Monday, July 31, 2017 at 5:09:37 PM UTC+5:30, Syed Uzair wrote: > > Hello all > > I am trying to extract text from the attached image (010003.bin.png) using > tesserocr (python wrapper for Tesseract 3.04 API). When i used the script > TestAdapttoWord.py (attachment) with the lines 18,19 commented my console > reads like output1.png (attachment) and when i uncomment lines 18,19 my > console reads like output2.png (attachment). > According to AdaptToWordStr documentation, it will return true if it was > able to adapt to the given word. I am getting true but after that when i do > GetUTF8Text i get empty results. I was hoping it would give correct result > after AdaptToWordStr returns true. > > I am not sure whether i am using AdapttoWordsStr correctly or not because > the documentation doesn't say much. Is my interpretation of AdaptToWordStr > is correct? > I am on Ubuntu 16 using Tesseract 3.04. > > Thanks > > > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@googlegroups.com. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/9e6dbead-5c84-4f30-babd-fd9936c595fd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.