tapirscan library
Barcode scanning with Tapirscan through dart:ffi.
Classes
- Barcode
- A decoded physical instance. Equal values at distinct locations remain separate.
- PixelImage
- 8-bit gray (1 channel), RGB (3) or RGBA (4, alpha ignored) pixels.
- PixelPoint
- A point in source-image pixels, origin top-left, x rightward and y downward.
- PixelRect
- Enclosing integer pixel bounds of a polygon.
- Scanner
- A reusable barcode scanner. Create one and reuse it for every frame; calls on one scanner run one at a time, and separate scanners run concurrently.
- ScannerOptions
- Scanner configuration, fixed when the scanner is created.
- ScanResult
- Decoded values and their source-image locations, valid after the scanner is disposed.
- StructuredAppend
- Multipart sequence metadata. The index is one-based; sequences are not assembled.
- Tapirscan
- Library-wide information.
Enums
- EanAddOnPolicy
-
Whether to read the adjacent two/five-digit EAN/UPC supplement.
requirereturns retail reads only with a readable supplement. - Format
- A supported barcode symbology. Enable only the formats you need: each 2D format searches the whole image. New formats may be added in minor releases.
- Mode
- Effort mode, fixed when a scanner is created.
- ScannerErrorCode
-
Why a call failed, named as in the other bindings (
invalid_input,engine). A disposed scanner throws StateError instead.
Exceptions / Errors
- ScannerException
- A failed call: code, the C status and the library's message.