khjde1207 / tesseract_ocr

Tesseract OCR for flutter
BSD 3-Clause "New" or "Revised" License
64 stars 31 forks source link

i want specific text from a given image #31

Closed iusamaashraf closed 1 year ago

iusamaashraf commented 1 year ago

Hello! sir i have implemented your package and it's working well but i have faced some difficulty to extract specific text from image like i scan a ID Card and i want only first name and last name from that then how is this possible?

khjde1207 commented 1 year ago

If the location is fixed, it seems to be a way to cut and recognize ocr.

iusamaashraf commented 1 year ago

If the location is fixed, it seems to be a way to cut and recognize ocr.

sorry i didn't understand can you elaborate this little bit more?

khjde1207 commented 1 year ago

https://github.com/brendan-duncan/image/blob/main/doc/transform.md

If the name and location are always the same on the id card, why not cut the name part?

https://pub.dev/packages/edge_detection

iusamaashraf commented 1 year ago

https://github.com/brendan-duncan/image/blob/main/doc/transform.md

If the name and location are always the same on the id card, why not cut the name part?

https://pub.dev/packages/edge_detection Thank you i understand