Model reference · open weights

PP-LCNet_x1_0_textline_ori_onnx

Available as managed deployment LLMs PaddlePaddle Image→text 1 variants 1k dl/mo

PP-LCNet_x1_0_textline_ori_onnx is an open-weight language model from PaddlePaddle. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byBaidu
Published underPaddlePaddle
TypeLanguage models
TaskImage→text
Runs withPaddleOCR
Released2026-05-26
Popularity1k downloads / month
LicenceOpen weights

About

What PP-LCNet_x1_0_textline_ori_onnx is

Introduction

The text line orientation classification module primarily distinguishes the orientation of text lines and corrects them using post-processing. In processes such as document scanning and license/certificate photography, to capture clearer images, the capture device may be rotated, resulting in text lines in various orientations. Standard OCR pipelines cannot handle such data well. By utilizing image classification technology, the orientation of text lines can be predetermined and adjusted, thereby enhancing the accuracy of OCR processing. The key accuracy metrics are as follow:

Model Usage

Install Dependencies

pip install -U paddleocr
pip install -U onnxruntime-gpu

CLI Usage

paddleocr textline_orientation_classification -i ./demo.jpg --model_name PP-LCNet_x1_0_textline_ori --engine onnxruntime

Python API Usage

from paddleocr import TextLineOrientationClassification

model = TextLineOrientationClassification(
    model_name="PP-LCNet_x1_0_textline_ori",
    engine="onnxruntime",
)
output = model.predict("./demo.jpg", batch_size=1)
for res in output:
    res.print()
    res.save_to_json(save_path="./output/res.json")

From the published model card. Full card on the HuggingFace links in the sidebar.

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys pp-lcnet-x1-0-textline-ori-onnx for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (pp-lcnet-x1-0-textline-ori-onnx 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-textline-ori-onnx","messages":[{"role":"user","content":"Hello"}]}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms