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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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