I need to find out the word in the image where the user clicked. So far I have managed to recognize the image. I have a picturebox control in my C # application. the user can draw a window around any text and drag it into the text box to fill it with a text box. I have finished it. But now I have a new requirement: the user can select a text field, and then click on the word in the image so that the word is filled in the text field.
I do not know how to do that. How can I cut a part of a word separately from an image and pass it OCR. User can click any part of the word.
Please give me any pointers. What algorithm should be followed to find the boundaries of the word that the user clicks on. IF I have found borders that I can cut from the image using the copyfromscreen method and pass it to the ocr engine to get the text.
Hope I made my problem here.
Thank you and respect, Dinesh.
source share