Skip to content

Truncated PDF417 not detected #335

Open
@Ted3535

Description

@Ted3535

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions