jodal / biip

📦 Biip interprets the data in barcodes.
https://biip.readthedocs.io
Apache License 2.0
46 stars 4 forks source link

Is there a problem with this AI ? #113

Closed gagphil1 closed 3 years ago

gagphil1 commented 3 years ago

I try to decode the following GS1 string from a datamatrix:

01103663023000171021004371716020021925768618163

... which should result in: (01)10366302300017(10)2100437(17)160200(21)925768618163. But biip raise an exception:

biip._exceptions.ParseError: Failed to parse '01103663023000171021004371716020021925768618163':
- GTIN: Failed to parse '01103663023000171021004371716020021925768618163' as GTIN: Expected 8, 12, 13, or 14 digits, got 47.
- UPC: Failed to parse '01103663023000171021004371716020021925768618163' as UPC: Expected 6, 7, 8, or 12 digits, got 47.
- SSCC: Failed to parse '01103663023000171021004371716020021925768618163' as SSCC: Expected 18 digits, got 47.
- GS1: Failed to get GS1 Application Identifier from '768618163'.
gagphil1 commented 3 years ago

Finally, it is my decoder that has issues. biip seems correct !