Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Scan and Extract data from IDs and Passports

I want scan and extract data from IDs and Passports, Which free plugins I use? Or how do I do it, To read the data and add this data to form.

like image 325
Gurbela Avatar asked Aug 09 '18 10:08

Gurbela


2 Answers

You can check this question on how to read text from images.

Having said text, since each field always has a fixed text before identifying what it is, if you know the id formats you want to support, you can implement that fairly easily (The text between "Name:" and "Surname:" is the person's name, and so on).

To get the images, you should use something like react-native-camera, or, if you are using Expo, its Camera API.

like image 171
Filipe Avatar answered Oct 27 '22 01:10

Filipe


There are few OCR SDKs that enable you to do that. Check out https://github.com/Anyline/anyline-ocr-react-native-module or https://github.com/jonathanpalma/react-native-tesseract-ocr#readme which supports only Android for now.

like image 22
pavle Avatar answered Oct 27 '22 01:10

pavle