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

swift - Button on Table View Cell connected to local function -

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

c# - ajax - How to receive data both html and json from server? -