davanstrien/page-script-id
Image Classification • 2.55M • Updated • 2
Fast document-page writing-script classifiers (21 scripts + unknown, ONNX + timm) trained on HF Jobs for bulk OCR routing.
Note Fast default: MobileNetV4-Small (2.52M, 33ms/11ms CPU, 1,773 p/s A10G)
Note Higher accuracy: HGNetV2-B0 (3.99M, 79ms/36ms CPU, 88% MDPBench photo)
Identify writing scripts on document pages in ~15ms on CPU
Note Interactive CPU demo (gradio.Server + ONNX Runtime): upload image/PDF, toggle crop padding, tune thresholds live