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.25.tar.gz
(13.1 kB
view details)
Built Distribution
File details
Details for the file moveread_ocr-0.1.25.tar.gz
.
File metadata
- Download URL: moveread_ocr-0.1.25.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3945f27d909d5d91d47c3f5f8d8caa6a92a63681677a117621bbcc742908e651 |
|
MD5 | 35df5eeb4116cc89cb55d25a25d3f2fb |
|
BLAKE2b-256 | 66f2c19bdca4ce6d337ca241614b705558a000d1749be540443ea6a3ed085523 |
File details
Details for the file moveread_ocr-0.1.25-py3-none-any.whl
.
File metadata
- Download URL: moveread_ocr-0.1.25-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19281cf9c2d03e47eed16ed2c4c4bca6a4fe1e10cd9fe52a8021a2a78b5e86d0 |
|
MD5 | f2396cd1a10cc63a59ae4f53154afafe |
|
BLAKE2b-256 | fb88edd49df8188d305bcaf59a3291706d054541128a2a091545611fbf5c59c8 |