Tapirscan
A Rust-based barcode scanner library that handles barcodes at arbitrary orientations, with a browser demo comparing it against zxing and zbar (using own images or a webcam, Ean-13 by default with a setting to allow more types), and packages published for JavaScript, Python, and Rust.
What it addresses
Existing open source barcode scanner libraries like zxing and zbar perform poorly and rely on horizontal or vertical scanlines.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Tapirscan
A Rust-based barcode scanner library that handles barcodes at arbitrary orientations, with a browser demo comparing it against zxing and zbar (using own images or a webcam, Ean-13 by default with a setting to allow more types), and packages published for JavaScript, Python, and Rust.
Problem: Existing open source barcode scanner libraries like zxing and zbar perform poorly and rely on horizontal or vertical scanlines.
Posted by @kleinicke · Original source ↗
Story title · @kleinicke · · Source ↗
Show HN: Tapirscan – Scan barcodes at any angle in the browser
Submitted URL · @kleinicke · · Source ↗
https://tapirscan.f-kleinicke.de/
Source text · @kleinicke · · Source ↗
I built the website demo to compare these libraries with a new library (tapirscan), I built out of frustration over them.
Source text · @kleinicke · · Source ↗
Current open source barcode scanner libraries like zxing and zbar perform (for nowadays) remarkable bad on scanning barcodes.
Source text · @kleinicke · · Source ↗
My new rust based scanner works well with arbitrary orientations.
Source text · @kleinicke · · Source ↗
On the demo website you can try out the library in comparison to zxing and zbar. You can also use your own images or use your webcam to scan objects. By default it just looks at Ean-13 barcodes, but there is a setting to allow more types.
Source text · @kleinicke · · Source ↗
The code is here: https://github.com/kleinicke/tapirscan
Source text · @kleinicke · · Source ↗
The developed library is available at js: https://www.npmjs.com/package/tapirscan, python: https://pypi.org/project/tapirscan/ and Rust: https://crates.io/crates/tapirscan