You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New barcodes like GS1 DataMatrix, GS1 QR Code, and GS1 Digital Link can contain more information than the GTIN (AI (Application Identifier) = 01). For example, they can contain the product weight for variable weight items, and the "best before" date.
Example
(01)3274080005003 # GTIN
(15)230501 # Best before
(3103)000123 # Weight
(The string is split into multiple lines for readability. The AI string returned from libgs1encoders doesn't contain newlines.)
Proposal
Normalize the barcodes to AI strings using GS1::SyntaxEngine::FFI after a successful run of scan_barcode,
Store a list of unique AI strings in the product identified by the GTIN, so that they can be analyzed later.
TBD: API integration
This would only solve product search from images uploaded from the web. (Mobile) apps that use the API need some way to search by the new GS1 barcodes and/or the AI data string.
In addition, we could just accept AI strings in the API, e.g. /api/v3/product/(01)3274080005003(15)230501(3103)000123 would return the product 3274080005003
I think it could be advantageous for the API to accept other types, too. Otherwise. each app/client would have to be able to parse all the GS1 barcode variations, as well.
New barcodes like GS1 DataMatrix, GS1 QR Code, and GS1 Digital Link can contain more information than the GTIN (AI (Application Identifier) = 01). For example, they can contain the product weight for variable weight items, and the "best before" date.
Example
(The string is split into multiple lines for readability. The AI string returned from
libgs1encoders
doesn't contain newlines.)Proposal
GS1::SyntaxEngine::FFI
after a successful run ofscan_barcode
,TBD: API integration
This would only solve product search from images uploaded from the web. (Mobile) apps that use the API need some way to search by the new GS1 barcodes and/or the AI data string.
Part of
Depends on
The text was updated successfully, but these errors were encountered: