ean_check_digit — SYMBOL barcode1d op

• Data kinds: none → scalar (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.ean_check_digit(digits: 'str') -> 'int' (to call the implementation directly, import barcode1d; barcode1d.ean_check_digit(digits: 'str') -> 'int'; from the registry, opssymbol.get("ean_check_digit"))

• GPU: none (CPU reference implementation only)

Usage

EAN/UPC check digit (weights 3, 1, 3, … from the rightmost digit, sum to a multiple of 10).

Detailed usage guide

• symbol_reading family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_symbol_package_1d — py -3.11 examples/poc_symbol_package_1d.py

Ops the type connects to (they accept scalar as input)

—

Same category (barcode1d)

encode_barcode1d · barcode_scan_profiles · decode_barcode_profile · read_barcode1d


*Provenance: barcode1d.py — SYMBOL operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.