Model reference · open weights
PP-LCNet_x1_0_doc_ori is an open-weight language model from PaddlePaddle, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
PP-LCNetx10docori Introduction The Document Image Orientation Classification Module is primarily designed to distinguish the orientation of document images and correct them through post-processing. During processes such as document scanning or ID photo capturing, the device might be rotated to achieve clearer images, resulting in images with various orientations. Standard OCR pipelines may not handle these images effectively. By leveraging image classification techniques, the orientation of documents or IDs containing text regions can be pre-determined and adjusted, thereby improving the accuracy of OCR processing. The key accuracy metrics are as follow: Quick Start Installation 1. PaddlePaddle Please refer to the following commands to install PaddlePaddle using pip: For details about PaddlePaddle installation, please refer to the PaddlePaddle official website. 2. PaddleOCR Install the latest version of the PaddleOCR inference package from PyPI: Model Usage You can quickly experience the functionality with a single command: You can also integrate the model inference of the text recognition module into your project. Before running the following code, please download the sample image to your local machine. After running, the obtained result is as follows: The visualized image is as follows: For details about usage command and descriptions of parameters, please refer to the Document. Pipeline Usage The ability of a single model is limited. But the pipeline consists of several models can provide more capacity to resolve difficult problems in real-world scenarios. docpreprocessor The Document Image Preprocessing Pipeline integrates two key functions: document orientation classification and geometric distortion correction. The document orientation classification module automatically identifies the four possible orientations of a document (0°, 90°, 180°, 270°), ensuring that the document is processed in the correct direction. The text image unwarping model is designed to correct geometric distortions that occur during document photography or scanning, restoring the document's original shape and proportions. This pipeline is suitable for digital document management, pre
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | PaddlePaddle |
|---|---|
| Type | Language models |
| Variants | 1 |
| Runs with | PaddleOCR |
| Released | 2025-06-06 |
| Popularity | 339k downloads / month |
| Likes | 21 |
| Licence | Open weights |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| PP-LCNet_x1_0_doc_ori | — | BF16 | — | — | Weights ↗ |
Using it via the API
Once AxForge deploys pp-lcnet-x1-0-doc-ori for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (pp-lcnet-x1-0-doc-ori below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"pp-lcnet-x1-0-doc-ori","messages":[{"role":"user","content":"Hello"}]}'
Details
Languages
Tags
Licence
Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗