English | 简体中文
PaddleOCR aims to create multilingual, awesome, leading, and practical OCR tools that help users train better models and apply them into practice.
Recent updates
English
, Chinese
, German
, French
, Japanese
and Korean
have been supported. Models for more languages will continue to be updated.The above pictures are the visualizations of the general ppocr_server model. For more effect pictures, please see More visualizations.
You can also quickly experience the ultra-lightweight OCR : Online Experience
Mobile DEMO experience (based on EasyEdge and Paddle-Lite, supports iOS and Android systems): Sign in to the website to obtain the QR code for installing the App
Also, you can scan the QR code below to install the App (Android support only)
Model introduction | Model name | Recommended scene | Detection model | Direction classifier | Recognition model |
---|---|---|---|---|---|
Chinese and English ultra-lightweight OCR model (8.1M) | ch_ppocr_mobile_v1.1_xx | Mobile & server | inference model / pre-trained model | inference model / pre-trained model | inference model / pre-trained model |
Chinese and English general OCR model (155.1M) | ch_ppocr_server_v1.1_xx | Server | inference model / pre-trained model | inference model / pre-trained model | inference model / pre-trained model |
Chinese and English ultra-lightweight compressed OCR model (3.5M) | ch_ppocr_mobile_slim_v1.1_xx | Mobile | inference model / slim model | inference model / slim model | inference model / slim model |
French ultra-lightweight OCR model (4.6M) | french_ppocr_mobile_v1.1_xx | Mobile & server | inference model / pre-trained model | - | inference model / pre-trained model |
German ultra-lightweight OCR model (4.6M) | german_ppocr_mobile_v1.1_xx | Mobile & server | inference model / pre-trained model | - | inference model / pre-trained model |
Korean ultra-lightweight OCR model (5.9M) | korean_ppocr_mobile_v1.1_xx | Mobile & server | inference model / pre-trained model | - | inference model / pre-trained model |
Japan ultra-lightweight OCR model (6.2M) | japan_ppocr_mobile_v1.1_xx | Mobile & server | inference model / pre-trained model | - | inference model / pre-trained model |
For more model downloads (including multiple languages), please refer to PP-OCR v1.1 series model downloads.
For a new language request, please refer to Guideline for new language_requests.
PP-OCR is a practical ultra-lightweight OCR system. It is mainly composed of three parts: DB text detection, detection frame correction and CRNN text recognition. The system adopts 19 effective strategies from 8 aspects including backbone network selection and adjustment, prediction head design, data augmentation, learning rate transformation strategy, regularization parameter selection, pre-training model use, and automatic model tailoring and quantization to optimize and slim down the models of each module. The final results are an ultra-lightweight Chinese and English OCR model with an overall size of 3.5M and a 2.8M English digital OCR model. For more details, please refer to the PP-OCR technical article (https://arxiv.org/abs/2009.09941). Besides, The implementation of the FPGM Pruner and PACT quantization is based on PaddleSlim.
If you want to request a new language support, a PR with 2 following files are needed:
In folder ppocr/utils/dict,
it is necessary to submit the dict text to this path and name it with {language}_dict.txt
that contains a list of all characters. Please see the format example from other files in that folder.
In folder ppocr/utils/corpus,
it is necessary to submit the corpus to this path and name it with {language}_corpus.txt
that contains a list of words in your language.
Maybe, 50000 words per language is necessary at least.
Of course, the more, the better.
If your language has unique elements, please tell me in advance within any way, such as useful links, wikipedia and so on.
More details, please refer to Multilingual OCR Development Plan.
This project is released under Apache 2.0 license
We welcome all the contributions to PaddleOCR and appreciate for your feedback very much.
Sign in for post a comment
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.
Comments ( 21 )