Barcode ============== Introduction ------------ The most common one-dimensional code in daily life is the barcode on the various goods you buy. It is a graphic identifier that represents information using black and white stripes of different widths. A barcode usually consists of black bars and white bars of different widths arranged alternately (black absorbs all colors of light while white reflects all colors of light, giving very high contrast, so it is the most commonly used), and is designed according to specific encoding rules. The barcode on a product can carry all kinds of information about the product, and of course we can also directly encode byte information into a one-dimensional code. Supported One-Dimensional Code Types ------------------------------------ - EAN2 - EAN5 - EAN8 - UPCE - ISBN10 - UPCA - EAN13 - ISBN13 - I25 - DATABAR (RSS-14) - DATABAR_EXP (RSS-Expanded) - CODABAR - CODE39 - PDF417 - CODE93 - CODE128 Python Example -------------- .. literalinclude:: /_static/products/aicamera-k230d/_static/python-examples/barcode_recognition.py :caption: Barcode :name: Barcode mPython Graphical Example ------------------------- .. figure:: /_static/products/aicamera-k230d/_static/image/example/barcode_recognition.png :align: center :width: 1080