paddleocr 3.3.1__tar.gz → 3.3.3__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.1 → paddleocr-3.3.3}/PKG-INFO +35 -12
- {paddleocr-3.3.1 → paddleocr-3.3.3}/README.md +34 -11
- {paddleocr-3.3.1 → paddleocr-3.3.3}/mcp_server/paddleocr_mcp/__main__.py +16 -1
- {paddleocr-3.3.1 → paddleocr-3.3.3}/mcp_server/paddleocr_mcp/pipelines.py +94 -40
- {paddleocr-3.3.1 → paddleocr-3.3.3}/mcp_server/pyproject.toml +1 -1
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_cli.py +3 -1
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/paddleocr_vl.py +23 -2
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr.egg-info/PKG-INFO +35 -12
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/unimernet_aug.py +0 -1
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/pdf2word/pdf2word.py +2 -1
- {paddleocr-3.3.1 → paddleocr-3.3.3}/readme/README_cn.md +34 -10
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer/utility.py +9 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/naive_sync_bn.py +0 -1
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/program.py +16 -1
- {paddleocr-3.3.1 → paddleocr-3.3.3}/.lycheeignore +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/CNAME +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/LICENSE +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/MANIFEST.in +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/awesome_projects.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/mcp_server/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/mcp_server/README_en.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/mcp_server/paddleocr_mcp/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/mcp_server/paddleocr_mcp/py.typed +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/__main__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_abstract.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_common_args.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_constants.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_env.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/_doc_vlm.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/_image_classification.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/_object_detection.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/_text_detection.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/base.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/chart_parsing.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/doc_img_orientation_classification.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/doc_vlm.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/formula_recognition.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/layout_detection.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/seal_text_detection.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/table_cells_detection.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/table_classification.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/table_structure_recognition.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/text_detection.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/text_image_unwarping.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/text_recognition.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_models/textline_orientation_classification.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/base.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/doc_preprocessor.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/doc_understanding.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/formula_recognition.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/ocr.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/pp_chatocrv4_doc.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/pp_doctranslation.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/pp_structurev3.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/seal_recognition.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/table_recognition_v2.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_pipelines/utils.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_utils/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_utils/cli.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_utils/deprecation.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_utils/logging.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr/_version.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr.egg-info/SOURCES.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr.egg-info/dependency_links.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr.egg-info/entry_points.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr.egg-info/requires.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/paddleocr.egg-info/top_level.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/collate_fn.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/ColorJitter.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/abinet_aug.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/copy_paste.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/ct_process.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/drrg_targets.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/east_process.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/fce_aug.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/fce_targets.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/frost_img/frost1.jpg +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/frost_img/frost2.png +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/frost_img/frost3.png +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/frost_img/frost4.jpg +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/frost_img/frost5.jpg +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/frost_img/frost6.jpg +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/iaa_augment.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/label_ops.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/latex_ocr_aug.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/make_border_map.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/make_pse_gt.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/make_shrink_map.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/operators.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/pg_process.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/randaugment.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/random_crop_data.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/rec_img_aug.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/sast_process.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/ssl_img_aug.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/table_ops.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/text_image_aug/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/text_image_aug/augment.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/text_image_aug/warp_mls.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/vqa/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/vqa/augment.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/vqa/token/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/vqa/token/vqa_re_convert.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/vqa/token/vqa_token_chunk.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/vqa/token/vqa_token_pad.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/imaug/vqa/token/vqa_token_relation.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/latexocr_dataset.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/lmdb_dataset.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/multi_scale_sampler.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/pgnet_dataset.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/pubtab_dataset.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/data/simple_dataset.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/cls_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/ct_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/db_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/drrg_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/east_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/fce_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/locality_aware_nms.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/pg_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/picodet_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/pse_postprocess/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/pse_postprocess/pse/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/pse_postprocess/pse/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/pse_postprocess/pse/pse.pyx +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/pse_postprocess/pse/setup.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/pse_postprocess/pse_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/rec_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/sast_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/table_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/EN_symbol_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ar_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/arabic_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/be_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/bengali_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/bg_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/bm_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/bm_dict_add.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/bn_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/chinese_cht_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/confuse.pkl +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/cyrillic_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/devanagari_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/en_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/fa_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/french_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/german_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/gujarati_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/hebrew_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/hi_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/it_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/japan_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ka_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/kazakh_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/kie_dict/xfund_class_list.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/korean_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/latex_ocr_tokenizer.json +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/latex_symbol_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/latin_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/layout_dict/layout_cdla_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/layout_dict/layout_publaynet_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/layout_dict/layout_table_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/mr_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ne_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/oc_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/parseq_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv4_doc_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_arabic_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_cyrillic_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_devanagari_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_el_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_en_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_eslav_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_korean_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_latin_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_ta_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_te_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ppocrv5_th_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/pu_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/rs_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/rsc_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ru_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/samaritan_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/spin_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/syriac_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ta_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/table_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/table_master_structure_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/table_structure_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/table_structure_dict_ch.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/te_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/th_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ug_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/uk_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/unimernet_tokenizer/tokenizer.json +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/unimernet_tokenizer/tokenizer_config.json +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/ur_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/vi_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict/xi_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/dict90.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/e2e_metric/Deteval.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/e2e_metric/polygon_fast.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/e2e_utils/extract_batchsize.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/e2e_utils/extract_textpoint_fast.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/e2e_utils/extract_textpoint_slow.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/e2e_utils/pgnet_pp_utils.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/e2e_utils/visual.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/en_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/export_model.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/formula_utils/math_txt2pkl.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/formula_utils/unimernet_data_convert.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/gen_label.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/ic15_dict.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/iou.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/loggers/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/loggers/base_logger.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/loggers/loggers.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/loggers/wandb_logger.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/logging.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/network.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/poly_nms.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/ppocr_keys_v1.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/profiler.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/save_load.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/stats.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/utility.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppocr/utils/visual.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/README_ch.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/how_to_do_kie.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/how_to_do_kie_en.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/predict_kie_token_ser.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/predict_kie_token_ser_re.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/requirements.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/tools/eval_with_label_end2end.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/tools/trans_funsd_label.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/kie/tools/trans_xfun_data.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/layout/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/layout/README_ch.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/layout/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/layout/predict_layout.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/pdf2word/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/pdf2word/icons/chinese.png +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/pdf2word/icons/english.png +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/pdf2word/icons/folder-open.png +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/pdf2word/icons/folder-plus.png +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/predict_system.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/recovery/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/recovery/README_ch.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/recovery/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/recovery/recovery_to_doc.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/recovery/recovery_to_markdown.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/recovery/requirements.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/recovery/table_process.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/README.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/README_ch.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/convert_label2html.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/eval_table.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/matcher.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/predict_structure.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/predict_table.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/table_master_match.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/table_metric/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/table_metric/parallel.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/table_metric/table_metric.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/tablepyxl/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/tablepyxl/style.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/table/tablepyxl/tablepyxl.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/ppstructure/utility.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/pyproject.toml +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/readme/README_ar.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/readme/README_es.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/readme/README_fr.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/readme/README_ja.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/readme/README_ko.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/readme/README_ru.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/readme/README_tcn.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/requirements.txt +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/setup.cfg +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/setup.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/__init__.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/end2end/convert_ppocr_label.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/end2end/draw_html.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/end2end/eval_end2end.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/end2end/readme.md +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/eval.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/export_center.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/export_model.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer/predict_cls.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer/predict_det.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer/predict_e2e.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer/predict_rec.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer/predict_sr.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer/predict_system.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_cls.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_det.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_e2e.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_kie.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_kie_token_ser.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_kie_token_ser_re.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_rec.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_sr.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/infer_table.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/test_hubserving.py +0 -0
- {paddleocr-3.3.1 → paddleocr-3.3.3}/tools/train.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: paddleocr
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.3
|
|
4
4
|
Summary: Awesome multilingual OCR and document parsing toolkits based on PaddlePaddle
|
|
5
5
|
Author-email: PaddlePaddle <paddleocr@baidu.com>
|
|
6
6
|
Maintainer-email: PaddlePaddle <paddleocr@baidu.com>
|
|
@@ -38,17 +38,24 @@ Requires-Dist: paddlex[genai-client,ie,ocr,trans]<3.4.0,>=3.3.0; extra == "all"
|
|
|
38
38
|
|
|
39
39
|
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)
|
|
40
40
|
|
|
41
|
+
<!-- icon -->
|
|
41
42
|
[](https://github.com/PaddlePaddle/PaddleOCR)
|
|
42
|
-
[](https://github.com/PaddlePaddle/PaddleOCR)
|
|
44
|
+
[](https://arxiv.org/pdf/2507.05595)
|
|
45
|
+
[](https://arxiv.org/abs/2510.14528)
|
|
46
|
+
|
|
47
|
+
[](https://pepy.tech/projectsproject/paddleocr)
|
|
48
|
+
[](https://pepy.tech/projects/paddleocr)
|
|
49
|
+
[](https://github.com/PaddlePaddle/PaddleOCR/network/dependents)
|
|
50
|
+
[](https://pypi.org/project/paddleocr/)
|
|
47
51
|

|
|
52
|
+
|
|
48
53
|

|
|
49
54
|

|
|
50
|
-
[](
|
|
55
|
+
[](../LICENSE)
|
|
51
56
|
[](https://deepwiki.com/PaddlePaddle/PaddleOCR)
|
|
57
|
+
[](https://www.paddleocr.com)
|
|
58
|
+
|
|
52
59
|
|
|
53
60
|
|
|
54
61
|
**PaddleOCR is an industry-leading, production-ready OCR and document AI engine, offering end-to-end solutions from text extraction to intelligent document understanding**
|
|
@@ -65,12 +72,14 @@ English | [简体中文](./readme/README_cn.md) | [繁體中文](./readme/README
|
|
|
65
72
|
> [!TIP]
|
|
66
73
|
> 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).
|
|
67
74
|
>
|
|
68
|
-
> The PaddleOCR 3.0 Technical Report is now available. See details at: [PaddleOCR 3.0 Technical Report](https://arxiv.org/abs/2507.05595)
|
|
75
|
+
> The PaddleOCR 3.0 Technical Report is now available. See details at: [PaddleOCR 3.0 Technical Report](https://arxiv.org/abs/2507.05595).
|
|
76
|
+
>
|
|
77
|
+
> The PaddleOCR-VL Technical Report is now available. See details at [PaddleOCR-VL Technical Report](https://arxiv.org/abs/2510.14528).
|
|
69
78
|
>
|
|
70
|
-
> The PaddleOCR
|
|
79
|
+
> The Beta version of the PaddleOCR official website is now live, offering a more convenient online experience and large-scale PDF file parsing, as well as free API and MCP services. For more details, please visit the [PaddleOCR official website](https://www.paddleocr.com).
|
|
71
80
|
|
|
72
81
|
|
|
73
|
-
**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 **
|
|
82
|
+
**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 **60,000 stars** and deep integration into leading projects like **MinerU, RAGFlow, pathway and cherry-studio**, PaddleOCR has become the **premier solution** for developers building intelligent document applications in the **AI era**.
|
|
74
83
|
|
|
75
84
|
### PaddleOCR 3.0 Core Features
|
|
76
85
|
|
|
@@ -459,15 +468,29 @@ for res in output:
|
|
|
459
468
|
|
|
460
469
|
## 🔄 Quick Overview of Execution Results
|
|
461
470
|
|
|
471
|
+
### PP-OCRv5
|
|
472
|
+
|
|
473
|
+
<div align="center">
|
|
474
|
+
<p>
|
|
475
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PP-OCRv5_demo.gif" alt="PP-OCRv5 Demo">
|
|
476
|
+
</p>
|
|
477
|
+
</div>
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
### PP-StructureV3
|
|
482
|
+
|
|
462
483
|
<div align="center">
|
|
463
484
|
<p>
|
|
464
|
-
|
|
485
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PP-StructureV3_demo.gif" alt="PP-StructureV3 Demo">
|
|
465
486
|
</p>
|
|
466
487
|
</div>
|
|
467
488
|
|
|
489
|
+
### PaddleOCR-VL
|
|
490
|
+
|
|
468
491
|
<div align="center">
|
|
469
492
|
<p>
|
|
470
|
-
|
|
493
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PaddleOCR-VL_demo.gif" alt="PP-StructureV3 Demo">
|
|
471
494
|
</p>
|
|
472
495
|
</div>
|
|
473
496
|
|
|
@@ -5,17 +5,24 @@
|
|
|
5
5
|
|
|
6
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)
|
|
7
7
|
|
|
8
|
+
<!-- icon -->
|
|
8
9
|
[](https://github.com/PaddlePaddle/PaddleOCR)
|
|
9
|
-
[](https://github.com/PaddlePaddle/PaddleOCR)
|
|
11
|
+
[](https://arxiv.org/pdf/2507.05595)
|
|
12
|
+
[](https://arxiv.org/abs/2510.14528)
|
|
13
|
+
|
|
14
|
+
[](https://pepy.tech/projectsproject/paddleocr)
|
|
15
|
+
[](https://pepy.tech/projects/paddleocr)
|
|
16
|
+
[](https://github.com/PaddlePaddle/PaddleOCR/network/dependents)
|
|
17
|
+
[](https://pypi.org/project/paddleocr/)
|
|
14
18
|

|
|
19
|
+
|
|
15
20
|

|
|
16
21
|

|
|
17
|
-
[](
|
|
22
|
+
[](../LICENSE)
|
|
18
23
|
[](https://deepwiki.com/PaddlePaddle/PaddleOCR)
|
|
24
|
+
[](https://www.paddleocr.com)
|
|
25
|
+
|
|
19
26
|
|
|
20
27
|
|
|
21
28
|
**PaddleOCR is an industry-leading, production-ready OCR and document AI engine, offering end-to-end solutions from text extraction to intelligent document understanding**
|
|
@@ -32,12 +39,14 @@ English | [简体中文](./readme/README_cn.md) | [繁體中文](./readme/README
|
|
|
32
39
|
> [!TIP]
|
|
33
40
|
> 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
41
|
>
|
|
35
|
-
> The PaddleOCR 3.0 Technical Report is now available. See details at: [PaddleOCR 3.0 Technical Report](https://arxiv.org/abs/2507.05595)
|
|
42
|
+
> The PaddleOCR 3.0 Technical Report is now available. See details at: [PaddleOCR 3.0 Technical Report](https://arxiv.org/abs/2507.05595).
|
|
43
|
+
>
|
|
44
|
+
> The PaddleOCR-VL Technical Report is now available. See details at [PaddleOCR-VL Technical Report](https://arxiv.org/abs/2510.14528).
|
|
36
45
|
>
|
|
37
|
-
> The PaddleOCR
|
|
46
|
+
> The Beta version of the PaddleOCR official website is now live, offering a more convenient online experience and large-scale PDF file parsing, as well as free API and MCP services. For more details, please visit the [PaddleOCR official website](https://www.paddleocr.com).
|
|
38
47
|
|
|
39
48
|
|
|
40
|
-
**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 **
|
|
49
|
+
**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 **60,000 stars** and deep integration into leading projects like **MinerU, RAGFlow, pathway and cherry-studio**, PaddleOCR has become the **premier solution** for developers building intelligent document applications in the **AI era**.
|
|
41
50
|
|
|
42
51
|
### PaddleOCR 3.0 Core Features
|
|
43
52
|
|
|
@@ -426,15 +435,29 @@ for res in output:
|
|
|
426
435
|
|
|
427
436
|
## 🔄 Quick Overview of Execution Results
|
|
428
437
|
|
|
438
|
+
### PP-OCRv5
|
|
439
|
+
|
|
440
|
+
<div align="center">
|
|
441
|
+
<p>
|
|
442
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PP-OCRv5_demo.gif" alt="PP-OCRv5 Demo">
|
|
443
|
+
</p>
|
|
444
|
+
</div>
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
### PP-StructureV3
|
|
449
|
+
|
|
429
450
|
<div align="center">
|
|
430
451
|
<p>
|
|
431
|
-
|
|
452
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PP-StructureV3_demo.gif" alt="PP-StructureV3 Demo">
|
|
432
453
|
</p>
|
|
433
454
|
</div>
|
|
434
455
|
|
|
456
|
+
### PaddleOCR-VL
|
|
457
|
+
|
|
435
458
|
<div align="center">
|
|
436
459
|
<p>
|
|
437
|
-
|
|
460
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PaddleOCR-VL_demo.gif" alt="PP-StructureV3 Demo">
|
|
438
461
|
</p>
|
|
439
462
|
</div>
|
|
440
463
|
|
|
@@ -32,7 +32,7 @@ def _parse_args() -> argparse.Namespace:
|
|
|
32
32
|
|
|
33
33
|
parser.add_argument(
|
|
34
34
|
"--pipeline",
|
|
35
|
-
choices=["OCR", "PP-StructureV3"],
|
|
35
|
+
choices=["OCR", "PP-StructureV3", "PaddleOCR-VL"],
|
|
36
36
|
default=os.getenv("PADDLEOCR_MCP_PIPELINE", "OCR"),
|
|
37
37
|
help="Pipeline name.",
|
|
38
38
|
)
|
|
@@ -123,6 +123,21 @@ def _validate_args(args: argparse.Namespace) -> None:
|
|
|
123
123
|
file=sys.stderr,
|
|
124
124
|
)
|
|
125
125
|
sys.exit(2)
|
|
126
|
+
elif args.ppocr_source == "qianfan":
|
|
127
|
+
if not args.qianfan_api_key:
|
|
128
|
+
print("Error: The Qianfan API key is required.", file=sys.stderr)
|
|
129
|
+
print(
|
|
130
|
+
"Please either set `--qianfan_api_key` or set the environment variable "
|
|
131
|
+
"`PADDLEOCR_MCP_QIANFAN_API_KEY`.",
|
|
132
|
+
file=sys.stderr,
|
|
133
|
+
)
|
|
134
|
+
sys.exit(2)
|
|
135
|
+
if args.pipeline not in ("PaddleOCR-VL", "PP-StructureV3"):
|
|
136
|
+
print(
|
|
137
|
+
f"{repr(args.pipeline)} is currently not supported when using the {repr(args.ppocr_source)} source.",
|
|
138
|
+
file=sys.stderr,
|
|
139
|
+
)
|
|
140
|
+
sys.exit(2)
|
|
126
141
|
|
|
127
142
|
|
|
128
143
|
async def async_main() -> None:
|
|
@@ -39,7 +39,7 @@ from PIL import Image as PILImage
|
|
|
39
39
|
from typing_extensions import Literal, Self, assert_never
|
|
40
40
|
|
|
41
41
|
try:
|
|
42
|
-
from paddleocr import PaddleOCR, PPStructureV3
|
|
42
|
+
from paddleocr import PaddleOCR, PaddleOCRVL, PPStructureV3
|
|
43
43
|
|
|
44
44
|
LOCAL_OCR_AVAILABLE = True
|
|
45
45
|
except ImportError:
|
|
@@ -653,46 +653,9 @@ class OCRHandler(SimpleInferencePipelineHandler):
|
|
|
653
653
|
return output
|
|
654
654
|
|
|
655
655
|
|
|
656
|
-
class
|
|
657
|
-
def register_tools(self, mcp: FastMCP) -> None:
|
|
658
|
-
@mcp.tool("pp_structurev3")
|
|
659
|
-
async def _pp_structurev3(
|
|
660
|
-
input_data: str,
|
|
661
|
-
output_mode: OutputMode = "simple",
|
|
662
|
-
file_type: Optional[str] = None,
|
|
663
|
-
return_images: bool = True,
|
|
664
|
-
*,
|
|
665
|
-
ctx: Context,
|
|
666
|
-
) -> Union[str, List[Union[TextContent, ImageContent]]]:
|
|
667
|
-
"""Extracts structured markdown from complex documents (images/PDFs), including tables, formulas, etc. Accepts file path, URL, or Base64.
|
|
668
|
-
|
|
669
|
-
Args:
|
|
670
|
-
input_data: The file to process (file path, URL, or Base64 string).
|
|
671
|
-
output_mode: The desired output format.
|
|
672
|
-
- "simple": (Default) Clean, readable markdown with embedded images. Best for most use cases.
|
|
673
|
-
- "detailed": JSON data about document structure, plus markdown. Only use this when coordinates are specifically required.
|
|
674
|
-
file_type: File type. This parameter is REQUIRED when `input_data` is a URL and should be omitted for other types.
|
|
675
|
-
- "image": For image files
|
|
676
|
-
- "pdf": For PDF documents
|
|
677
|
-
- None: For unknown file types
|
|
678
|
-
return_images: Whether to return the images extracted from the document.
|
|
679
|
-
"""
|
|
680
|
-
return await self.process(
|
|
681
|
-
input_data,
|
|
682
|
-
output_mode,
|
|
683
|
-
ctx,
|
|
684
|
-
file_type,
|
|
685
|
-
format_kwargs={"return_images": return_images},
|
|
686
|
-
)
|
|
687
|
-
|
|
688
|
-
def _create_local_engine(self) -> Any:
|
|
689
|
-
return PPStructureV3(
|
|
690
|
-
paddlex_config=self._pipeline_config,
|
|
691
|
-
device=self._device,
|
|
692
|
-
)
|
|
693
|
-
|
|
656
|
+
class _LayoutParsingHandler(SimpleInferencePipelineHandler):
|
|
694
657
|
def _get_service_endpoint(self) -> str:
|
|
695
|
-
return "layout-parsing"
|
|
658
|
+
return "layout-parsing" if self._ppocr_source != "qianfan" else "paddleocr"
|
|
696
659
|
|
|
697
660
|
def _transform_local_kwargs(self, kwargs: Dict[str, Any]) -> Dict[str, Any]:
|
|
698
661
|
return {
|
|
@@ -868,9 +831,100 @@ class PPStructureV3Handler(SimpleInferencePipelineHandler):
|
|
|
868
831
|
return content_list or [TextContent(type="text", text=markdown_text)]
|
|
869
832
|
|
|
870
833
|
|
|
834
|
+
class PPStructureV3Handler(_LayoutParsingHandler):
|
|
835
|
+
def register_tools(self, mcp: FastMCP) -> None:
|
|
836
|
+
@mcp.tool("pp_structurev3")
|
|
837
|
+
async def _pp_structurev3(
|
|
838
|
+
input_data: str,
|
|
839
|
+
output_mode: OutputMode = "simple",
|
|
840
|
+
file_type: Optional[str] = None,
|
|
841
|
+
return_images: bool = True,
|
|
842
|
+
*,
|
|
843
|
+
ctx: Context,
|
|
844
|
+
) -> Union[str, List[Union[TextContent, ImageContent]]]:
|
|
845
|
+
"""Extracts structured markdown from complex documents (images/PDFs), including tables, formulas, etc. Accepts file path, URL, or Base64.
|
|
846
|
+
|
|
847
|
+
Args:
|
|
848
|
+
input_data: The file to process (file path, URL, or Base64 string).
|
|
849
|
+
output_mode: The desired output format.
|
|
850
|
+
- "simple": (Default) Clean, readable markdown with embedded images. Best for most use cases.
|
|
851
|
+
- "detailed": JSON data about document structure, plus markdown. Only use this when coordinates are specifically required.
|
|
852
|
+
file_type: File type. This parameter is REQUIRED when `input_data` is a URL and should be omitted for other types.
|
|
853
|
+
- "image": For image files
|
|
854
|
+
- "pdf": For PDF documents
|
|
855
|
+
- None: For unknown file types
|
|
856
|
+
return_images: Whether to return the images extracted from the document.
|
|
857
|
+
"""
|
|
858
|
+
return await self.process(
|
|
859
|
+
input_data,
|
|
860
|
+
output_mode,
|
|
861
|
+
ctx,
|
|
862
|
+
file_type,
|
|
863
|
+
format_kwargs={"return_images": return_images},
|
|
864
|
+
)
|
|
865
|
+
|
|
866
|
+
def _create_local_engine(self) -> Any:
|
|
867
|
+
return PPStructureV3(
|
|
868
|
+
paddlex_config=self._pipeline_config,
|
|
869
|
+
device=self._device,
|
|
870
|
+
)
|
|
871
|
+
|
|
872
|
+
def _transform_service_kwargs(self, kwargs: Dict[str, Any]) -> Dict[str, Any]:
|
|
873
|
+
kwargs = super()._transform_service_kwargs(kwargs)
|
|
874
|
+
if self._ppocr_source == "qianfan":
|
|
875
|
+
kwargs["model"] = "pp-structurev3"
|
|
876
|
+
return kwargs
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
class PaddleOCRVLHandler(_LayoutParsingHandler):
|
|
880
|
+
def register_tools(self, mcp: FastMCP) -> None:
|
|
881
|
+
@mcp.tool("paddleocr_vl")
|
|
882
|
+
async def _paddleocr_vl(
|
|
883
|
+
input_data: str,
|
|
884
|
+
output_mode: OutputMode = "simple",
|
|
885
|
+
file_type: Optional[str] = None,
|
|
886
|
+
return_images: bool = True,
|
|
887
|
+
*,
|
|
888
|
+
ctx: Context,
|
|
889
|
+
) -> Union[str, List[Union[TextContent, ImageContent]]]:
|
|
890
|
+
"""Extracts structured markdown from complex documents (images/PDFs) using a VLM-based approach. The extracted elements include tables, formulas, etc. Accepts file path, URL, or Base64.
|
|
891
|
+
|
|
892
|
+
Args:
|
|
893
|
+
input_data: The file to process (file path, URL, or Base64 string).
|
|
894
|
+
output_mode: The desired output format.
|
|
895
|
+
- "simple": (Default) Clean, readable markdown with embedded images. Best for most use cases.
|
|
896
|
+
- "detailed": JSON data about document structure, plus markdown. Only use this when coordinates are specifically required.
|
|
897
|
+
file_type: File type. This parameter is REQUIRED when `input_data` is a URL and should be omitted for other types.
|
|
898
|
+
- "image": For image files
|
|
899
|
+
- "pdf": For PDF documents
|
|
900
|
+
- None: For unknown file types
|
|
901
|
+
return_images: Whether to return the images extracted from the document.
|
|
902
|
+
"""
|
|
903
|
+
return await self.process(
|
|
904
|
+
input_data,
|
|
905
|
+
output_mode,
|
|
906
|
+
ctx,
|
|
907
|
+
file_type,
|
|
908
|
+
format_kwargs={"return_images": return_images},
|
|
909
|
+
)
|
|
910
|
+
|
|
911
|
+
def _create_local_engine(self) -> Any:
|
|
912
|
+
return PaddleOCRVL(
|
|
913
|
+
paddlex_config=self._pipeline_config,
|
|
914
|
+
device=self._device,
|
|
915
|
+
)
|
|
916
|
+
|
|
917
|
+
def _transform_service_kwargs(self, kwargs: Dict[str, Any]) -> Dict[str, Any]:
|
|
918
|
+
kwargs = super()._transform_service_kwargs(kwargs)
|
|
919
|
+
if self._ppocr_source == "qianfan":
|
|
920
|
+
kwargs["model"] = "paddleocr-vl-0.9b"
|
|
921
|
+
return kwargs
|
|
922
|
+
|
|
923
|
+
|
|
871
924
|
_PIPELINE_HANDLERS: Dict[str, Type[PipelineHandler]] = {
|
|
872
925
|
"OCR": OCRHandler,
|
|
873
926
|
"PP-StructureV3": PPStructureV3Handler,
|
|
927
|
+
"PaddleOCR-VL": PaddleOCRVLHandler,
|
|
874
928
|
}
|
|
875
929
|
|
|
876
930
|
|
|
@@ -117,7 +117,9 @@ def _register_install_genai_server_deps_command(subparsers):
|
|
|
117
117
|
sys.exit("Failed to install dependencies")
|
|
118
118
|
|
|
119
119
|
subparser = subparsers.add_parser("install_genai_server_deps")
|
|
120
|
-
subparser.add_argument(
|
|
120
|
+
subparser.add_argument(
|
|
121
|
+
"variant", type=str, choices=["vllm", "sglang", "fastdeploy"]
|
|
122
|
+
)
|
|
121
123
|
subparser.set_defaults(executor=_install_genai_server_deps)
|
|
122
124
|
|
|
123
125
|
|
|
@@ -22,7 +22,7 @@ from .base import PaddleXPipelineWrapper, PipelineCLISubcommandExecutor
|
|
|
22
22
|
from .utils import create_config_from_structure
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
_SUPPORTED_VL_BACKENDS = ["native", "vllm-server", "sglang-server"]
|
|
25
|
+
_SUPPORTED_VL_BACKENDS = ["native", "vllm-server", "sglang-server", "fastdeploy-server"]
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
class PaddleOCRVL(PaddleXPipelineWrapper):
|
|
@@ -39,6 +39,8 @@ class PaddleOCRVL(PaddleXPipelineWrapper):
|
|
|
39
39
|
vl_rec_backend=None,
|
|
40
40
|
vl_rec_server_url=None,
|
|
41
41
|
vl_rec_max_concurrency=None,
|
|
42
|
+
vl_rec_api_model_name=None,
|
|
43
|
+
vl_rec_api_key=None,
|
|
42
44
|
doc_orientation_classify_model_name=None,
|
|
43
45
|
doc_orientation_classify_model_dir=None,
|
|
44
46
|
doc_unwarping_model_name=None,
|
|
@@ -196,6 +198,15 @@ class PaddleOCRVL(PaddleXPipelineWrapper):
|
|
|
196
198
|
"SubModules.VLRecognition.genai_config.server_url": self._params[
|
|
197
199
|
"vl_rec_server_url"
|
|
198
200
|
],
|
|
201
|
+
"SubModules.VLRecognition.genai_config.max_concurrency": self._params[
|
|
202
|
+
"vl_rec_max_concurrency"
|
|
203
|
+
],
|
|
204
|
+
"SubModules.VLRecognition.genai_config.client_kwargs.model_name": self._params[
|
|
205
|
+
"vl_rec_api_model_name"
|
|
206
|
+
],
|
|
207
|
+
"SubModules.VLRecognition.genai_config.client_kwargs.api_key": self._params[
|
|
208
|
+
"vl_rec_api_key"
|
|
209
|
+
],
|
|
199
210
|
"SubPipelines.DocPreprocessor.SubModules.DocOrientationClassify.model_name": self._params[
|
|
200
211
|
"doc_orientation_classify_model_name"
|
|
201
212
|
],
|
|
@@ -274,9 +285,19 @@ class PaddleOCRVLCLISubcommandExecutor(PipelineCLISubcommandExecutor):
|
|
|
274
285
|
)
|
|
275
286
|
subparser.add_argument(
|
|
276
287
|
"--vl_rec_max_concurrency",
|
|
277
|
-
type=
|
|
288
|
+
type=int,
|
|
278
289
|
help="Maximum concurrency for making VLM requests.",
|
|
279
290
|
)
|
|
291
|
+
subparser.add_argument(
|
|
292
|
+
"--vl_rec_api_model_name",
|
|
293
|
+
type=str,
|
|
294
|
+
help="Model name for the VLM server.",
|
|
295
|
+
)
|
|
296
|
+
subparser.add_argument(
|
|
297
|
+
"--vl_rec_api_key",
|
|
298
|
+
type=str,
|
|
299
|
+
help="API key for the VLM server.",
|
|
300
|
+
)
|
|
280
301
|
|
|
281
302
|
subparser.add_argument(
|
|
282
303
|
"--doc_orientation_classify_model_name",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: paddleocr
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.3
|
|
4
4
|
Summary: Awesome multilingual OCR and document parsing toolkits based on PaddlePaddle
|
|
5
5
|
Author-email: PaddlePaddle <paddleocr@baidu.com>
|
|
6
6
|
Maintainer-email: PaddlePaddle <paddleocr@baidu.com>
|
|
@@ -38,17 +38,24 @@ Requires-Dist: paddlex[genai-client,ie,ocr,trans]<3.4.0,>=3.3.0; extra == "all"
|
|
|
38
38
|
|
|
39
39
|
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)
|
|
40
40
|
|
|
41
|
+
<!-- icon -->
|
|
41
42
|
[](https://github.com/PaddlePaddle/PaddleOCR)
|
|
42
|
-
[](https://github.com/PaddlePaddle/PaddleOCR)
|
|
44
|
+
[](https://arxiv.org/pdf/2507.05595)
|
|
45
|
+
[](https://arxiv.org/abs/2510.14528)
|
|
46
|
+
|
|
47
|
+
[](https://pepy.tech/projectsproject/paddleocr)
|
|
48
|
+
[](https://pepy.tech/projects/paddleocr)
|
|
49
|
+
[](https://github.com/PaddlePaddle/PaddleOCR/network/dependents)
|
|
50
|
+
[](https://pypi.org/project/paddleocr/)
|
|
47
51
|

|
|
52
|
+
|
|
48
53
|

|
|
49
54
|

|
|
50
|
-
[](
|
|
55
|
+
[](../LICENSE)
|
|
51
56
|
[](https://deepwiki.com/PaddlePaddle/PaddleOCR)
|
|
57
|
+
[](https://www.paddleocr.com)
|
|
58
|
+
|
|
52
59
|
|
|
53
60
|
|
|
54
61
|
**PaddleOCR is an industry-leading, production-ready OCR and document AI engine, offering end-to-end solutions from text extraction to intelligent document understanding**
|
|
@@ -65,12 +72,14 @@ English | [简体中文](./readme/README_cn.md) | [繁體中文](./readme/README
|
|
|
65
72
|
> [!TIP]
|
|
66
73
|
> 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).
|
|
67
74
|
>
|
|
68
|
-
> The PaddleOCR 3.0 Technical Report is now available. See details at: [PaddleOCR 3.0 Technical Report](https://arxiv.org/abs/2507.05595)
|
|
75
|
+
> The PaddleOCR 3.0 Technical Report is now available. See details at: [PaddleOCR 3.0 Technical Report](https://arxiv.org/abs/2507.05595).
|
|
76
|
+
>
|
|
77
|
+
> The PaddleOCR-VL Technical Report is now available. See details at [PaddleOCR-VL Technical Report](https://arxiv.org/abs/2510.14528).
|
|
69
78
|
>
|
|
70
|
-
> The PaddleOCR
|
|
79
|
+
> The Beta version of the PaddleOCR official website is now live, offering a more convenient online experience and large-scale PDF file parsing, as well as free API and MCP services. For more details, please visit the [PaddleOCR official website](https://www.paddleocr.com).
|
|
71
80
|
|
|
72
81
|
|
|
73
|
-
**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 **
|
|
82
|
+
**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 **60,000 stars** and deep integration into leading projects like **MinerU, RAGFlow, pathway and cherry-studio**, PaddleOCR has become the **premier solution** for developers building intelligent document applications in the **AI era**.
|
|
74
83
|
|
|
75
84
|
### PaddleOCR 3.0 Core Features
|
|
76
85
|
|
|
@@ -459,15 +468,29 @@ for res in output:
|
|
|
459
468
|
|
|
460
469
|
## 🔄 Quick Overview of Execution Results
|
|
461
470
|
|
|
471
|
+
### PP-OCRv5
|
|
472
|
+
|
|
473
|
+
<div align="center">
|
|
474
|
+
<p>
|
|
475
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PP-OCRv5_demo.gif" alt="PP-OCRv5 Demo">
|
|
476
|
+
</p>
|
|
477
|
+
</div>
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
### PP-StructureV3
|
|
482
|
+
|
|
462
483
|
<div align="center">
|
|
463
484
|
<p>
|
|
464
|
-
|
|
485
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PP-StructureV3_demo.gif" alt="PP-StructureV3 Demo">
|
|
465
486
|
</p>
|
|
466
487
|
</div>
|
|
467
488
|
|
|
489
|
+
### PaddleOCR-VL
|
|
490
|
+
|
|
468
491
|
<div align="center">
|
|
469
492
|
<p>
|
|
470
|
-
|
|
493
|
+
<img width="100%" src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/paddleocr/README/PaddleOCR-VL_demo.gif" alt="PP-StructureV3 Demo">
|
|
471
494
|
</p>
|
|
472
495
|
</div>
|
|
473
496
|
|
|
@@ -20,6 +20,7 @@ import datetime
|
|
|
20
20
|
import functools
|
|
21
21
|
import cv2
|
|
22
22
|
import platform
|
|
23
|
+
import subprocess
|
|
23
24
|
import numpy as np
|
|
24
25
|
from paddle.utils import try_import
|
|
25
26
|
|
|
@@ -488,7 +489,7 @@ class APP_Image2Doc(QWidget):
|
|
|
488
489
|
if platform.system() == "Windows":
|
|
489
490
|
os.startfile(self.output_dir)
|
|
490
491
|
else:
|
|
491
|
-
|
|
492
|
+
subprocess.check_call(["open", os.path.normpath(self.output_dir)])
|
|
492
493
|
else:
|
|
493
494
|
QMessageBox.information(self, "Information", "输出文件不存在")
|
|
494
495
|
|