command line - How to define regions on an image and pass to tesseract-ocr? -


how can define regions on image, pass data tesseract-ocr's command-line, text within defined regions extracted?

i'm guessing may similar use of image-map in html.

thank in advance responses.

i found out how pass in regions on image tesseract.

although cannot done through command line, tesseract 3.02 api supports function setrectangle(int left, int top, int width, int height) allows restrict text extraction region specified.

it must called after setimage() function.

thanks again.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -