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.13.tar.gz
(12.0 kB
view hashes)
Built Distribution
Close
Hashes for moveread_ocr-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e7e1fc8a9c12178ea24a493b8639ad62dbf8b9ebdfd9c3efce02e1668b941f2 |
|
MD5 | e9b9d2a48a3070b2c927eaa818d9b152 |
|
BLAKE2b-256 | de68effd53a038cca0747d133b67820b46e323274c2f44258b28dfa6926c75ed |