It is possible to obtain the name, date of birth, ID number and sex of a personal identity card, by scanning the bar code that appears on the card and filling in the fields mentioned.
Regards
barcode and ID card
-
- Posts: 1793
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: barcode and ID card
You can with the new CSPro 7.4 if you are using Android. This scans barcodes:
string code = barcode.read("Position the tablet's camera around 10 centimeters from the card's barcode and wait until the code is read.");
The barcode is returned as a string, and so you can use string logic to get to various parts of the barcode. For example:DATE = tonumber(code[1:8]);
NAME = code[9];
NAME = code[9];