nathan/dev/: barcode-reader-1.3.7 metadata and description
| description_content_type | text/markdown |
| File | Tox results | History |
|---|---|---|
barcode_reader-1.3.7.tar.gz
|
|
Installing
Verify there is no existing install
pip uninstall adder
Install the adder package
pip install --extra-index-url https://pip.ml.prod.trulioo.com/nathan/dev --trusted-host https://pip.ml.prod.trulioo.com barcode_reader
Example Code
For either a torch.tensor or PIL image
from barcode_reader import reader
decoder = reader.AdderDecoder()
result = decoder.decode(image)
decoder.decode() -> returns either text or None s To access the output image you can call decoder.output_image