android-vision icon indicating copy to clipboard operation
android-vision copied to clipboard

Truncated PDF417 not detected

Open Ted3535 opened this issue 6 years ago • 4 comments

I'm impressed with the performance of the Mobile Vision barcode library vs that of ZXing, but MV is not able to read my truncated PDF417 barcodes, whereas ZXing does. These barcodes exist on CAC cards used by the US military. "Truncated" means they lack the stop pattern.

Here's a website that allows generating such truncated barcodes: http://www.abarcode.net/online.aspx?barcode=PDF417

For reference, I've attached truncated and non-truncated barcodes with text "Test Test Test Test".

I'm testing this on a fully updated Galaxy S6 with Google Play Services 12.2.21.

From my build.gradle: compile 'com.google.android.gms:play-services-vision:11+'

I've taken a scan of a CAC card with its truncated barcode and added the stop pattern using an image editor, and the printed result scans correctly with MV.

Any help would be appreciated. Thanks.

barcode-non truncated

barcode-truncated

cac-card-190x300

Ted3535 avatar Mar 27 '18 19:03 Ted3535

Unfortunately, the Barcode API does not currently support Truncated PDF417.

pchx-zz avatar Apr 12 '18 14:04 pchx-zz

Are there any plans to support this in the future? I would like this feature as well.

kee23 avatar Nov 29 '18 23:11 kee23

I agree, that would be a great addon to an already great library. :)

CarterAAelect avatar Feb 05 '19 16:02 CarterAAelect

Bumping the issue here. Is this implemented at all or will be implemented. It's a fairly common barcode in retail especially for tickets.

red5leader avatar Nov 10 '20 00:11 red5leader