Try using template matching for your use case(I am assuming that PAN card format is same all over India). Atleast dob and pan card number can be found easily using regex. For names, you can reject all the other text boxes like 'INCOME TAX DEPARTMENT', 'GOVT. OF INDIA', then you will be left with only the fathers name and holders name just check for the y coordinate among those two text boxes.
On Monday, January 6, 2020 at 7:37:13 PM UTC+5:30, Shubhranshu Panda wrote: > > I don't know how to extract particular text from a standard image type. I > want to extract the name, dob and PAN number from the PAN card. I have > attachhed a sample image for reference. > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/b1bd5b97-c8ec-4b71-ac37-be61a97faa68%40googlegroups.com.

