Skip to main content

A small example package

Project description

Overview

OCR Meter Reading

Setup

conda create -n ocr_meter python=3.8

conda activate ocr_meter

pip install ocr-meter==0.0.6

Example code:

from ocr import ocr
img_path = "tests/meter/5/1.png"
ocr_meter = ocr.OcrMeter()
# num_digit: number black digits
# meter_type choice in (water, electicity, gas)
ocr_meter.inference_single(img_path, num_digit=5, meter_type="water")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocr-meter-0.0.7.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ocr_meter-0.0.7-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file ocr-meter-0.0.7.tar.gz.

File metadata

  • Download URL: ocr-meter-0.0.7.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for ocr-meter-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e5bf25bc8db58c99e379dd237f4df02a45cde58bf964763306ca47dbd4b1844b
MD5 91e29d3cb03ba74b506ca41b1713b4dc
BLAKE2b-256 7b41f8a5f5650bbb7655cd209eb7fb9b34a6be5799b240ea7f55d1153ef47fea

See more details on using hashes here.

File details

Details for the file ocr_meter-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: ocr_meter-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for ocr_meter-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3e50b0b834b6f443e0a066d5d18ddf39f2f07e2388b744fe3721911aeaf7f1d3
MD5 87b9ae5d528cb143996b3d7d15c818fb
BLAKE2b-256 40e824d871b779522d8cf25c5c609dcfbf0e4c01b68e79f4030c659fe7411a49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page