paddleocr 3.1.1__tar.gz → 3.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- paddleocr-3.2.0/CNAME +1 -0
- {paddleocr-3.1.1/paddleocr.egg-info → paddleocr-3.2.0}/PKG-INFO +111 -37
- {paddleocr-3.1.1 → paddleocr-3.2.0}/README.md +101 -35
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/__init__.py +5 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_cli.py +2 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_common_args.py +3 -13
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/__init__.py +2 -0
- paddleocr-3.2.0/paddleocr/_models/_doc_vlm.py +49 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/base.py +9 -3
- paddleocr-3.2.0/paddleocr/_models/chart_parsing.py +45 -0
- paddleocr-3.2.0/paddleocr/_models/doc_vlm.py +45 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/base.py +7 -1
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/ocr.py +22 -2
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/pp_doctranslation.py +6 -9
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/pp_structurev3.py +212 -19
- {paddleocr-3.1.1 → paddleocr-3.2.0/paddleocr.egg-info}/PKG-INFO +111 -37
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr.egg-info/SOURCES.txt +14 -8
- paddleocr-3.2.0/paddleocr.egg-info/requires.txt +15 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/label_ops.py +8 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/rec_img_aug.py +3 -3
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/unimernet_aug.py +10 -3
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/rec_postprocess.py +8 -0
- paddleocr-3.2.0/ppocr/utils/dict/ppocrv5_el_dict.txt +354 -0
- paddleocr-3.2.0/ppocr/utils/dict/ppocrv5_en_dict.txt +436 -0
- paddleocr-3.2.0/ppocr/utils/dict/ppocrv5_th_dict.txt +523 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/save_load.py +1 -1
- {paddleocr-3.1.1 → paddleocr-3.2.0}/pyproject.toml +7 -1
- {paddleocr-3.1.1 → paddleocr-3.2.0/readme}/README_ar.md +105 -16
- {paddleocr-3.1.1 → paddleocr-3.2.0/readme}/README_cn.md +103 -27
- {paddleocr-3.1.1 → paddleocr-3.2.0/readme}/README_es.md +50 -13
- {paddleocr-3.1.1 → paddleocr-3.2.0/readme}/README_fr.md +50 -13
- {paddleocr-3.1.1 → paddleocr-3.2.0/readme}/README_ja.md +54 -13
- {paddleocr-3.1.1 → paddleocr-3.2.0/readme}/README_ko.md +46 -10
- {paddleocr-3.1.1 → paddleocr-3.2.0/readme}/README_ru.md +50 -14
- {paddleocr-3.1.1 → paddleocr-3.2.0/readme}/README_tcn.md +51 -13
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer/predict_rec.py +6 -0
- paddleocr-3.1.1/paddleocr/_models/doc_vlm.py +0 -63
- paddleocr-3.1.1/paddleocr.egg-info/requires.txt +0 -3
- {paddleocr-3.1.1 → paddleocr-3.2.0}/LICENSE +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/MANIFEST.in +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/awesome_projects.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/mcp_server/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/mcp_server/README_en.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/mcp_server/paddleocr_mcp/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/mcp_server/paddleocr_mcp/__main__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/mcp_server/paddleocr_mcp/pipelines.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/mcp_server/paddleocr_mcp/py.typed +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/mcp_server/pyproject.toml +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/__main__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_abstract.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_constants.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_env.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/_image_classification.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/_object_detection.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/_text_detection.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/doc_img_orientation_classification.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/formula_recognition.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/layout_detection.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/seal_text_detection.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/table_cells_detection.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/table_classification.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/table_structure_recognition.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/text_detection.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/text_image_unwarping.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/text_recognition.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_models/textline_orientation_classification.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/doc_preprocessor.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/doc_understanding.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/formula_recognition.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/pp_chatocrv4_doc.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/seal_recognition.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/table_recognition_v2.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_pipelines/utils.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_utils/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_utils/cli.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_utils/deprecation.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_utils/logging.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr/_version.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr.egg-info/dependency_links.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr.egg-info/entry_points.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/paddleocr.egg-info/top_level.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/collate_fn.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/ColorJitter.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/abinet_aug.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/copy_paste.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/ct_process.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/drrg_targets.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/east_process.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/fce_aug.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/fce_targets.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/frost_img/frost1.jpg +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/frost_img/frost2.png +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/frost_img/frost3.png +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/frost_img/frost4.jpg +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/frost_img/frost5.jpg +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/frost_img/frost6.jpg +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/iaa_augment.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/latex_ocr_aug.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/make_border_map.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/make_pse_gt.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/make_shrink_map.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/operators.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/pg_process.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/randaugment.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/random_crop_data.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/sast_process.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/ssl_img_aug.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/table_ops.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/text_image_aug/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/text_image_aug/augment.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/text_image_aug/warp_mls.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/vqa/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/vqa/augment.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/vqa/token/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/vqa/token/vqa_re_convert.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/vqa/token/vqa_token_chunk.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/vqa/token/vqa_token_pad.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/imaug/vqa/token/vqa_token_relation.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/latexocr_dataset.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/lmdb_dataset.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/multi_scale_sampler.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/pgnet_dataset.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/pubtab_dataset.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/data/simple_dataset.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/cls_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/ct_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/db_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/drrg_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/east_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/fce_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/locality_aware_nms.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/pg_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/picodet_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/pse_postprocess/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/pse_postprocess/pse/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/pse_postprocess/pse/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/pse_postprocess/pse/pse.pyx +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/pse_postprocess/pse/setup.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/pse_postprocess/pse_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/sast_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/table_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/EN_symbol_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ar_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/arabic_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/be_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/bengali_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/bg_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/bm_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/bm_dict_add.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/bn_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/chinese_cht_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/confuse.pkl +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/cyrillic_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/devanagari_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/en_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/fa_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/french_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/german_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/gujarati_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/hebrew_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/hi_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/it_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/japan_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ka_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/kazakh_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/kie_dict/xfund_class_list.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/korean_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/latex_ocr_tokenizer.json +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/latex_symbol_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/latin_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/layout_dict/layout_cdla_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/layout_dict/layout_publaynet_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/layout_dict/layout_table_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/mr_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ne_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/oc_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/parseq_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ppocrv4_doc_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ppocrv5_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ppocrv5_eslav_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ppocrv5_korean_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ppocrv5_latin_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/pu_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/rs_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/rsc_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ru_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/samaritan_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/spin_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/syriac_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ta_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/table_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/table_master_structure_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/table_structure_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/table_structure_dict_ch.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/te_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/th_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ug_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/uk_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/unimernet_tokenizer/tokenizer.json +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/unimernet_tokenizer/tokenizer_config.json +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/ur_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/vi_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict/xi_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/dict90.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/e2e_metric/Deteval.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/e2e_metric/polygon_fast.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/e2e_utils/extract_batchsize.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/e2e_utils/extract_textpoint_fast.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/e2e_utils/extract_textpoint_slow.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/e2e_utils/pgnet_pp_utils.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/e2e_utils/visual.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/en_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/export_model.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/formula_utils/math_txt2pkl.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/formula_utils/unimernet_data_convert.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/gen_label.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/ic15_dict.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/iou.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/loggers/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/loggers/base_logger.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/loggers/loggers.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/loggers/wandb_logger.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/logging.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/network.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/poly_nms.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/ppocr_keys_v1.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/profiler.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/stats.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/utility.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppocr/utils/visual.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/README_ch.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/how_to_do_kie.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/how_to_do_kie_en.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/predict_kie_token_ser.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/predict_kie_token_ser_re.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/requirements.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/tools/eval_with_label_end2end.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/tools/trans_funsd_label.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/kie/tools/trans_xfun_data.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/layout/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/layout/README_ch.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/layout/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/layout/predict_layout.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/pdf2word/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/pdf2word/icons/chinese.png +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/pdf2word/icons/english.png +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/pdf2word/icons/folder-open.png +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/pdf2word/icons/folder-plus.png +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/pdf2word/pdf2word.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/predict_system.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/recovery/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/recovery/README_ch.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/recovery/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/recovery/recovery_to_doc.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/recovery/recovery_to_markdown.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/recovery/requirements.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/recovery/table_process.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/README.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/README_ch.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/convert_label2html.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/eval_table.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/matcher.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/predict_structure.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/predict_table.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/table_master_match.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/table_metric/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/table_metric/parallel.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/table_metric/table_metric.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/tablepyxl/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/tablepyxl/style.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/table/tablepyxl/tablepyxl.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/ppstructure/utility.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/requirements.txt +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/setup.cfg +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/setup.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/__init__.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/end2end/convert_ppocr_label.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/end2end/draw_html.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/end2end/eval_end2end.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/end2end/readme.md +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/eval.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/export_center.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/export_model.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer/predict_cls.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer/predict_det.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer/predict_e2e.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer/predict_sr.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer/predict_system.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer/utility.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_cls.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_det.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_e2e.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_kie.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_kie_token_ser.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_kie_token_ser_re.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_rec.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_sr.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/infer_table.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/naive_sync_bn.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/program.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/test_hubserving.py +0 -0
- {paddleocr-3.1.1 → paddleocr-3.2.0}/tools/train.py +0 -0
paddleocr-3.2.0/CNAME
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
www.paddleocr.ai
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: paddleocr
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2.0
|
|
4
4
|
Summary: Awesome multilingual OCR and document parsing toolkits based on PaddlePaddle
|
|
5
5
|
Author-email: PaddlePaddle <Paddle-better@baidu.com>
|
|
6
6
|
Maintainer-email: PaddlePaddle <Paddle-better@baidu.com>
|
|
@@ -18,57 +18,118 @@ Classifier: Topic :: Utilities
|
|
|
18
18
|
Requires-Python: >=3.8
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: paddlex[
|
|
21
|
+
Requires-Dist: paddlex[ocr-core]<3.3.0,>=3.2.0
|
|
22
22
|
Requires-Dist: PyYAML>=6
|
|
23
23
|
Requires-Dist: typing-extensions>=4.12
|
|
24
|
+
Provides-Extra: doc-parser
|
|
25
|
+
Requires-Dist: paddlex[ocr]<3.3.0,>=3.2.0; extra == "doc-parser"
|
|
26
|
+
Provides-Extra: ie
|
|
27
|
+
Requires-Dist: paddlex[ie]<3.3.0,>=3.2.0; extra == "ie"
|
|
28
|
+
Provides-Extra: trans
|
|
29
|
+
Requires-Dist: paddlex[trans]<3.3.0,>=3.2.0; extra == "trans"
|
|
30
|
+
Provides-Extra: all
|
|
31
|
+
Requires-Dist: paddlex[ie,ocr,trans]<3.3.0,>=3.2.0; extra == "all"
|
|
24
32
|
|
|
25
33
|
<div align="center">
|
|
26
34
|
<p>
|
|
27
35
|
<img width="100%" src="./docs/images/Banner.png" alt="PaddleOCR Banner">
|
|
28
36
|
</p>
|
|
29
37
|
|
|
30
|
-
|
|
31
|
-
English | [简体中文](./README_cn.md) | [繁體中文](./README_tcn.md) | [日本語](./README_ja.md) | [한국어](./README_ko.md) | [Français](./README_fr.md) | [Русский](./README_ru.md) | [Español](./README_es.md) | [العربية](./README_ar.md)
|
|
32
|
-
|
|
33
|
-
<!-- icon -->
|
|
38
|
+
English | [简体中文](./readme/README_cn.md) | [繁體中文](./readme/README_tcn.md) | [日本語](./readme/README_ja.md) | [한국어](./readme/README_ko.md) | [Français](./readme/README_fr.md) | [Русский](./readme/README_ru.md) | [Español](./readme/README_es.md) | [العربية](./readme/README_ar.md)
|
|
34
39
|
|
|
35
40
|
[](https://github.com/PaddlePaddle/PaddleOCR)
|
|
36
|
-
[](https://arxiv.org/abs/2507.05595)
|
|
42
|
+
[](https://pepy.tech/project/paddleocr)
|
|
43
|
+
[](https://pepy.tech/project/paddleocr)
|
|
44
|
+
[](https://github.com/PaddlePaddle/PaddleOCR/network/dependents)
|
|
45
|
+
|
|
46
|
+

|
|
38
47
|

|
|
39
48
|

|
|
49
|
+
[](./LICENSE)
|
|
50
|
+
[](https://deepwiki.com/PaddlePaddle/PaddleOCR)
|
|
40
51
|
|
|
41
52
|
|
|
42
|
-
|
|
43
|
-
[](https://aistudio.baidu.com/community/app/518494/webUI)
|
|
44
|
-
[](https://aistudio.baidu.com/community/app/518493/webUI)
|
|
53
|
+
**PaddleOCR is an industry-leading, production-ready OCR and document AI engine, offering end-to-end solutions from text extraction to intelligent document understanding**
|
|
45
54
|
|
|
46
55
|
</div>
|
|
47
56
|
|
|
48
|
-
|
|
49
|
-
|
|
57
|
+
# PaddleOCR
|
|
58
|
+
[](https://www.paddlepaddle.org.cn/en)
|
|
59
|
+
[](#)
|
|
60
|
+
[](#)
|
|
61
|
+
[](#)
|
|
62
|
+
[](#)
|
|
63
|
+
|
|
64
|
+
> [!TIP]
|
|
65
|
+
> PaddleOCR now provides an MCP server that supports integration with Agent applications like Claude Desktop. For details, please refer to [PaddleOCR MCP Server](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/mcp_server.html).
|
|
66
|
+
>
|
|
67
|
+
> The PaddleOCR 3.0 Technical Report is now available. See details at: [PaddleOCR 3.0 Technical Report](https://arxiv.org/abs/2507.05595)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
**PaddleOCR** converts documents and images into **structured, AI-friendly data** (like JSON and Markdown) with **industry-leading accuracy**—powering AI applications for everyone from indie developers and startups to large enterprises worldwide. With over **50,000 stars** and deep integration into leading projects like **MinerU, RAGFlow, and OmniParser**, PaddleOCR has become the **premier solution** for developers building intelligent document applications in the **AI era**.
|
|
71
|
+
|
|
72
|
+
### PaddleOCR 3.0 Core Features
|
|
50
73
|
|
|
51
|
-
|
|
74
|
+
[](https://aistudio.baidu.com/community/app/91660/webUI)
|
|
75
|
+
[](https://aistudio.baidu.com/community/app/518494/webUI)
|
|
76
|
+
[](https://aistudio.baidu.com/community/app/518493/webUI)
|
|
77
|
+
[](https://www.modelscope.cn/organization/PaddlePaddle)
|
|
78
|
+
[](https://huggingface.co/PaddlePaddle)
|
|
52
79
|
|
|
53
|
-
|
|
54
|
-
|
|
80
|
+
- **PP-OCRv5 — Universal Scene Text Recognition**
|
|
81
|
+
**Single model supports five text types** (Simplified Chinese, Traditional Chinese, English, Japanese, and Pinyin) with **13% accuracy improvement**. Solves multilingual mixed document recognition challenges.
|
|
55
82
|
|
|
56
|
-
-
|
|
83
|
+
- **PP-StructureV3 — Complex Document Parsing**
|
|
84
|
+
Intelligently converts complex PDFs and document images into **Markdown and JSON files that preserve original structure**. **Outperforms** numerous commercial solutions in public benchmarks. **Perfectly maintains document layout and hierarchical structure**.
|
|
57
85
|
|
|
58
|
-
-
|
|
86
|
+
- **PP-ChatOCRv4 — Intelligent Information Extraction**
|
|
87
|
+
Natively integrates ERNIE 4.5 to **precisely extract key information** from massive documents, with 15% accuracy improvement over previous generation. Makes documents "**understand**" your questions and provide accurate answers.
|
|
59
88
|
|
|
60
89
|
In addition to providing an outstanding model library, PaddleOCR 3.0 also offers user-friendly tools covering model training, inference, and service deployment, so developers can rapidly bring AI applications to production.
|
|
61
90
|
<div align="center">
|
|
62
91
|
<p>
|
|
63
|
-
<img width="100%" src="
|
|
92
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/Arch.jpg" alt="PaddleOCR Architecture">
|
|
64
93
|
</p>
|
|
65
94
|
</div>
|
|
66
95
|
|
|
67
|
-
|
|
96
|
+
**Special Note**: PaddleOCR 3.x introduces several significant interface changes. **Old code written based on PaddleOCR 2.x is likely incompatible with PaddleOCR 3.x**. Please ensure that the documentation you are reading matches the version of PaddleOCR you are using. [This document](https://paddlepaddle.github.io/PaddleOCR/latest/en/update/upgrade_notes.html) explains the reasons for the upgrade and the major changes from PaddleOCR 2.x to 3.x.
|
|
68
97
|
|
|
69
98
|
## 📣 Recent updates
|
|
70
99
|
|
|
71
|
-
|
|
100
|
+
### 🔥🔥2025.08.21: Release of PaddleOCR 3.2.0, includes:
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
- **Significant Model Additions:**
|
|
104
|
+
- Introduced training, inference, and deployment for PP-OCRv5 recognition models in English, Thai, and Greek. **The PP-OCRv5 English model delivers an 11% improvement in English scenarios compared to the main PP-OCRv5 model, with the Thai and Greek recognition models achieving accuracies of 82.68% and 89.28%, respectively.**
|
|
105
|
+
|
|
106
|
+
- **Deployment Capability Upgrades:**
|
|
107
|
+
- **Full support for PaddlePaddle framework versions 3.1.0 and 3.1.1.**
|
|
108
|
+
- **Comprehensive upgrade of the PP-OCRv5 C++ local deployment solution, now supporting both Linux and Windows, with feature parity and identical accuracy to the Python implementation.**
|
|
109
|
+
- **High-performance inference now supports CUDA 12, and inference can be performed using either the Paddle Inference or ONNX Runtime backends.**
|
|
110
|
+
- **The high-stability service-oriented deployment solution is now fully open-sourced, allowing users to customize Docker images and SDKs as required.**
|
|
111
|
+
- The high-stability service-oriented deployment solution also supports invocation via manually constructed HTTP requests, enabling client-side code development in any programming language.
|
|
112
|
+
|
|
113
|
+
- **Benchmark Support:**
|
|
114
|
+
- **All production lines now support fine-grained benchmarking, enabling measurement of end-to-end inference time as well as per-layer and per-module latency data to assist with performance analysis.**
|
|
115
|
+
- **Documentation has been updated to include key metrics for commonly used configurations on mainstream hardware, such as inference latency and memory usage, providing deployment references for users.**
|
|
116
|
+
|
|
117
|
+
- **Bug Fixes:**
|
|
118
|
+
- Resolved the issue of failed log saving during model training.
|
|
119
|
+
- Upgraded the data augmentation component for formula models for compatibility with newer versions of the albumentations dependency, and fixed deadlock warnings when using the tokenizers package in multi-process scenarios.
|
|
120
|
+
- Fixed inconsistencies in switch behaviors (e.g., `use_chart_parsing`) in the PP-StructureV3 configuration files compared to other pipelines.
|
|
121
|
+
|
|
122
|
+
- **Other Enhancements:**
|
|
123
|
+
- **Separated core and optional dependencies. Only minimal core dependencies are required for basic text recognition; additional dependencies for document parsing and information extraction can be installed as needed.**
|
|
124
|
+
- **Enabled support for NVIDIA RTX 50 series graphics cards on Windows; users can refer to the [installation guide](docs/version3.x/installation.en.md) for the corresponding PaddlePaddle framework versions.**
|
|
125
|
+
- **PP-OCR series models now support returning single-character coordinates.**
|
|
126
|
+
- Added AIStudio, ModelScope, and other model download sources, allowing users to specify the source for model downloads.
|
|
127
|
+
- Added support for chart-to-table conversion via the PP-Chart2Table module.
|
|
128
|
+
- Optimized documentation descriptions to improve usability.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<details>
|
|
132
|
+
<summary><strong>2025.08.15: PaddleOCR 3.1.1 Released</strong></summary>
|
|
72
133
|
|
|
73
134
|
- **Bug Fixes:**
|
|
74
135
|
- Added the missing methods `save_vector`, `save_visual_info_list`, `load_vector`, and `load_visual_info_list` in the `PP-ChatOCRv4` class.
|
|
@@ -83,8 +144,10 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
83
144
|
- Changed the MCP server dependency to use the pure Python library `puremagic` instead of `python-magic` to reduce installation issues.
|
|
84
145
|
- Retested PP-OCRv5 performance metrics with PaddleOCR version 3.1.0 and updated the documentation.
|
|
85
146
|
|
|
147
|
+
</details>
|
|
86
148
|
|
|
87
|
-
|
|
149
|
+
<details>
|
|
150
|
+
<summary><strong>2025.06.29: PaddleOCR 3.1.0 Released</strong></summary>
|
|
88
151
|
|
|
89
152
|
- **Key Models and Pipelines:**
|
|
90
153
|
- **Added PP-OCRv5 Multilingual Text Recognition Model**, which supports the training and inference process for text recognition models in 37 languages, including French, Spanish, Portuguese, Russian, Korean, etc. **Average accuracy improved by over 30%.** [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/algorithm/PP-OCRv5/PP-OCRv5_multi_languages.html)
|
|
@@ -99,12 +162,15 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
99
162
|
|
|
100
163
|
- **Documentation Optimization:** Improved the descriptions in some user guides for a smoother reading experience.
|
|
101
164
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
- Bug Fix: Resolved the issue where the `enable_mkldnn` parameter was not effective, restoring the default behavior of using MKL-DNN for CPU inference.
|
|
165
|
+
</details>
|
|
105
166
|
|
|
106
|
-
|
|
167
|
+
<details>
|
|
168
|
+
<summary><strong>2025.06.26: PaddleOCR 3.0.3 Released</strong></summary>
|
|
169
|
+
- Bug Fix: Resolved the issue where the `enable_mkldnn` parameter was not effective, restoring the default behavior of using MKL-DNN for CPU inference.
|
|
170
|
+
</details>
|
|
107
171
|
|
|
172
|
+
<details>
|
|
173
|
+
<summary><strong>2025.06.19: PaddleOCR 3.0.2 Released</strong></summary>
|
|
108
174
|
- **New Features:**
|
|
109
175
|
|
|
110
176
|
- The default download source has been changed from `BOS` to `HuggingFace`. Users can also change the environment variable `PADDLE_PDX_MODEL_SOURCE` to `BOS` to set the model download source back to Baidu Object Storage (BOS).
|
|
@@ -117,7 +183,6 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
117
183
|
- Added Android example for PP-OCRv5. [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/on_device_deployment.html).
|
|
118
184
|
|
|
119
185
|
- **Bug Fixes:**
|
|
120
|
-
|
|
121
186
|
- Fixed an issue with some CLI parameters in PP-StructureV3 not taking effect.
|
|
122
187
|
- Resolved an issue where `export_paddlex_config_to_yaml` would not function correctly in certain cases.
|
|
123
188
|
- Corrected the discrepancy between the actual behavior of `save_path` and its documentation description.
|
|
@@ -128,27 +193,26 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
128
193
|
- Fixed an overflow issue in the calculation of `overlap_ratio` under extremely special circumstances in the PP-StructureV3 pipeline.
|
|
129
194
|
|
|
130
195
|
- **Documentation Improvements:**
|
|
131
|
-
|
|
132
196
|
- Updated the description of the `enable_mkldnn` parameter in the documentation to accurately reflect the program's actual behavior.
|
|
133
197
|
- Fixed errors in the documentation regarding the `lang` and `ocr_version` parameters.
|
|
134
|
-
- Added instructions for exporting
|
|
198
|
+
- Added instructions for exporting pipeline configuration files via CLI.
|
|
135
199
|
- Fixed missing columns in the performance data table for PP-OCRv5.
|
|
136
200
|
- Refined benchmark metrics for PP-StructureV3 across different configurations.
|
|
137
201
|
|
|
138
202
|
- **Others:**
|
|
139
203
|
|
|
140
204
|
- Relaxed version restrictions on dependencies like numpy and pandas, restoring support for Python 3.12.
|
|
205
|
+
</details>
|
|
141
206
|
|
|
142
207
|
<details>
|
|
143
208
|
<summary><strong>History Log</strong></summary>
|
|
144
209
|
|
|
145
|
-
|
|
210
|
+
2025.06.05: **PaddleOCR 3.0.1 Released**, includes:
|
|
146
211
|
|
|
147
212
|
- **Optimisation of certain models and model configurations:**
|
|
148
213
|
- Updated the default model configuration for PP-OCRv5, changing both detection and recognition from mobile to server models. To improve default performance in most scenarios, the parameter `limit_side_len` in the configuration has been changed from 736 to 64.
|
|
149
214
|
- Added a new text line orientation classification model `PP-LCNet_x1_0_textline_ori` with an accuracy of 99.42%. The default text line orientation classifier for OCR, PP-StructureV3, and PP-ChatOCRv4 pipelines has been updated to this model.
|
|
150
|
-
-
|
|
151
|
-
|
|
215
|
+
- Optimized the text line orientation classification model `PP-LCNet_x0_25_textline_ori`, improving accuracy by 3.3 percentage points to a current accuracy of 98.85%.
|
|
152
216
|
- **Optimizations and fixes for some issues in version 3.0.0, [details](https://paddlepaddle.github.io/PaddleOCR/latest/en/update/update.html)**
|
|
153
217
|
|
|
154
218
|
🔥🔥2025.05.20: Official Release of **PaddleOCR v3.0**, including:
|
|
@@ -325,6 +389,13 @@ print(chat_result)
|
|
|
325
389
|
- [Huawei Ascend](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_NPU.html)
|
|
326
390
|
- [KUNLUNXIN](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_XPU.html)
|
|
327
391
|
|
|
392
|
+
## More Features
|
|
393
|
+
|
|
394
|
+
- Convert models to ONNX format: [Obtaining ONNX Models](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/obtaining_onnx_models.html).
|
|
395
|
+
- Accelerate inference using engines like OpenVINO, ONNX Runtime, TensorRT, or perform inference using ONNX format models: [High-Performance Inference](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/high_performance_inference.html).
|
|
396
|
+
- Accelerate inference using multi-GPU and multi-process: [Parallel Inference for Pipelines](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/pipeline_usage/instructions/parallel_inference.html).
|
|
397
|
+
- Integrate PaddleOCR into applications written in C++, C#, Java, etc.: [Serving](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/serving.html).
|
|
398
|
+
|
|
328
399
|
## ⛰️ Advanced Tutorials
|
|
329
400
|
- [PP-OCRv5 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/OCR.html)
|
|
330
401
|
- [PP-StructureV3 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-StructureV3.html)
|
|
@@ -383,10 +454,13 @@ This project is released under the [Apache 2.0 license](LICENSE).
|
|
|
383
454
|
## 🎓 Citation
|
|
384
455
|
|
|
385
456
|
```
|
|
386
|
-
@misc{
|
|
387
|
-
title={PaddleOCR
|
|
388
|
-
author={
|
|
389
|
-
|
|
390
|
-
|
|
457
|
+
@misc{cui2025paddleocr30technicalreport,
|
|
458
|
+
title={PaddleOCR 3.0 Technical Report},
|
|
459
|
+
author={Cheng Cui and Ting Sun and Manhui Lin and Tingquan Gao and Yubo Zhang and Jiaxuan Liu and Xueqing Wang and Zelun Zhang and Changda Zhou and Hongen Liu and Yue Zhang and Wenyu Lv and Kui Huang and Yichao Zhang and Jing Zhang and Jun Zhang and Yi Liu and Dianhai Yu and Yanjun Ma},
|
|
460
|
+
year={2025},
|
|
461
|
+
eprint={2507.05595},
|
|
462
|
+
archivePrefix={arXiv},
|
|
463
|
+
primaryClass={cs.CV},
|
|
464
|
+
url={https://arxiv.org/abs/2507.05595},
|
|
391
465
|
}
|
|
392
466
|
```
|
|
@@ -3,48 +3,101 @@
|
|
|
3
3
|
<img width="100%" src="./docs/images/Banner.png" alt="PaddleOCR Banner">
|
|
4
4
|
</p>
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
English | [简体中文](./README_cn.md) | [繁體中文](./README_tcn.md) | [日本語](./README_ja.md) | [한국어](./README_ko.md) | [Français](./README_fr.md) | [Русский](./README_ru.md) | [Español](./README_es.md) | [العربية](./README_ar.md)
|
|
8
|
-
|
|
9
|
-
<!-- icon -->
|
|
6
|
+
English | [简体中文](./readme/README_cn.md) | [繁體中文](./readme/README_tcn.md) | [日本語](./readme/README_ja.md) | [한국어](./readme/README_ko.md) | [Français](./readme/README_fr.md) | [Русский](./readme/README_ru.md) | [Español](./readme/README_es.md) | [العربية](./readme/README_ar.md)
|
|
10
7
|
|
|
11
8
|
[](https://github.com/PaddlePaddle/PaddleOCR)
|
|
12
|
-
[](https://arxiv.org/abs/2507.05595)
|
|
10
|
+
[](https://pepy.tech/project/paddleocr)
|
|
11
|
+
[](https://pepy.tech/project/paddleocr)
|
|
12
|
+
[](https://github.com/PaddlePaddle/PaddleOCR/network/dependents)
|
|
13
|
+
|
|
14
|
+

|
|
14
15
|

|
|
15
16
|

|
|
17
|
+
[](./LICENSE)
|
|
18
|
+
[](https://deepwiki.com/PaddlePaddle/PaddleOCR)
|
|
16
19
|
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
[](https://aistudio.baidu.com/community/app/518494/webUI)
|
|
20
|
-
[](https://aistudio.baidu.com/community/app/518493/webUI)
|
|
21
|
+
**PaddleOCR is an industry-leading, production-ready OCR and document AI engine, offering end-to-end solutions from text extraction to intelligent document understanding**
|
|
21
22
|
|
|
22
23
|
</div>
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
# PaddleOCR
|
|
26
|
+
[](https://www.paddlepaddle.org.cn/en)
|
|
27
|
+
[](#)
|
|
28
|
+
[](#)
|
|
29
|
+
[](#)
|
|
30
|
+
[](#)
|
|
31
|
+
|
|
32
|
+
> [!TIP]
|
|
33
|
+
> PaddleOCR now provides an MCP server that supports integration with Agent applications like Claude Desktop. For details, please refer to [PaddleOCR MCP Server](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/mcp_server.html).
|
|
34
|
+
>
|
|
35
|
+
> The PaddleOCR 3.0 Technical Report is now available. See details at: [PaddleOCR 3.0 Technical Report](https://arxiv.org/abs/2507.05595)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
**PaddleOCR** converts documents and images into **structured, AI-friendly data** (like JSON and Markdown) with **industry-leading accuracy**—powering AI applications for everyone from indie developers and startups to large enterprises worldwide. With over **50,000 stars** and deep integration into leading projects like **MinerU, RAGFlow, and OmniParser**, PaddleOCR has become the **premier solution** for developers building intelligent document applications in the **AI era**.
|
|
39
|
+
|
|
40
|
+
### PaddleOCR 3.0 Core Features
|
|
26
41
|
|
|
27
|
-
|
|
42
|
+
[](https://aistudio.baidu.com/community/app/91660/webUI)
|
|
43
|
+
[](https://aistudio.baidu.com/community/app/518494/webUI)
|
|
44
|
+
[](https://aistudio.baidu.com/community/app/518493/webUI)
|
|
45
|
+
[](https://www.modelscope.cn/organization/PaddlePaddle)
|
|
46
|
+
[](https://huggingface.co/PaddlePaddle)
|
|
28
47
|
|
|
29
|
-
|
|
30
|
-
|
|
48
|
+
- **PP-OCRv5 — Universal Scene Text Recognition**
|
|
49
|
+
**Single model supports five text types** (Simplified Chinese, Traditional Chinese, English, Japanese, and Pinyin) with **13% accuracy improvement**. Solves multilingual mixed document recognition challenges.
|
|
31
50
|
|
|
32
|
-
-
|
|
51
|
+
- **PP-StructureV3 — Complex Document Parsing**
|
|
52
|
+
Intelligently converts complex PDFs and document images into **Markdown and JSON files that preserve original structure**. **Outperforms** numerous commercial solutions in public benchmarks. **Perfectly maintains document layout and hierarchical structure**.
|
|
33
53
|
|
|
34
|
-
-
|
|
54
|
+
- **PP-ChatOCRv4 — Intelligent Information Extraction**
|
|
55
|
+
Natively integrates ERNIE 4.5 to **precisely extract key information** from massive documents, with 15% accuracy improvement over previous generation. Makes documents "**understand**" your questions and provide accurate answers.
|
|
35
56
|
|
|
36
57
|
In addition to providing an outstanding model library, PaddleOCR 3.0 also offers user-friendly tools covering model training, inference, and service deployment, so developers can rapidly bring AI applications to production.
|
|
37
58
|
<div align="center">
|
|
38
59
|
<p>
|
|
39
|
-
<img width="100%" src="
|
|
60
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/Arch.jpg" alt="PaddleOCR Architecture">
|
|
40
61
|
</p>
|
|
41
62
|
</div>
|
|
42
63
|
|
|
43
|
-
|
|
64
|
+
**Special Note**: PaddleOCR 3.x introduces several significant interface changes. **Old code written based on PaddleOCR 2.x is likely incompatible with PaddleOCR 3.x**. Please ensure that the documentation you are reading matches the version of PaddleOCR you are using. [This document](https://paddlepaddle.github.io/PaddleOCR/latest/en/update/upgrade_notes.html) explains the reasons for the upgrade and the major changes from PaddleOCR 2.x to 3.x.
|
|
44
65
|
|
|
45
66
|
## 📣 Recent updates
|
|
46
67
|
|
|
47
|
-
|
|
68
|
+
### 🔥🔥2025.08.21: Release of PaddleOCR 3.2.0, includes:
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **Significant Model Additions:**
|
|
72
|
+
- Introduced training, inference, and deployment for PP-OCRv5 recognition models in English, Thai, and Greek. **The PP-OCRv5 English model delivers an 11% improvement in English scenarios compared to the main PP-OCRv5 model, with the Thai and Greek recognition models achieving accuracies of 82.68% and 89.28%, respectively.**
|
|
73
|
+
|
|
74
|
+
- **Deployment Capability Upgrades:**
|
|
75
|
+
- **Full support for PaddlePaddle framework versions 3.1.0 and 3.1.1.**
|
|
76
|
+
- **Comprehensive upgrade of the PP-OCRv5 C++ local deployment solution, now supporting both Linux and Windows, with feature parity and identical accuracy to the Python implementation.**
|
|
77
|
+
- **High-performance inference now supports CUDA 12, and inference can be performed using either the Paddle Inference or ONNX Runtime backends.**
|
|
78
|
+
- **The high-stability service-oriented deployment solution is now fully open-sourced, allowing users to customize Docker images and SDKs as required.**
|
|
79
|
+
- The high-stability service-oriented deployment solution also supports invocation via manually constructed HTTP requests, enabling client-side code development in any programming language.
|
|
80
|
+
|
|
81
|
+
- **Benchmark Support:**
|
|
82
|
+
- **All production lines now support fine-grained benchmarking, enabling measurement of end-to-end inference time as well as per-layer and per-module latency data to assist with performance analysis.**
|
|
83
|
+
- **Documentation has been updated to include key metrics for commonly used configurations on mainstream hardware, such as inference latency and memory usage, providing deployment references for users.**
|
|
84
|
+
|
|
85
|
+
- **Bug Fixes:**
|
|
86
|
+
- Resolved the issue of failed log saving during model training.
|
|
87
|
+
- Upgraded the data augmentation component for formula models for compatibility with newer versions of the albumentations dependency, and fixed deadlock warnings when using the tokenizers package in multi-process scenarios.
|
|
88
|
+
- Fixed inconsistencies in switch behaviors (e.g., `use_chart_parsing`) in the PP-StructureV3 configuration files compared to other pipelines.
|
|
89
|
+
|
|
90
|
+
- **Other Enhancements:**
|
|
91
|
+
- **Separated core and optional dependencies. Only minimal core dependencies are required for basic text recognition; additional dependencies for document parsing and information extraction can be installed as needed.**
|
|
92
|
+
- **Enabled support for NVIDIA RTX 50 series graphics cards on Windows; users can refer to the [installation guide](docs/version3.x/installation.en.md) for the corresponding PaddlePaddle framework versions.**
|
|
93
|
+
- **PP-OCR series models now support returning single-character coordinates.**
|
|
94
|
+
- Added AIStudio, ModelScope, and other model download sources, allowing users to specify the source for model downloads.
|
|
95
|
+
- Added support for chart-to-table conversion via the PP-Chart2Table module.
|
|
96
|
+
- Optimized documentation descriptions to improve usability.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<details>
|
|
100
|
+
<summary><strong>2025.08.15: PaddleOCR 3.1.1 Released</strong></summary>
|
|
48
101
|
|
|
49
102
|
- **Bug Fixes:**
|
|
50
103
|
- Added the missing methods `save_vector`, `save_visual_info_list`, `load_vector`, and `load_visual_info_list` in the `PP-ChatOCRv4` class.
|
|
@@ -59,8 +112,10 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
59
112
|
- Changed the MCP server dependency to use the pure Python library `puremagic` instead of `python-magic` to reduce installation issues.
|
|
60
113
|
- Retested PP-OCRv5 performance metrics with PaddleOCR version 3.1.0 and updated the documentation.
|
|
61
114
|
|
|
115
|
+
</details>
|
|
62
116
|
|
|
63
|
-
|
|
117
|
+
<details>
|
|
118
|
+
<summary><strong>2025.06.29: PaddleOCR 3.1.0 Released</strong></summary>
|
|
64
119
|
|
|
65
120
|
- **Key Models and Pipelines:**
|
|
66
121
|
- **Added PP-OCRv5 Multilingual Text Recognition Model**, which supports the training and inference process for text recognition models in 37 languages, including French, Spanish, Portuguese, Russian, Korean, etc. **Average accuracy improved by over 30%.** [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/algorithm/PP-OCRv5/PP-OCRv5_multi_languages.html)
|
|
@@ -75,12 +130,15 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
75
130
|
|
|
76
131
|
- **Documentation Optimization:** Improved the descriptions in some user guides for a smoother reading experience.
|
|
77
132
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
- Bug Fix: Resolved the issue where the `enable_mkldnn` parameter was not effective, restoring the default behavior of using MKL-DNN for CPU inference.
|
|
133
|
+
</details>
|
|
81
134
|
|
|
82
|
-
|
|
135
|
+
<details>
|
|
136
|
+
<summary><strong>2025.06.26: PaddleOCR 3.0.3 Released</strong></summary>
|
|
137
|
+
- Bug Fix: Resolved the issue where the `enable_mkldnn` parameter was not effective, restoring the default behavior of using MKL-DNN for CPU inference.
|
|
138
|
+
</details>
|
|
83
139
|
|
|
140
|
+
<details>
|
|
141
|
+
<summary><strong>2025.06.19: PaddleOCR 3.0.2 Released</strong></summary>
|
|
84
142
|
- **New Features:**
|
|
85
143
|
|
|
86
144
|
- The default download source has been changed from `BOS` to `HuggingFace`. Users can also change the environment variable `PADDLE_PDX_MODEL_SOURCE` to `BOS` to set the model download source back to Baidu Object Storage (BOS).
|
|
@@ -93,7 +151,6 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
93
151
|
- Added Android example for PP-OCRv5. [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/on_device_deployment.html).
|
|
94
152
|
|
|
95
153
|
- **Bug Fixes:**
|
|
96
|
-
|
|
97
154
|
- Fixed an issue with some CLI parameters in PP-StructureV3 not taking effect.
|
|
98
155
|
- Resolved an issue where `export_paddlex_config_to_yaml` would not function correctly in certain cases.
|
|
99
156
|
- Corrected the discrepancy between the actual behavior of `save_path` and its documentation description.
|
|
@@ -104,27 +161,26 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
104
161
|
- Fixed an overflow issue in the calculation of `overlap_ratio` under extremely special circumstances in the PP-StructureV3 pipeline.
|
|
105
162
|
|
|
106
163
|
- **Documentation Improvements:**
|
|
107
|
-
|
|
108
164
|
- Updated the description of the `enable_mkldnn` parameter in the documentation to accurately reflect the program's actual behavior.
|
|
109
165
|
- Fixed errors in the documentation regarding the `lang` and `ocr_version` parameters.
|
|
110
|
-
- Added instructions for exporting
|
|
166
|
+
- Added instructions for exporting pipeline configuration files via CLI.
|
|
111
167
|
- Fixed missing columns in the performance data table for PP-OCRv5.
|
|
112
168
|
- Refined benchmark metrics for PP-StructureV3 across different configurations.
|
|
113
169
|
|
|
114
170
|
- **Others:**
|
|
115
171
|
|
|
116
172
|
- Relaxed version restrictions on dependencies like numpy and pandas, restoring support for Python 3.12.
|
|
173
|
+
</details>
|
|
117
174
|
|
|
118
175
|
<details>
|
|
119
176
|
<summary><strong>History Log</strong></summary>
|
|
120
177
|
|
|
121
|
-
|
|
178
|
+
2025.06.05: **PaddleOCR 3.0.1 Released**, includes:
|
|
122
179
|
|
|
123
180
|
- **Optimisation of certain models and model configurations:**
|
|
124
181
|
- Updated the default model configuration for PP-OCRv5, changing both detection and recognition from mobile to server models. To improve default performance in most scenarios, the parameter `limit_side_len` in the configuration has been changed from 736 to 64.
|
|
125
182
|
- Added a new text line orientation classification model `PP-LCNet_x1_0_textline_ori` with an accuracy of 99.42%. The default text line orientation classifier for OCR, PP-StructureV3, and PP-ChatOCRv4 pipelines has been updated to this model.
|
|
126
|
-
-
|
|
127
|
-
|
|
183
|
+
- Optimized the text line orientation classification model `PP-LCNet_x0_25_textline_ori`, improving accuracy by 3.3 percentage points to a current accuracy of 98.85%.
|
|
128
184
|
- **Optimizations and fixes for some issues in version 3.0.0, [details](https://paddlepaddle.github.io/PaddleOCR/latest/en/update/update.html)**
|
|
129
185
|
|
|
130
186
|
🔥🔥2025.05.20: Official Release of **PaddleOCR v3.0**, including:
|
|
@@ -301,6 +357,13 @@ print(chat_result)
|
|
|
301
357
|
- [Huawei Ascend](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_NPU.html)
|
|
302
358
|
- [KUNLUNXIN](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_XPU.html)
|
|
303
359
|
|
|
360
|
+
## More Features
|
|
361
|
+
|
|
362
|
+
- Convert models to ONNX format: [Obtaining ONNX Models](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/obtaining_onnx_models.html).
|
|
363
|
+
- Accelerate inference using engines like OpenVINO, ONNX Runtime, TensorRT, or perform inference using ONNX format models: [High-Performance Inference](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/high_performance_inference.html).
|
|
364
|
+
- Accelerate inference using multi-GPU and multi-process: [Parallel Inference for Pipelines](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/pipeline_usage/instructions/parallel_inference.html).
|
|
365
|
+
- Integrate PaddleOCR into applications written in C++, C#, Java, etc.: [Serving](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/serving.html).
|
|
366
|
+
|
|
304
367
|
## ⛰️ Advanced Tutorials
|
|
305
368
|
- [PP-OCRv5 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/OCR.html)
|
|
306
369
|
- [PP-StructureV3 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-StructureV3.html)
|
|
@@ -359,10 +422,13 @@ This project is released under the [Apache 2.0 license](LICENSE).
|
|
|
359
422
|
## 🎓 Citation
|
|
360
423
|
|
|
361
424
|
```
|
|
362
|
-
@misc{
|
|
363
|
-
title={PaddleOCR
|
|
364
|
-
author={
|
|
365
|
-
|
|
366
|
-
|
|
425
|
+
@misc{cui2025paddleocr30technicalreport,
|
|
426
|
+
title={PaddleOCR 3.0 Technical Report},
|
|
427
|
+
author={Cheng Cui and Ting Sun and Manhui Lin and Tingquan Gao and Yubo Zhang and Jiaxuan Liu and Xueqing Wang and Zelun Zhang and Changda Zhou and Hongen Liu and Yue Zhang and Wenyu Lv and Kui Huang and Yichao Zhang and Jing Zhang and Jun Zhang and Yi Liu and Dianhai Yu and Yanjun Ma},
|
|
428
|
+
year={2025},
|
|
429
|
+
eprint={2507.05595},
|
|
430
|
+
archivePrefix={arXiv},
|
|
431
|
+
primaryClass={cs.CV},
|
|
432
|
+
url={https://arxiv.org/abs/2507.05595},
|
|
367
433
|
}
|
|
368
434
|
```
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
+
from paddlex.inference.utils.benchmark import benchmark
|
|
16
|
+
|
|
15
17
|
from ._models import (
|
|
18
|
+
ChartParsing,
|
|
16
19
|
DocImgOrientationClassification,
|
|
17
20
|
DocVLM,
|
|
18
21
|
FormulaRecognition,
|
|
@@ -41,6 +44,8 @@ from ._utils.logging import logger
|
|
|
41
44
|
from ._version import version as __version__
|
|
42
45
|
|
|
43
46
|
__all__ = [
|
|
47
|
+
"benchmark",
|
|
48
|
+
"ChartParsing",
|
|
44
49
|
"DocImgOrientationClassification",
|
|
45
50
|
"DocVLM",
|
|
46
51
|
"FormulaRecognition",
|
|
@@ -19,6 +19,7 @@ import sys
|
|
|
19
19
|
import warnings
|
|
20
20
|
|
|
21
21
|
from ._models import (
|
|
22
|
+
ChartParsing,
|
|
22
23
|
DocImgOrientationClassification,
|
|
23
24
|
DocVLM,
|
|
24
25
|
FormulaRecognition,
|
|
@@ -67,6 +68,7 @@ def _register_pipelines(subparsers):
|
|
|
67
68
|
|
|
68
69
|
def _register_models(subparsers):
|
|
69
70
|
for cls in [
|
|
71
|
+
ChartParsing,
|
|
70
72
|
DocImgOrientationClassification,
|
|
71
73
|
DocVLM,
|
|
72
74
|
FormulaRecognition,
|
|
@@ -59,22 +59,13 @@ def prepare_common_init_args(model_name, common_args):
|
|
|
59
59
|
device = common_args["device"]
|
|
60
60
|
if device is None:
|
|
61
61
|
device = get_default_device()
|
|
62
|
-
device_type,
|
|
63
|
-
if device_ids is not None:
|
|
64
|
-
device_id = device_ids[0]
|
|
65
|
-
else:
|
|
66
|
-
device_id = None
|
|
62
|
+
device_type, _ = parse_device(device)
|
|
67
63
|
|
|
68
64
|
init_kwargs = {}
|
|
65
|
+
init_kwargs["device"] = device
|
|
69
66
|
init_kwargs["use_hpip"] = common_args["enable_hpi"]
|
|
70
|
-
init_kwargs["hpi_config"] = {
|
|
71
|
-
"device_type": device_type,
|
|
72
|
-
"device_id": device_id,
|
|
73
|
-
}
|
|
74
67
|
|
|
75
|
-
pp_option = PaddlePredictorOption(
|
|
76
|
-
model_name, device_type=device_type, device_id=device_id
|
|
77
|
-
)
|
|
68
|
+
pp_option = PaddlePredictorOption()
|
|
78
69
|
if device_type == "gpu":
|
|
79
70
|
if common_args["use_pptrt"]:
|
|
80
71
|
if common_args["pptrt_precision"] == "fp32":
|
|
@@ -89,7 +80,6 @@ def prepare_common_init_args(model_name, common_args):
|
|
|
89
80
|
elif device_type == "cpu":
|
|
90
81
|
enable_mkldnn = common_args["enable_mkldnn"]
|
|
91
82
|
if enable_mkldnn:
|
|
92
|
-
pp_option.run_mode = "mkldnn"
|
|
93
83
|
pp_option.mkldnn_cache_capacity = common_args["mkldnn_cache_capacity"]
|
|
94
84
|
else:
|
|
95
85
|
pp_option.run_mode = "paddle"
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
+
from .chart_parsing import ChartParsing
|
|
15
16
|
from .doc_img_orientation_classification import DocImgOrientationClassification
|
|
16
17
|
from .doc_vlm import DocVLM
|
|
17
18
|
from .formula_recognition import FormulaRecognition
|
|
@@ -26,6 +27,7 @@ from .textline_orientation_classification import TextLineOrientationClassificati
|
|
|
26
27
|
from .text_recognition import TextRecognition
|
|
27
28
|
|
|
28
29
|
__all__ = [
|
|
30
|
+
"ChartParsing",
|
|
29
31
|
"DocImgOrientationClassification",
|
|
30
32
|
"DocVLM",
|
|
31
33
|
"FormulaRecognition",
|