1. PP-LCNet Doc Orientation (6.8 MB · Apache-2.0)
PaddlePaddle/PP-LCNet_x1_0_doc_ori_onnx runs on onnxruntime-web@1.21.0 CPU
WASM in ~11 ms per page. Following its official inference.yml (short-side 256 resize, 224×224
center crop, ImageNet BGR normalization), it emits 4-class probabilities over 0° / 90° / 180° /
270° and applies the exact inverse clockwise rotation (360 - angle) % 360 before OCR.