skip to content
gigarouter gigarouter
models / image-to-text · coming soon

PP-LCNet x1.0 Textline Orientation

PaddlePaddle/PP-LCNet_x1_0_textline_ori

published Jun 2025 · updated Aug 2025

PP-LCNet x1.0 Textline Orientation is an image classification model that detects whether a text line image is oriented at 0 or 180 degrees, enabling orientation correction for OCR preprocessing.

status
coming soon
API providers
0
downloads / mo
274.6K
license
apache-2.0

specs

TaskText Line Orientation Classification
ArchitecturePP-LCNet_x1_0
Model Size0.96 MB
LicenseApache 2.0

about this model

PP-LCNet_x1_0_textline_ori is a text-line orientation classification model that distinguishes between 0-degree and 180-degree orientations of text lines, serving as a preprocessing stage in OCR pipelines to correct rotated inputs and improve downstream recognition accuracy. The model is based on the PP-LCNet_x0_25 backbone and classifies each text line into one of two classes: upright (0 degrees) or upside-down (180 degrees). It achieves a recognition average accuracy of 98.85% with a storage footprint of only 0.96 MB, making it suitable for lightweight deployment in document scanning, certificate photography, and other image-to-text workflows where captured images may be rotated. The table below summarizes the model's key metrics:
Model Recognition Avg Accuracy (%) Model Storage Size (M) Introduction
PP-LCNet_x1_0_textline_ori 98.85 0.96 Text line classification model based on PP-LCNet_x0_25, with two classes: 0 degrees and 180 degrees
The following image shows an example output after classification, with the text line identified as rotated 180 degrees: Example output of orientation classification showing a text line rotated 180 degrees The model is licensed under Apache 2.0. For further background on the OCR toolkit from which it originates, see the PaddleOCR repository.

best for

FAQ

What does this model do?

It classifies a text line image as either 0 degrees (upright) or 180 degrees (rotated) so that the orientation can be corrected before OCR.

What is the model accuracy?

It achieves 98.85% average recognition accuracy on text line orientation.

What license is the model released under?

Apache 2.0, as indicated in the PaddleOCR repository.

What input format does the model expect?

It accepts images of text lines, for example in PNG or JPEG format.

How can I call this model via the gigarouter API?

Use the OpenAI-compatible endpoint with your API key; refer to gigarouter documentation for details.

not yet live

We're benchmarking and onboarding PP-LCNet x1.0 Textline Orientation as a hosted, OpenAI-compatible API. Sign in for free credit and be ready when it lands, or tell us you want it and we'll prioritize it.

related image-to-text models

compare all →