paddleocr 3.2.0__tar.gz → 3.3.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.3.0/.lycheeignore +5 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/PKG-INFO +88 -18
- paddleocr-3.2.0/paddleocr.egg-info/PKG-INFO → paddleocr-3.3.0/README.md +78 -41
- {paddleocr-3.2.0 → paddleocr-3.3.0}/awesome_projects.md +1 -1
- {paddleocr-3.2.0 → paddleocr-3.3.0}/mcp_server/paddleocr_mcp/__main__.py +15 -12
- {paddleocr-3.2.0 → paddleocr-3.3.0}/mcp_server/pyproject.toml +11 -1
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/__init__.py +2 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_cli.py +64 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/base.py +3 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/__init__.py +2 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/base.py +3 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/ocr.py +48 -7
- paddleocr-3.3.0/paddleocr/_pipelines/paddleocr_vl.py +375 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/pp_structurev3.py +5 -5
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_utils/cli.py +10 -7
- paddleocr-3.2.0/README.md → paddleocr-3.3.0/paddleocr.egg-info/PKG-INFO +111 -9
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr.egg-info/SOURCES.txt +7 -0
- paddleocr-3.3.0/paddleocr.egg-info/requires.txt +16 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/operators.py +11 -3
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/simple_dataset.py +4 -4
- paddleocr-3.3.0/ppocr/utils/dict/ppocrv5_arabic_dict.txt +747 -0
- paddleocr-3.3.0/ppocr/utils/dict/ppocrv5_cyrillic_dict.txt +850 -0
- paddleocr-3.3.0/ppocr/utils/dict/ppocrv5_devanagari_dict.txt +568 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ppocrv5_el_dict.txt +1 -1
- paddleocr-3.3.0/ppocr/utils/dict/ppocrv5_latin_dict.txt +836 -0
- paddleocr-3.2.0/ppocr/utils/dict/ppocrv5_latin_dict.txt → paddleocr-3.3.0/ppocr/utils/dict/ppocrv5_ta_dict.txt +310 -299
- paddleocr-3.3.0/ppocr/utils/dict/ppocrv5_te_dict.txt +540 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ppocrv5_th_dict.txt +2 -1
- paddleocr-3.3.0/ppstructure/README.md +16 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/pyproject.toml +16 -15
- {paddleocr-3.2.0 → paddleocr-3.3.0}/readme/README_ar.md +24 -3
- {paddleocr-3.2.0 → paddleocr-3.3.0}/readme/README_cn.md +79 -10
- {paddleocr-3.2.0 → paddleocr-3.3.0}/readme/README_es.md +59 -4
- {paddleocr-3.2.0 → paddleocr-3.3.0}/readme/README_fr.md +60 -4
- {paddleocr-3.2.0 → paddleocr-3.3.0}/readme/README_ja.md +60 -4
- {paddleocr-3.2.0 → paddleocr-3.3.0}/readme/README_ko.md +60 -4
- {paddleocr-3.2.0 → paddleocr-3.3.0}/readme/README_ru.md +60 -4
- {paddleocr-3.2.0 → paddleocr-3.3.0}/readme/README_tcn.md +72 -7
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer/predict_cls.py +4 -1
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer/predict_rec.py +13 -2
- paddleocr-3.2.0/paddleocr.egg-info/requires.txt +0 -15
- paddleocr-3.2.0/ppstructure/README.md +0 -3
- {paddleocr-3.2.0 → paddleocr-3.3.0}/CNAME +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/LICENSE +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/MANIFEST.in +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/mcp_server/README.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/mcp_server/README_en.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/mcp_server/paddleocr_mcp/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/mcp_server/paddleocr_mcp/pipelines.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/mcp_server/paddleocr_mcp/py.typed +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/__main__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_abstract.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_common_args.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_constants.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_env.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/_doc_vlm.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/_image_classification.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/_object_detection.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/_text_detection.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/chart_parsing.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/doc_img_orientation_classification.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/doc_vlm.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/formula_recognition.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/layout_detection.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/seal_text_detection.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/table_cells_detection.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/table_classification.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/table_structure_recognition.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/text_detection.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/text_image_unwarping.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/text_recognition.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_models/textline_orientation_classification.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/doc_preprocessor.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/doc_understanding.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/formula_recognition.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/pp_chatocrv4_doc.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/pp_doctranslation.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/seal_recognition.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/table_recognition_v2.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_pipelines/utils.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_utils/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_utils/deprecation.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_utils/logging.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr/_version.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr.egg-info/dependency_links.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr.egg-info/entry_points.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/paddleocr.egg-info/top_level.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/collate_fn.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/ColorJitter.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/abinet_aug.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/copy_paste.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/ct_process.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/drrg_targets.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/east_process.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/fce_aug.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/fce_targets.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/frost_img/frost1.jpg +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/frost_img/frost2.png +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/frost_img/frost3.png +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/frost_img/frost4.jpg +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/frost_img/frost5.jpg +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/frost_img/frost6.jpg +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/iaa_augment.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/label_ops.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/latex_ocr_aug.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/make_border_map.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/make_pse_gt.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/make_shrink_map.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/pg_process.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/randaugment.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/random_crop_data.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/rec_img_aug.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/sast_process.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/ssl_img_aug.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/table_ops.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/text_image_aug/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/text_image_aug/augment.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/text_image_aug/warp_mls.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/unimernet_aug.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/vqa/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/vqa/augment.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/vqa/token/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/vqa/token/vqa_re_convert.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/vqa/token/vqa_token_chunk.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/vqa/token/vqa_token_pad.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/imaug/vqa/token/vqa_token_relation.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/latexocr_dataset.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/lmdb_dataset.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/multi_scale_sampler.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/pgnet_dataset.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/data/pubtab_dataset.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/cls_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/ct_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/db_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/drrg_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/east_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/fce_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/locality_aware_nms.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/pg_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/picodet_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/pse_postprocess/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/pse_postprocess/pse/README.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/pse_postprocess/pse/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/pse_postprocess/pse/pse.pyx +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/pse_postprocess/pse/setup.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/pse_postprocess/pse_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/rec_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/sast_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/table_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/EN_symbol_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/README.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ar_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/arabic_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/be_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/bengali_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/bg_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/bm_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/bm_dict_add.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/bn_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/chinese_cht_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/confuse.pkl +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/cyrillic_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/devanagari_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/en_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/fa_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/french_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/german_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/gujarati_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/hebrew_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/hi_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/it_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/japan_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ka_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/kazakh_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/kie_dict/xfund_class_list.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/korean_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/latex_ocr_tokenizer.json +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/latex_symbol_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/latin_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/layout_dict/layout_cdla_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/layout_dict/layout_publaynet_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/layout_dict/layout_table_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/mr_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ne_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/oc_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/parseq_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ppocrv4_doc_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ppocrv5_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ppocrv5_en_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ppocrv5_eslav_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ppocrv5_korean_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/pu_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/rs_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/rsc_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ru_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/samaritan_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/spin_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/syriac_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ta_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/table_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/table_master_structure_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/table_structure_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/table_structure_dict_ch.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/te_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/th_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ug_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/uk_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/unimernet_tokenizer/tokenizer.json +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/unimernet_tokenizer/tokenizer_config.json +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/ur_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/vi_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict/xi_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/dict90.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/e2e_metric/Deteval.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/e2e_metric/polygon_fast.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/e2e_utils/extract_batchsize.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/e2e_utils/extract_textpoint_fast.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/e2e_utils/extract_textpoint_slow.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/e2e_utils/pgnet_pp_utils.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/e2e_utils/visual.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/en_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/export_model.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/formula_utils/math_txt2pkl.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/formula_utils/unimernet_data_convert.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/gen_label.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/ic15_dict.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/iou.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/loggers/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/loggers/base_logger.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/loggers/loggers.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/loggers/wandb_logger.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/logging.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/network.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/poly_nms.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/ppocr_keys_v1.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/profiler.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/save_load.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/stats.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/utility.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppocr/utils/visual.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/README.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/README_ch.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/how_to_do_kie.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/how_to_do_kie_en.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/predict_kie_token_ser.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/predict_kie_token_ser_re.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/requirements.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/tools/eval_with_label_end2end.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/tools/trans_funsd_label.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/kie/tools/trans_xfun_data.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/layout/README.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/layout/README_ch.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/layout/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/layout/predict_layout.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/pdf2word/README.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/pdf2word/icons/chinese.png +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/pdf2word/icons/english.png +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/pdf2word/icons/folder-open.png +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/pdf2word/icons/folder-plus.png +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/pdf2word/pdf2word.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/predict_system.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/recovery/README.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/recovery/README_ch.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/recovery/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/recovery/recovery_to_doc.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/recovery/recovery_to_markdown.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/recovery/requirements.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/recovery/table_process.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/README.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/README_ch.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/convert_label2html.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/eval_table.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/matcher.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/predict_structure.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/predict_table.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/table_master_match.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/table_metric/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/table_metric/parallel.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/table_metric/table_metric.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/tablepyxl/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/tablepyxl/style.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/table/tablepyxl/tablepyxl.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/ppstructure/utility.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/requirements.txt +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/setup.cfg +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/setup.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/__init__.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/end2end/convert_ppocr_label.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/end2end/draw_html.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/end2end/eval_end2end.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/end2end/readme.md +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/eval.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/export_center.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/export_model.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer/predict_det.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer/predict_e2e.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer/predict_sr.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer/predict_system.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer/utility.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_cls.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_det.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_e2e.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_kie.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_kie_token_ser.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_kie_token_ser_re.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_rec.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_sr.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/infer_table.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/naive_sync_bn.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/program.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/test_hubserving.py +0 -0
- {paddleocr-3.2.0 → paddleocr-3.3.0}/tools/train.py +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: paddleocr
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.0
|
|
4
4
|
Summary: Awesome multilingual OCR and document parsing toolkits based on PaddlePaddle
|
|
5
|
-
Author-email: PaddlePaddle <
|
|
6
|
-
Maintainer-email: PaddlePaddle <
|
|
5
|
+
Author-email: PaddlePaddle <paddleocr@baidu.com>
|
|
6
|
+
Maintainer-email: PaddlePaddle <paddleocr@baidu.com>
|
|
7
7
|
License: Apache License 2.0
|
|
8
8
|
Project-URL: homepage, https://github.com/PaddlePaddle/PaddleOCR
|
|
9
9
|
Project-URL: documentation, https://github.com/PaddlePaddle/PaddleOCR/blob/main/README.md
|
|
10
10
|
Project-URL: repository, https://github.com/PaddlePaddle/PaddleOCR.git
|
|
11
11
|
Project-URL: issues, https://github.com/PaddlePaddle/PaddleOCR/issues
|
|
12
|
-
Keywords: ocr,textdetection,textrecognition,paddleocr,
|
|
12
|
+
Keywords: ocr,textdetection,textrecognition,paddleocr,chineseocr,pp-ocr,pp-structure,document-parsing,pdf2markdown,kie,pp-chatocr,document-translation,rag
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Classifier: Natural Language :: Chinese (Simplified)
|
|
@@ -18,17 +18,18 @@ 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[ocr-core]<3.
|
|
21
|
+
Requires-Dist: paddlex[ocr-core]<3.4.0,>=3.3.0
|
|
22
22
|
Requires-Dist: PyYAML>=6
|
|
23
|
+
Requires-Dist: requests
|
|
23
24
|
Requires-Dist: typing-extensions>=4.12
|
|
24
25
|
Provides-Extra: doc-parser
|
|
25
|
-
Requires-Dist: paddlex[ocr]<3.
|
|
26
|
+
Requires-Dist: paddlex[genai-client,ocr]<3.4.0,>=3.3.0; extra == "doc-parser"
|
|
26
27
|
Provides-Extra: ie
|
|
27
|
-
Requires-Dist: paddlex[ie]<3.
|
|
28
|
+
Requires-Dist: paddlex[ie]<3.4.0,>=3.3.0; extra == "ie"
|
|
28
29
|
Provides-Extra: trans
|
|
29
|
-
Requires-Dist: paddlex[trans]<3.
|
|
30
|
+
Requires-Dist: paddlex[trans]<3.4.0,>=3.3.0; extra == "trans"
|
|
30
31
|
Provides-Extra: all
|
|
31
|
-
Requires-Dist: paddlex[ie,ocr,trans]<3.
|
|
32
|
+
Requires-Dist: paddlex[genai-client,ie,ocr,trans]<3.4.0,>=3.3.0; extra == "all"
|
|
32
33
|
|
|
33
34
|
<div align="center">
|
|
34
35
|
<p>
|
|
@@ -41,7 +42,7 @@ English | [简体中文](./readme/README_cn.md) | [繁體中文](./readme/README
|
|
|
41
42
|
[](https://arxiv.org/abs/2507.05595)
|
|
42
43
|
[](https://pepy.tech/project/paddleocr)
|
|
43
44
|
[](https://pepy.tech/project/paddleocr)
|
|
44
|
-
[](https://github.com/PaddlePaddle/PaddleOCR/network/dependents)
|
|
45
46
|
|
|
46
47
|

|
|
47
48
|

|
|
@@ -97,8 +98,23 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
97
98
|
|
|
98
99
|
## 📣 Recent updates
|
|
99
100
|
|
|
100
|
-
### 🔥🔥2025.
|
|
101
|
+
### 🔥🔥 2025.10.16: PaddleOCR 3.3.0 released, includes:
|
|
101
102
|
|
|
103
|
+
- Released PaddleOCR-VL:
|
|
104
|
+
- Model Introduction:
|
|
105
|
+
- **PaddleOCR-VL** is a SOTA and resource-efficient model tailored for document parsing. Its core component is PaddleOCR-VL-0.9B, a compact yet powerful vision-language model (VLM) that integrates a NaViT-style dynamic resolution visual encoder with the ERNIE-4.5-0.3B language model to enable accurate element recognition. This innovative model efficiently supports 109 languages and excels in recognizing complex elements (e.g., text, tables, formulas, and charts), while maintaining minimal resource consumption. Through comprehensive evaluations on widely used public benchmarks and in-house benchmarks, PaddleOCR-VL achieves SOTA performance in both page-level document parsing and element-level recognition. It significantly outperforms existing solutions, exhibits strong competitiveness against top-tier VLMs, and delivers fast inference speeds. These strengths make it highly suitable for practical deployment in real-world scenarios. The model has been released on [HuggingFace](https://huggingface.co/PaddlePaddle/PaddleOCR-VL). Everyone is welcome to download and use it!
|
|
106
|
+
|
|
107
|
+
- **Core Features**:
|
|
108
|
+
- **Compact yet Powerful VLM Architecture**: We present a novel vision-language model that is specifically designed for resource-efficient inference, achieving outstanding performance in element recognition. By integrating a NaViT-style dynamic high-resolution visual encoder with the lightweight ERNIE-4.5-0.3B language model, we significantly enhance the model’s recognition capabilities and decoding efficiency. This integration maintains high accuracy while reducing computational demands, making it well-suited for efficient and practical document processing applications.
|
|
109
|
+
- **SOTA Performance on Document Parsing**: PaddleOCR-VL achieves state-of-the-art performance in both page-level document parsing and element-level recognition. It significantly outperforms existing pipeline-based solutions and exhibiting strong competitiveness against leading vision-language models (VLMs) in document parsing. Moreover, it excels in recognizing complex document elements, such as text, tables, formulas, and charts, making it suitable for a wide range of challenging content types, including handwritten text and historical documents. This makes it highly versatile and suitable for a wide range of document types and scenarios.
|
|
110
|
+
- **Multilingual Support**: PaddleOCR-VL Supports 109 languages, covering major global languages, including but not limited to Chinese, English, Japanese, Latin, and Korean, as well as languages with different scripts and structures, such as Russian (Cyrillic script), Arabic, Hindi (Devanagari script), and Thai. This broad language coverage substantially enhances the applicability of our system to multilingual and globalized document processing scenarios.
|
|
111
|
+
|
|
112
|
+
- Released PP-OCRv5 Multilingual Recognition Model:
|
|
113
|
+
- Improved the accuracy and coverage of Latin script recognition; added support for Cyrillic, Arabic, Devanagari, Telugu, Tamil, and other language systems, covering recognition of 109 languages. The model has only 2M parameters, and the accuracy of some models has increased by over 40% compared to the previous generation.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<details>
|
|
117
|
+
<summary><strong>2025.08.21: Release of PaddleOCR 3.2.0</strong></summary>
|
|
102
118
|
|
|
103
119
|
- **Significant Model Additions:**
|
|
104
120
|
- 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.**
|
|
@@ -111,7 +127,7 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
111
127
|
- 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
128
|
|
|
113
129
|
- **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.**
|
|
130
|
+
- **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. [Here's](docs/version3.x/pipeline_usage/instructions/benchmark.en.md) how to set up and use the benchmark feature.**
|
|
115
131
|
- **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
132
|
|
|
117
133
|
- **Bug Fixes:**
|
|
@@ -126,7 +142,7 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
126
142
|
- Added AIStudio, ModelScope, and other model download sources, allowing users to specify the source for model downloads.
|
|
127
143
|
- Added support for chart-to-table conversion via the PP-Chart2Table module.
|
|
128
144
|
- Optimized documentation descriptions to improve usability.
|
|
129
|
-
|
|
145
|
+
</details>
|
|
130
146
|
|
|
131
147
|
<details>
|
|
132
148
|
<summary><strong>2025.08.15: PaddleOCR 3.1.1 Released</strong></summary>
|
|
@@ -245,10 +261,21 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
245
261
|
Install PaddlePaddle refer to [Installation Guide](https://www.paddlepaddle.org.cn/en/install/quick?docurl=/documentation/docs/en/develop/install/pip/linux-pip_en.html), after then, install the PaddleOCR toolkit.
|
|
246
262
|
|
|
247
263
|
```bash
|
|
248
|
-
#
|
|
249
|
-
pip install paddleocr
|
|
264
|
+
# If you only want to use the basic text recognition feature (returns text position coordinates and content), including the PP-OCR series
|
|
265
|
+
python -m pip install paddleocr
|
|
266
|
+
# If you want to use all features such as document parsing, document understanding, document translation, key information extraction, etc.
|
|
267
|
+
# python -m pip install "paddleocr[all]"
|
|
250
268
|
```
|
|
251
269
|
|
|
270
|
+
Starting from version 3.2.0, in addition to the `all` dependency group demonstrated above, PaddleOCR also supports installing partial optional features by specifying other dependency groups. All dependency groups provided by PaddleOCR are as follows:
|
|
271
|
+
|
|
272
|
+
| Dependency Group Name | Corresponding Functionality |
|
|
273
|
+
| - | - |
|
|
274
|
+
| `doc-parser` | Document parsing: can be used to extract layout elements such as tables, formulas, stamps, images, etc. from documents; includes models like PP-StructureV3 |
|
|
275
|
+
| `ie` | Information extraction: can be used to extract key information from documents, such as names, dates, addresses, amounts, etc.; includes models like PP-ChatOCRv4 |
|
|
276
|
+
| `trans` | Document translation: can be used to translate documents from one language to another; includes models like PP-DocTranslation |
|
|
277
|
+
| `all` | Complete functionality |
|
|
278
|
+
|
|
252
279
|
### 3. Run inference by CLI
|
|
253
280
|
```bash
|
|
254
281
|
# Run PP-OCRv5 inference
|
|
@@ -260,6 +287,9 @@ paddleocr pp_structurev3 -i https://paddle-model-ecology.bj.bcebos.com/paddlex/i
|
|
|
260
287
|
# Get the Qianfan API Key at first, and then run PP-ChatOCRv4 inference
|
|
261
288
|
paddleocr pp_chatocrv4_doc -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key --use_doc_orientation_classify False --use_doc_unwarping False
|
|
262
289
|
|
|
290
|
+
# Run PaddleOCR-VL inference
|
|
291
|
+
paddleocr doc_parser -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png
|
|
292
|
+
|
|
263
293
|
# Get more information about "paddleocr ocr"
|
|
264
294
|
paddleocr ocr --help
|
|
265
295
|
```
|
|
@@ -385,11 +415,27 @@ print(chat_result)
|
|
|
385
415
|
|
|
386
416
|
</details>
|
|
387
417
|
|
|
418
|
+
<details>
|
|
419
|
+
<summary><strong>4.4 PaddleOCR-VL Example</strong></summary>
|
|
420
|
+
|
|
421
|
+
```python
|
|
422
|
+
from paddleocr import PaddleOCRVL
|
|
423
|
+
|
|
424
|
+
pipeline = PaddleOCRVL()
|
|
425
|
+
output = pipeline.predict("https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png")
|
|
426
|
+
for res in output:
|
|
427
|
+
res.print()
|
|
428
|
+
res.save_to_json(save_path="output")
|
|
429
|
+
res.save_to_markdown(save_path="output")
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
</details>
|
|
433
|
+
|
|
388
434
|
### 5. Chinese Heterogeneous AI Accelerators
|
|
389
435
|
- [Huawei Ascend](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_NPU.html)
|
|
390
436
|
- [KUNLUNXIN](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_XPU.html)
|
|
391
437
|
|
|
392
|
-
## More Features
|
|
438
|
+
## 🧩 More Features
|
|
393
439
|
|
|
394
440
|
- Convert models to ONNX format: [Obtaining ONNX Models](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/obtaining_onnx_models.html).
|
|
395
441
|
- 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).
|
|
@@ -397,9 +443,11 @@ print(chat_result)
|
|
|
397
443
|
- Integrate PaddleOCR into applications written in C++, C#, Java, etc.: [Serving](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/serving.html).
|
|
398
444
|
|
|
399
445
|
## ⛰️ Advanced Tutorials
|
|
446
|
+
|
|
400
447
|
- [PP-OCRv5 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/OCR.html)
|
|
401
448
|
- [PP-StructureV3 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-StructureV3.html)
|
|
402
449
|
- [PP-ChatOCRv4 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-ChatOCRv4.html)
|
|
450
|
+
- [PaddleOCR-VL Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PaddleOCR-VL.html)
|
|
403
451
|
|
|
404
452
|
## 🔄 Quick Overview of Execution Results
|
|
405
453
|
|
|
@@ -415,16 +463,32 @@ print(chat_result)
|
|
|
415
463
|
</p>
|
|
416
464
|
</div>
|
|
417
465
|
|
|
466
|
+
|
|
467
|
+
## ✨ Stay Tuned
|
|
468
|
+
|
|
469
|
+
⭐ **Star this repository to keep up with exciting updates and new releases, including powerful OCR and document parsing capabilities!** ⭐
|
|
470
|
+
|
|
471
|
+
<div align="center">
|
|
472
|
+
<p>
|
|
473
|
+
<img width="1200" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/star_paddleocr.en.gif" alt="Star-Project">
|
|
474
|
+
</p>
|
|
475
|
+
</div>
|
|
476
|
+
|
|
418
477
|
## 👩👩👧👦 Community
|
|
419
478
|
|
|
479
|
+
<div align="center">
|
|
480
|
+
|
|
420
481
|
| PaddlePaddle WeChat official account | Join the tech discussion group |
|
|
421
482
|
| :---: | :---: |
|
|
422
483
|
| <img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr/README/qrcode_for_paddlepaddle_official_account.jpg" width="150"> | <img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr/README/qr_code_for_the_questionnaire.jpg" width="150"> |
|
|
484
|
+
</div>
|
|
423
485
|
|
|
424
486
|
|
|
425
487
|
## 😃 Awesome Projects Leveraging PaddleOCR
|
|
426
488
|
PaddleOCR wouldn't be where it is today without its incredible community! 💗 A massive thank you to all our longtime partners, new collaborators, and everyone who's poured their passion into PaddleOCR — whether we've named you or not. Your support fuels our fire!
|
|
427
489
|
|
|
490
|
+
<div align="center">
|
|
491
|
+
|
|
428
492
|
| Project Name | Description |
|
|
429
493
|
| ------------ | ----------- |
|
|
430
494
|
| [RAGFlow](https://github.com/infiniflow/ragflow) <a href="https://github.com/infiniflow/ragflow"><img src="https://img.shields.io/github/stars/infiniflow/ragflow"></a>|RAG engine based on deep document understanding.|
|
|
@@ -435,17 +499,23 @@ PaddleOCR wouldn't be where it is today without its incredible community! 💗 A
|
|
|
435
499
|
| [PDF-Extract-Kit](https://github.com/opendatalab/PDF-Extract-Kit) <a href="https://github.com/opendatalab/PDF-Extract-Kit"><img src="https://img.shields.io/github/stars/opendatalab/PDF-Extract-Kit"></a>|A powerful open-source toolkit designed to efficiently extract high-quality content from complex and diverse PDF documents.|
|
|
436
500
|
| [Dango-Translator](https://github.com/PantsuDango/Dango-Translator)<a href="https://github.com/PantsuDango/Dango-Translator"><img src="https://img.shields.io/github/stars/PantsuDango/Dango-Translator"></a> |Recognize text on the screen, translate it and show the translation results in real time.|
|
|
437
501
|
| [Learn more projects](./awesome_projects.md) | [More projects based on PaddleOCR](./awesome_projects.md)|
|
|
502
|
+
</div>
|
|
438
503
|
|
|
439
504
|
## 👩👩👧👦 Contributors
|
|
440
505
|
|
|
506
|
+
<div align="center">
|
|
441
507
|
<a href="https://github.com/PaddlePaddle/PaddleOCR/graphs/contributors">
|
|
442
508
|
<img src="https://contrib.rocks/image?repo=PaddlePaddle/PaddleOCR&max=400&columns=20" width="800"/>
|
|
443
509
|
</a>
|
|
444
|
-
|
|
510
|
+
</div>
|
|
445
511
|
|
|
446
512
|
## 🌟 Star
|
|
447
513
|
|
|
448
|
-
|
|
514
|
+
<div align="center">
|
|
515
|
+
<p>
|
|
516
|
+
<img width="800" src="https://api.star-history.com/svg?repos=PaddlePaddle/PaddleOCR&type=Date" alt="Star-history">
|
|
517
|
+
</p>
|
|
518
|
+
</div>
|
|
449
519
|
|
|
450
520
|
|
|
451
521
|
## 📄 License
|
|
@@ -1,35 +1,3 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: paddleocr
|
|
3
|
-
Version: 3.2.0
|
|
4
|
-
Summary: Awesome multilingual OCR and document parsing toolkits based on PaddlePaddle
|
|
5
|
-
Author-email: PaddlePaddle <Paddle-better@baidu.com>
|
|
6
|
-
Maintainer-email: PaddlePaddle <Paddle-better@baidu.com>
|
|
7
|
-
License: Apache License 2.0
|
|
8
|
-
Project-URL: homepage, https://github.com/PaddlePaddle/PaddleOCR
|
|
9
|
-
Project-URL: documentation, https://github.com/PaddlePaddle/PaddleOCR/blob/main/README.md
|
|
10
|
-
Project-URL: repository, https://github.com/PaddlePaddle/PaddleOCR.git
|
|
11
|
-
Project-URL: issues, https://github.com/PaddlePaddle/PaddleOCR/issues
|
|
12
|
-
Keywords: ocr,textdetection,textrecognition,paddleocr,crnn,east,star-net,rosetta,ocrlite,db,chineseocr,chinesetextdetection,chinesetextrecognition
|
|
13
|
-
Classifier: Intended Audience :: Developers
|
|
14
|
-
Classifier: Operating System :: OS Independent
|
|
15
|
-
Classifier: Natural Language :: Chinese (Simplified)
|
|
16
|
-
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Topic :: Utilities
|
|
18
|
-
Requires-Python: >=3.8
|
|
19
|
-
Description-Content-Type: text/markdown
|
|
20
|
-
License-File: LICENSE
|
|
21
|
-
Requires-Dist: paddlex[ocr-core]<3.3.0,>=3.2.0
|
|
22
|
-
Requires-Dist: PyYAML>=6
|
|
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"
|
|
32
|
-
|
|
33
1
|
<div align="center">
|
|
34
2
|
<p>
|
|
35
3
|
<img width="100%" src="./docs/images/Banner.png" alt="PaddleOCR Banner">
|
|
@@ -41,7 +9,7 @@ English | [简体中文](./readme/README_cn.md) | [繁體中文](./readme/README
|
|
|
41
9
|
[](https://arxiv.org/abs/2507.05595)
|
|
42
10
|
[](https://pepy.tech/project/paddleocr)
|
|
43
11
|
[](https://pepy.tech/project/paddleocr)
|
|
44
|
-
[](https://github.com/PaddlePaddle/PaddleOCR/network/dependents)
|
|
45
13
|
|
|
46
14
|

|
|
47
15
|

|
|
@@ -97,8 +65,23 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
97
65
|
|
|
98
66
|
## 📣 Recent updates
|
|
99
67
|
|
|
100
|
-
### 🔥🔥2025.
|
|
68
|
+
### 🔥🔥 2025.10.16: PaddleOCR 3.3.0 released, includes:
|
|
69
|
+
|
|
70
|
+
- Released PaddleOCR-VL:
|
|
71
|
+
- Model Introduction:
|
|
72
|
+
- **PaddleOCR-VL** is a SOTA and resource-efficient model tailored for document parsing. Its core component is PaddleOCR-VL-0.9B, a compact yet powerful vision-language model (VLM) that integrates a NaViT-style dynamic resolution visual encoder with the ERNIE-4.5-0.3B language model to enable accurate element recognition. This innovative model efficiently supports 109 languages and excels in recognizing complex elements (e.g., text, tables, formulas, and charts), while maintaining minimal resource consumption. Through comprehensive evaluations on widely used public benchmarks and in-house benchmarks, PaddleOCR-VL achieves SOTA performance in both page-level document parsing and element-level recognition. It significantly outperforms existing solutions, exhibits strong competitiveness against top-tier VLMs, and delivers fast inference speeds. These strengths make it highly suitable for practical deployment in real-world scenarios. The model has been released on [HuggingFace](https://huggingface.co/PaddlePaddle/PaddleOCR-VL). Everyone is welcome to download and use it!
|
|
73
|
+
|
|
74
|
+
- **Core Features**:
|
|
75
|
+
- **Compact yet Powerful VLM Architecture**: We present a novel vision-language model that is specifically designed for resource-efficient inference, achieving outstanding performance in element recognition. By integrating a NaViT-style dynamic high-resolution visual encoder with the lightweight ERNIE-4.5-0.3B language model, we significantly enhance the model’s recognition capabilities and decoding efficiency. This integration maintains high accuracy while reducing computational demands, making it well-suited for efficient and practical document processing applications.
|
|
76
|
+
- **SOTA Performance on Document Parsing**: PaddleOCR-VL achieves state-of-the-art performance in both page-level document parsing and element-level recognition. It significantly outperforms existing pipeline-based solutions and exhibiting strong competitiveness against leading vision-language models (VLMs) in document parsing. Moreover, it excels in recognizing complex document elements, such as text, tables, formulas, and charts, making it suitable for a wide range of challenging content types, including handwritten text and historical documents. This makes it highly versatile and suitable for a wide range of document types and scenarios.
|
|
77
|
+
- **Multilingual Support**: PaddleOCR-VL Supports 109 languages, covering major global languages, including but not limited to Chinese, English, Japanese, Latin, and Korean, as well as languages with different scripts and structures, such as Russian (Cyrillic script), Arabic, Hindi (Devanagari script), and Thai. This broad language coverage substantially enhances the applicability of our system to multilingual and globalized document processing scenarios.
|
|
101
78
|
|
|
79
|
+
- Released PP-OCRv5 Multilingual Recognition Model:
|
|
80
|
+
- Improved the accuracy and coverage of Latin script recognition; added support for Cyrillic, Arabic, Devanagari, Telugu, Tamil, and other language systems, covering recognition of 109 languages. The model has only 2M parameters, and the accuracy of some models has increased by over 40% compared to the previous generation.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
<details>
|
|
84
|
+
<summary><strong>2025.08.21: Release of PaddleOCR 3.2.0</strong></summary>
|
|
102
85
|
|
|
103
86
|
- **Significant Model Additions:**
|
|
104
87
|
- 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.**
|
|
@@ -111,7 +94,7 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
111
94
|
- 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
95
|
|
|
113
96
|
- **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.**
|
|
97
|
+
- **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. [Here's](docs/version3.x/pipeline_usage/instructions/benchmark.en.md) how to set up and use the benchmark feature.**
|
|
115
98
|
- **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
99
|
|
|
117
100
|
- **Bug Fixes:**
|
|
@@ -126,7 +109,7 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
126
109
|
- Added AIStudio, ModelScope, and other model download sources, allowing users to specify the source for model downloads.
|
|
127
110
|
- Added support for chart-to-table conversion via the PP-Chart2Table module.
|
|
128
111
|
- Optimized documentation descriptions to improve usability.
|
|
129
|
-
|
|
112
|
+
</details>
|
|
130
113
|
|
|
131
114
|
<details>
|
|
132
115
|
<summary><strong>2025.08.15: PaddleOCR 3.1.1 Released</strong></summary>
|
|
@@ -245,10 +228,21 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
|
|
|
245
228
|
Install PaddlePaddle refer to [Installation Guide](https://www.paddlepaddle.org.cn/en/install/quick?docurl=/documentation/docs/en/develop/install/pip/linux-pip_en.html), after then, install the PaddleOCR toolkit.
|
|
246
229
|
|
|
247
230
|
```bash
|
|
248
|
-
#
|
|
249
|
-
pip install paddleocr
|
|
231
|
+
# If you only want to use the basic text recognition feature (returns text position coordinates and content), including the PP-OCR series
|
|
232
|
+
python -m pip install paddleocr
|
|
233
|
+
# If you want to use all features such as document parsing, document understanding, document translation, key information extraction, etc.
|
|
234
|
+
# python -m pip install "paddleocr[all]"
|
|
250
235
|
```
|
|
251
236
|
|
|
237
|
+
Starting from version 3.2.0, in addition to the `all` dependency group demonstrated above, PaddleOCR also supports installing partial optional features by specifying other dependency groups. All dependency groups provided by PaddleOCR are as follows:
|
|
238
|
+
|
|
239
|
+
| Dependency Group Name | Corresponding Functionality |
|
|
240
|
+
| - | - |
|
|
241
|
+
| `doc-parser` | Document parsing: can be used to extract layout elements such as tables, formulas, stamps, images, etc. from documents; includes models like PP-StructureV3 |
|
|
242
|
+
| `ie` | Information extraction: can be used to extract key information from documents, such as names, dates, addresses, amounts, etc.; includes models like PP-ChatOCRv4 |
|
|
243
|
+
| `trans` | Document translation: can be used to translate documents from one language to another; includes models like PP-DocTranslation |
|
|
244
|
+
| `all` | Complete functionality |
|
|
245
|
+
|
|
252
246
|
### 3. Run inference by CLI
|
|
253
247
|
```bash
|
|
254
248
|
# Run PP-OCRv5 inference
|
|
@@ -260,6 +254,9 @@ paddleocr pp_structurev3 -i https://paddle-model-ecology.bj.bcebos.com/paddlex/i
|
|
|
260
254
|
# Get the Qianfan API Key at first, and then run PP-ChatOCRv4 inference
|
|
261
255
|
paddleocr pp_chatocrv4_doc -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key --use_doc_orientation_classify False --use_doc_unwarping False
|
|
262
256
|
|
|
257
|
+
# Run PaddleOCR-VL inference
|
|
258
|
+
paddleocr doc_parser -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png
|
|
259
|
+
|
|
263
260
|
# Get more information about "paddleocr ocr"
|
|
264
261
|
paddleocr ocr --help
|
|
265
262
|
```
|
|
@@ -385,11 +382,27 @@ print(chat_result)
|
|
|
385
382
|
|
|
386
383
|
</details>
|
|
387
384
|
|
|
385
|
+
<details>
|
|
386
|
+
<summary><strong>4.4 PaddleOCR-VL Example</strong></summary>
|
|
387
|
+
|
|
388
|
+
```python
|
|
389
|
+
from paddleocr import PaddleOCRVL
|
|
390
|
+
|
|
391
|
+
pipeline = PaddleOCRVL()
|
|
392
|
+
output = pipeline.predict("https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png")
|
|
393
|
+
for res in output:
|
|
394
|
+
res.print()
|
|
395
|
+
res.save_to_json(save_path="output")
|
|
396
|
+
res.save_to_markdown(save_path="output")
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
</details>
|
|
400
|
+
|
|
388
401
|
### 5. Chinese Heterogeneous AI Accelerators
|
|
389
402
|
- [Huawei Ascend](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_NPU.html)
|
|
390
403
|
- [KUNLUNXIN](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_XPU.html)
|
|
391
404
|
|
|
392
|
-
## More Features
|
|
405
|
+
## 🧩 More Features
|
|
393
406
|
|
|
394
407
|
- Convert models to ONNX format: [Obtaining ONNX Models](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/obtaining_onnx_models.html).
|
|
395
408
|
- 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).
|
|
@@ -397,9 +410,11 @@ print(chat_result)
|
|
|
397
410
|
- Integrate PaddleOCR into applications written in C++, C#, Java, etc.: [Serving](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/serving.html).
|
|
398
411
|
|
|
399
412
|
## ⛰️ Advanced Tutorials
|
|
413
|
+
|
|
400
414
|
- [PP-OCRv5 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/OCR.html)
|
|
401
415
|
- [PP-StructureV3 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-StructureV3.html)
|
|
402
416
|
- [PP-ChatOCRv4 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-ChatOCRv4.html)
|
|
417
|
+
- [PaddleOCR-VL Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PaddleOCR-VL.html)
|
|
403
418
|
|
|
404
419
|
## 🔄 Quick Overview of Execution Results
|
|
405
420
|
|
|
@@ -415,16 +430,32 @@ print(chat_result)
|
|
|
415
430
|
</p>
|
|
416
431
|
</div>
|
|
417
432
|
|
|
433
|
+
|
|
434
|
+
## ✨ Stay Tuned
|
|
435
|
+
|
|
436
|
+
⭐ **Star this repository to keep up with exciting updates and new releases, including powerful OCR and document parsing capabilities!** ⭐
|
|
437
|
+
|
|
438
|
+
<div align="center">
|
|
439
|
+
<p>
|
|
440
|
+
<img width="1200" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/star_paddleocr.en.gif" alt="Star-Project">
|
|
441
|
+
</p>
|
|
442
|
+
</div>
|
|
443
|
+
|
|
418
444
|
## 👩👩👧👦 Community
|
|
419
445
|
|
|
446
|
+
<div align="center">
|
|
447
|
+
|
|
420
448
|
| PaddlePaddle WeChat official account | Join the tech discussion group |
|
|
421
449
|
| :---: | :---: |
|
|
422
450
|
| <img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr/README/qrcode_for_paddlepaddle_official_account.jpg" width="150"> | <img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr/README/qr_code_for_the_questionnaire.jpg" width="150"> |
|
|
451
|
+
</div>
|
|
423
452
|
|
|
424
453
|
|
|
425
454
|
## 😃 Awesome Projects Leveraging PaddleOCR
|
|
426
455
|
PaddleOCR wouldn't be where it is today without its incredible community! 💗 A massive thank you to all our longtime partners, new collaborators, and everyone who's poured their passion into PaddleOCR — whether we've named you or not. Your support fuels our fire!
|
|
427
456
|
|
|
457
|
+
<div align="center">
|
|
458
|
+
|
|
428
459
|
| Project Name | Description |
|
|
429
460
|
| ------------ | ----------- |
|
|
430
461
|
| [RAGFlow](https://github.com/infiniflow/ragflow) <a href="https://github.com/infiniflow/ragflow"><img src="https://img.shields.io/github/stars/infiniflow/ragflow"></a>|RAG engine based on deep document understanding.|
|
|
@@ -435,17 +466,23 @@ PaddleOCR wouldn't be where it is today without its incredible community! 💗 A
|
|
|
435
466
|
| [PDF-Extract-Kit](https://github.com/opendatalab/PDF-Extract-Kit) <a href="https://github.com/opendatalab/PDF-Extract-Kit"><img src="https://img.shields.io/github/stars/opendatalab/PDF-Extract-Kit"></a>|A powerful open-source toolkit designed to efficiently extract high-quality content from complex and diverse PDF documents.|
|
|
436
467
|
| [Dango-Translator](https://github.com/PantsuDango/Dango-Translator)<a href="https://github.com/PantsuDango/Dango-Translator"><img src="https://img.shields.io/github/stars/PantsuDango/Dango-Translator"></a> |Recognize text on the screen, translate it and show the translation results in real time.|
|
|
437
468
|
| [Learn more projects](./awesome_projects.md) | [More projects based on PaddleOCR](./awesome_projects.md)|
|
|
469
|
+
</div>
|
|
438
470
|
|
|
439
471
|
## 👩👩👧👦 Contributors
|
|
440
472
|
|
|
473
|
+
<div align="center">
|
|
441
474
|
<a href="https://github.com/PaddlePaddle/PaddleOCR/graphs/contributors">
|
|
442
475
|
<img src="https://contrib.rocks/image?repo=PaddlePaddle/PaddleOCR&max=400&columns=20" width="800"/>
|
|
443
476
|
</a>
|
|
444
|
-
|
|
477
|
+
</div>
|
|
445
478
|
|
|
446
479
|
## 🌟 Star
|
|
447
480
|
|
|
448
|
-
|
|
481
|
+
<div align="center">
|
|
482
|
+
<p>
|
|
483
|
+
<img width="800" src="https://api.star-history.com/svg?repos=PaddlePaddle/PaddleOCR&type=Date" alt="Star-history">
|
|
484
|
+
</p>
|
|
485
|
+
</div>
|
|
449
486
|
|
|
450
487
|
|
|
451
488
|
## 📄 License
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
| [March7thAssistant](https://github.com/moesnow/March7thAssistant) <a href="https://github.com/moesnow/March7thAssistant"><img src="https://img.shields.io/github/stars/moesnow/March7thAssistant"></a> | Daily Tasks: Stamina recovery, daily training, claiming rewards, commissions, and farming. |
|
|
16
16
|
| [PaddlePaddle/models](https://github.com/PaddlePaddle/models) <a href="https://github.com/PaddlePaddle/models"><img src="https://img.shields.io/github/stars/PaddlePaddle/models"></a> |PaddlePaddle's industrial-grade model zoo.|
|
|
17
17
|
| [katanaml/sparrow](https://github.com/katanaml/sparrow) <a href="https://github.com/katanaml/sparrow"><img src="https://img.shields.io/github/stars/katanaml/sparrow"></a> | Sparrow is an innovative open-source solution for efficient data extraction and processing from various documents and images. |
|
|
18
|
-
| [RapidOCR](https://github.com/RapidAI/RapidOCR) <a href="https://github.com/RapidAI/RapidOCR"><img src="https://img.shields.io/github/stars/RapidAI/RapidOCR"></a> | Awesome OCR multiple
|
|
18
|
+
| [RapidOCR](https://github.com/RapidAI/RapidOCR) <a href="https://github.com/RapidAI/RapidOCR"><img src="https://img.shields.io/github/stars/RapidAI/RapidOCR"></a> | Awesome OCR multiple programming languages toolkits based on ONNXRuntime, OpenVINO, PaddlePaddle and PyTorch |
|
|
19
19
|
| [autoMate](https://github.com/yuruotong1/autoMate) <a href="https://github.com/yuruotong1/autoMate"><img src="https://img.shields.io/github/stars/yuruotong1/autoMate"></a> | AI-Powered Local Automation Tool & Let Your Computer Work for You. |
|
|
20
20
|
| [Agent-S](https://github.com/simular-ai/Agent-S) <a href="https://github.com/simular-ai/Agent-S"><img src="https://img.shields.io/github/stars/simular-ai/Agent-S"></a> | A Compositional Generalist-Specialist Framework for Computer Use Agents. |
|
|
21
21
|
| [pdf-craft](https://github.com/oomol-lab/pdf-craft) <a href="https://github.com/oomol-lab/pdf-craft"><img src="https://img.shields.io/github/stars/oomol-lab/pdf-craft"></a> | PDF Craft can convert PDF files into various other formats. |
|
|
@@ -15,10 +15,9 @@
|
|
|
15
15
|
# limitations under the License.
|
|
16
16
|
|
|
17
17
|
import argparse
|
|
18
|
-
import
|
|
18
|
+
import asyncio
|
|
19
19
|
import os
|
|
20
20
|
import sys
|
|
21
|
-
from typing import AsyncIterator, Dict
|
|
22
21
|
|
|
23
22
|
from fastmcp import FastMCP
|
|
24
23
|
|
|
@@ -126,8 +125,8 @@ def _validate_args(args: argparse.Namespace) -> None:
|
|
|
126
125
|
sys.exit(2)
|
|
127
126
|
|
|
128
127
|
|
|
129
|
-
def
|
|
130
|
-
"""
|
|
128
|
+
async def async_main() -> None:
|
|
129
|
+
"""Asynchronous main entry point."""
|
|
131
130
|
args = _parse_args()
|
|
132
131
|
|
|
133
132
|
_validate_args(args)
|
|
@@ -150,16 +149,12 @@ def main() -> None:
|
|
|
150
149
|
traceback.print_exc(file=sys.stderr)
|
|
151
150
|
sys.exit(1)
|
|
152
151
|
|
|
153
|
-
@contextlib.asynccontextmanager
|
|
154
|
-
async def _lifespan(mcp: FastMCP) -> AsyncIterator[Dict]:
|
|
155
|
-
async with pipeline_handler:
|
|
156
|
-
yield {}
|
|
157
|
-
|
|
158
152
|
try:
|
|
153
|
+
await pipeline_handler.start()
|
|
154
|
+
|
|
159
155
|
server_name = f"PaddleOCR {args.pipeline} MCP server"
|
|
160
156
|
mcp = FastMCP(
|
|
161
157
|
name=server_name,
|
|
162
|
-
lifespan=_lifespan,
|
|
163
158
|
log_level="INFO" if args.verbose else "WARNING",
|
|
164
159
|
mask_error_details=True,
|
|
165
160
|
)
|
|
@@ -167,13 +162,13 @@ def main() -> None:
|
|
|
167
162
|
pipeline_handler.register_tools(mcp)
|
|
168
163
|
|
|
169
164
|
if args.http:
|
|
170
|
-
mcp.
|
|
165
|
+
await mcp.run_async(
|
|
171
166
|
transport="streamable-http",
|
|
172
167
|
host=args.host,
|
|
173
168
|
port=args.port,
|
|
174
169
|
)
|
|
175
170
|
else:
|
|
176
|
-
mcp.
|
|
171
|
+
await mcp.run_async()
|
|
177
172
|
|
|
178
173
|
except Exception as e:
|
|
179
174
|
print(f"Failed to start the server: {e}", file=sys.stderr)
|
|
@@ -183,6 +178,14 @@ def main() -> None:
|
|
|
183
178
|
traceback.print_exc(file=sys.stderr)
|
|
184
179
|
sys.exit(1)
|
|
185
180
|
|
|
181
|
+
finally:
|
|
182
|
+
await pipeline_handler.stop()
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
def main():
|
|
186
|
+
"""Main entry point."""
|
|
187
|
+
asyncio.run(async_main())
|
|
188
|
+
|
|
186
189
|
|
|
187
190
|
if __name__ == "__main__":
|
|
188
191
|
main()
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "paddleocr_mcp"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.1"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
dependencies = [
|
|
10
10
|
"mcp>=1.5.0",
|
|
@@ -14,6 +14,16 @@ dependencies = [
|
|
|
14
14
|
"pillow>=9.0.0",
|
|
15
15
|
"puremagic>=1.30.0",
|
|
16
16
|
"typing-extensions>=4.0.0",
|
|
17
|
+
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[project.optional-dependencies]
|
|
21
|
+
local = [
|
|
22
|
+
"paddleocr[doc-parser]>=3.2",
|
|
23
|
+
]
|
|
24
|
+
local-cpu = [
|
|
25
|
+
"paddleocr[doc-parser]>=3.2",
|
|
26
|
+
"paddlepaddle>=3.0.0",
|
|
17
27
|
]
|
|
18
28
|
|
|
19
29
|
[project.scripts]
|
|
@@ -34,6 +34,7 @@ from ._pipelines import (
|
|
|
34
34
|
DocUnderstanding,
|
|
35
35
|
FormulaRecognitionPipeline,
|
|
36
36
|
PaddleOCR,
|
|
37
|
+
PaddleOCRVL,
|
|
37
38
|
PPChatOCRv4Doc,
|
|
38
39
|
PPDocTranslation,
|
|
39
40
|
PPStructureV3,
|
|
@@ -62,6 +63,7 @@ __all__ = [
|
|
|
62
63
|
"DocUnderstanding",
|
|
63
64
|
"FormulaRecognitionPipeline",
|
|
64
65
|
"PaddleOCR",
|
|
66
|
+
"PaddleOCRVL",
|
|
65
67
|
"PPChatOCRv4Doc",
|
|
66
68
|
"PPDocTranslation",
|
|
67
69
|
"PPStructureV3",
|