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.17.tar.gz
(12.5 kB
view hashes)
Built Distribution
Close
Hashes for moveread_ocr-0.1.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acf0f6947694c8256f803b9d0e8398de65d447db047071bb0abaca9dc7d5da89 |
|
MD5 | 0e0d54e6d6d1248696c6e58605270b74 |
|
BLAKE2b-256 | f5f9a1aa065c6d4faa42f91e8375a81bb84aa3d61c623e595edab9f68200e30d |