Moveread OCR model, in tensorflow
Project description
Moveread OCR
CLIs
Data Exporting
ocr records boxes 'data/ocr-dataset/**/*' -vo path/to/tfrecords
ocr records samples 'data/ocr-dataset/**/*' -vo path/to/tfrecords
Inference
ocr predict -v --weights model.weights.h5 --data path/to/tfrecords > top-preds.ndjson
Finetuning
ocr finetune -vw model.weights.h5 --train path/to/tfrecords --val path/to/tfrecords \
--epochs 20 --batch-size 32 --lr 0.001
Evaluation
ocr evaluate -vw model.weights.h5 -d path/to/tfrecords
Serving Export
ocr export -vw model.weights.h5 -o path/to/SavedModel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
moveread_ocr-0.1.22.tar.gz
(12.9 kB
view hashes)
Built Distribution
Close
Hashes for moveread_ocr-0.1.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640741de3cfa60f0c59ed89749ed3d6b1bc3332e836725b0fdb907df6b7c69ea |
|
MD5 | ce01c0a5d068b2c094e3c1e368f739f3 |
|
BLAKE2b-256 | b289a0bb0afb7b61eea0ea934e2cbd4fd52e70f1a024e0099df7b8d54cd62542 |