Skip to content

v1.9.1

Choose a tag to compare

@Banzamel Banzamel released this 15 Mar 12:53
· 1 commit to main since this release

Barcode scanning with BarcodeDetector library

Replaced Tesseract.js OCR with a proper barcode scanning library — native BarcodeDetector API (Chrome/Android) with automatic ZXing WASM polyfill fallback for other browsers.

Changes

  • Proper barcode detection instead of OCR digit recognition
  • Supported formats: EAN-13, EAN-8, UPC-A, Code 128
  • Barcode checksum validation after each read
  • Open Food Facts API lookup restricted to 13-digit EAN codes only
  • Faster scan loop (250ms vs 800ms with OCR)
  • Double-read confirmation for reliable scanning