Hi, if the page has a fixed simple format you can crop the image leaving only the upper part. You can use imagemagick or a python script, etc.
Lorenzo Il giorno ven 19 apr 2019 alle ore 14:49 Vikas Sharma < [email protected]> ha scritto: > Hello guys, > > I am trying to identify page category by recognizing the only first word > on a page, but the pages can have much more text so it is taking so much > time. I just wanted to limit scanning to one word only. I have tried psm > option but no luck there. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/0a3172b7-6cde-4707-b6d8-7f95a6d7bd12%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/0a3172b7-6cde-4707-b6d8-7f95a6d7bd12%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAMgOLLyqmaG%2BJsMfyuEM4OMj%2BPVJ-%3DE0ixOQJ9kWQQX%3Ddk7kYw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

