I am attempting to read the back of a driver's license to decode the pdf417 barcode on the back. I tried using zxing.net with the following code:
var reader = new BarcodeReader();
reader.Options.PossibleFormats = new List<BarcodeFormat>() { BarcodeFormat.PDF_417 };
var barcodeBitmap = (Bitmap)Image.FromFile("bc.png");
var result = reader.Decode(barcodeBitmap);
The image is a test image I grabbed from the internet:
I am able to parse out the PDF417 barcode but how do I get the actual driver's license data from this?
@
ANSI 6360050101DL00300203DLDAQ3265188
DAALOTT,ERIC,B,
DAG763 TEST STREET
DAINEW YORK CITY
DAJSC
DAK10005
DARD
DAS
DAT
DAU601
DAW170
DAYBRO
DAZBRO
DBA20241004
DBB19911004
DBC1
DBD20140101
DBG2
DBH1