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)
Built Distribution
Close
Hashes for ocr_meter-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e50b0b834b6f443e0a066d5d18ddf39f2f07e2388b744fe3721911aeaf7f1d3 |
|
MD5 | 87b9ae5d528cb143996b3d7d15c818fb |
|
BLAKE2b-256 | 40e824d871b779522d8cf25c5c609dcfbf0e4c01b68e79f4030c659fe7411a49 |