Spaces:
Running
Running
|
Download README.md from hugging-apps/aksonocr-lite: direct link, hf CLI and curl.
- Browser
- Download file 1.86 kB
-
https://huggingface.co/spaces/hugging-apps/aksonocr-lite/resolve/main/README.md
- Command line
-
hf download hf://spaces/hugging-apps/aksonocr-lite/README.md
-
curl -L -o README.md https://huggingface.co/spaces/hugging-apps/aksonocr-lite/resolve/main/README.md
1.86 kB
| title: AksonOCR-Lite | |
| emoji: π | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 6.32.0 | |
| app_file: app.py | |
| short_description: Thai + English document OCR to Markdown | |
| python_version: "3.12" | |
| # AksonOCR-Lite | |
| Fast **Thai + English document OCR** on ONNX Runtime β upload a page image or a PDF and get: | |
| - **Markdown** with layout headings, reading order and HTML tables (Table Transformer), | |
| - an **overlay** per page showing the detected layout blocks (in reading order) and text lines, | |
| - the full **JSON** (blocks, text-line boxes and confidences, rotation, timings). | |
| 81M params, ~330 MB of weights, runs on CPU (~1.5 s/page). Pipeline: page orientation | |
| (PP-LCNet) β layout + reading order (PP-DocLayoutV3) β text-line detection (PP-OCRv6) β | |
| grapheme-cluster Thai/English recognizer β table structure (Table Transformer v1.1). | |
| ## Model | |
| - Weights: [Remtir/AksonOCR-Lite](https://huggingface.co/Remtir/AksonOCR-Lite) | |
| - Code: [github.com/Remtir/AksonOCR-Lite](https://github.com/Remtir/AksonOCR-Lite) (Apache-2.0) | |
| - Benchmarks: MDPBench-th 85.6 with dewarp, ThaiOCRBench DP 0.640 β see [BENCHMARKS.md](https://github.com/Remtir/AksonOCR-Lite/blob/main/BENCHMARKS.md) | |
| ## Examples | |
| The bundled example pages are the ones the authors showcase in the | |
| [AksonOCR-Lite README](https://github.com/Remtir/AksonOCR-Lite) (a Thai government letter, a | |
| Thai financial statement and a handwritten page photo; Apache-2.0). | |
| ## Credits | |
| This Space's app is adapted from the authors' own Gradio playground | |
| ([tools/playground.py](https://github.com/Remtir/AksonOCR-Lite/blob/main/tools/playground.py)). | |
| Weights mirrored from the [Remtir/AksonOCR-Lite](https://huggingface.co/Remtir/AksonOCR-Lite) | |
| repo: PaddlePaddle PP-DocLayoutV3 / PP-OCRv6 / PP-LCNet ONNX exports (Apache-2.0) and | |
| Microsoft table-transformer-structure-recognition-v1.1-all (MIT). | |