barcode and ID card

Discussions about CSEntry
Post Reply
Cecilius
Posts: 6
Joined: July 19th, 2016, 12:59 pm

barcode and ID card

Post 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
Gregory Martin
Posts: 1793
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: barcode and ID card

Post 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];
Post Reply