googlesamples / android-vision

Deprecated: The Mobile Vision API is now a part of ML Kit: Check out this repo:
https://github.com/firebase/quickstart-android/tree/master/mlkit
Apache License 2.0
2.92k stars 1.73k forks source link

2D Barcode support for VIN format #220

Open richehmer opened 7 years ago

richehmer commented 7 years ago

We use the library to parse 1D VIN barcodes. It works very well! The first page of the Barcode API Overview suggests VIN scanning isn't supported for 2D barcodes, confirmed by actual failed attempts to scan.

Are there any plans to add 2D VIN barcodes to the list of supported formats? We would find it useful.

pchx-zz commented 7 years ago

My understanding is that VINs are usually encoded using the Code 39, Code 128 or Data Matrix symbologies. The Barcode API supports all of these, but note that Data Matrix codes are only recognized by our API when they are roughly centered in the frame.