Line 1: |
Line 1: |
| + | {{otherlang |
| + | | fr=FR:Codes-barres |
| + | }} |
| + | |
| + | == Barcode length == |
| + | The '''majority of product codes''' are following EAN-13 standard, and, as such, are '''13 chars length'''. |
| + | |
| + | As of 2022-04-06, Open Food Facts contains '''more than 12,000 products''' (~0.5%) with a barcode longer than 13 chars. |
| + | |
| + | * The majority of barcodes with 20 numbers are products prepared, packaged and sold by Bonarea (cheese, meat, fruits, etc.); eg. https://world.openfoodfacts.org/cgi/search.pl?search_terms=Queso+de+mezcla+semicirado&search_simple=1&action=process&json=1; these barcodes are true barcodes and not a data issue, as can be seen on [https://images.openfoodfacts.org/images/products/008/348/031/00320002774/front_es.3.400.jpg this picture]. |
| + | ** They are beginning with 00. |
| + | ** Price seems to be included in the barcode: in [https://world.openfoodfacts.org/product/00162403200322003538/queso-oveja-curado 00162403200322003538], the price, €3.53, is included just before the last digit. |
| + | ** ~7500+ products |
| + | * 20+ are beginning with 0105400141 |
| + | * [to be completed] |
| + | |
| + | Open Food Facts website '''can't display''' a product with a barcode longer than '''24''' chars ([https://github.com/openfoodfacts/openfoodfacts-server/issues/6571 a bug is open]). |
| + | |
| + | == Barcode weight == |
| + | For EAN-13 barcodes, GS1 recommend barcodes' weight to be ~32mm. In general, producers tend to use barcodes between 24 and 35 mm. Values below 24mm and above 35 are rare. |
| + | |
| + | == Testing barcodes with our apps == |
| + | It's interesting to control that our apps are playing well with different barcodes' size. We build a [https://docs.google.com/document/d/12VtFOsnHfK4PVwBJy_aHwSogX_yKRNfzoiHCPD1sxN0/edit# test document] that you can print and use with the app. |
| + | |
| == All things barcode == | | == All things barcode == |
| * [[Barcodes/Non Standard Barcodes|Non Standard Barcodes]] | | * [[Barcodes/Non Standard Barcodes|Non Standard Barcodes]] |
Line 4: |
Line 28: |
| * [[Global brands and companies taxonomy]]: Barcode prefixes for brands are already included | | * [[Global brands and companies taxonomy]]: Barcode prefixes for brands are already included |
| * [[Global countries taxonomy|Global countries taxonomy]] : Barcode prefixes for countries will be included | | * [[Global countries taxonomy|Global countries taxonomy]] : Barcode prefixes for countries will be included |
| + | * [[Barcodes/Countries]]: Map from barcode initials to country or purpose |
| + | * [[Verification/Noteworthy Products#Products with same bar code]]: List of instances where two or more products have been identified as having the same barcode. |
| | | |
| == Barcode related pages on Open Food Facts == | | == Barcode related pages on Open Food Facts == |
Line 19: |
Line 45: |
| ** Get Product Code suggestions | | ** Get Product Code suggestions |
| ** Get barcode API | | ** Get barcode API |
| + | ** Generate barcode SVG |
| + | |
| + | == See also == |
| + | |
| + | * [https://en.wikipedia.org/wiki/Barcode Barcode] Wikipedia page. |
| + | |
| + | [[Category:Barcodes]] |