Page 1 of 1

barcode and ID card

Posted: May 3rd, 2020, 8:31 pm
by Cecilius
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

Re: barcode and ID card

Posted: May 4th, 2020, 8:02 am
by Gregory Martin
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];