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 -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

Delphi 7 and decode UTF-8 base64 -