nathan/dev/: barcode-reader-1.3.7 metadata and description

Simple index

description_content_type text/markdown
File Tox results History
barcode_reader-1.3.7.tar.gz
Size
35 MB
Type
Source
  • Replaced 2 time(s)
  • Uploaded to nathan/dev by nathan 2024-12-03 22:25:17

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