
I have an image of form which contains different fields like name, number, address etc. I want to recognize data from these fields and save them to database. Now, my OCR is working fine but I don't know how to extract specific field data(name, address) from image to be used for OCR. simply I want to know how to recognize characters in output files are from name field or address field or any other field.
Since you know the exact areas of the form the different fields will be in, you can use some image manipulation library crop the image and send only specific regions to the OCR engine.
Check this SO question.