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.19.tar.gz
(12.5 kB
view hashes)
Built Distribution
Close
Hashes for moveread_ocr-0.1.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aacc789ef733de68858877b55fad220bf1a963ee42a29da837db7119d0c5d59 |
|
MD5 | 8f13260bf24df95ff8e7537ef75de6c1 |
|
BLAKE2b-256 | 61eb94aff32d6deb06c1d6d31e5fc7a8dfa5008f3a56bf4b242edba97d37b73c |