paddleocr 2.8.0__tar.gz → 2.9.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-2.9.0/MANIFEST.in +22 -0
- paddleocr-2.9.0/PKG-INFO +117 -0
- paddleocr-2.9.0/README.md +78 -0
- paddleocr-2.9.0/README_en.md +95 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/__init__.py +12 -1
- paddleocr-2.9.0/paddleocr.egg-info/PKG-INFO +117 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/paddleocr.egg-info/SOURCES.txt +57 -3
- {paddleocr-2.8.0 → paddleocr-2.9.0}/paddleocr.egg-info/requires.txt +1 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/paddleocr.py +101 -20
- paddleocr-2.9.0/ppocr/__init__.py +13 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/__init__.py +3 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/collate_fn.py +15 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/__init__.py +1 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/label_ops.py +106 -0
- paddleocr-2.9.0/ppocr/data/imaug/latex_ocr_aug.py +183 -0
- paddleocr-2.9.0/ppocr/data/latexocr_dataset.py +174 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/simple_dataset.py +0 -26
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/__init__.py +2 -0
- paddleocr-2.9.0/ppocr/postprocess/pse_postprocess/pse/README.md +6 -0
- paddleocr-2.9.0/ppocr/postprocess/pse_postprocess/pse/pse.pyx +70 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/rec_postprocess.py +52 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/table_postprocess.py +3 -0
- paddleocr-2.9.0/ppocr/utils/dict/bm_dict_add.txt +3219 -0
- paddleocr-2.9.0/ppocr/utils/dict/bn_dict.txt +477 -0
- paddleocr-2.9.0/ppocr/utils/dict/hebrew_dict.txt +214 -0
- paddleocr-2.9.0/ppocr/utils/dict/latex_ocr_tokenizer.json +1 -0
- paddleocr-2.9.0/ppocr/utils/dict/samaritan_dict.txt +222 -0
- paddleocr-2.9.0/ppocr/utils/dict/syriac_dict.txt +157 -0
- paddleocr-2.9.0/ppocr/utils/dict/vi_dict.txt +113 -0
- paddleocr-2.9.0/ppocr/utils/export_model.py +382 -0
- paddleocr-2.9.0/ppocr/utils/formula_utils/math_txt2pkl.py +74 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/loggers/wandb_logger.py +2 -3
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/logging.py +9 -2
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/network.py +70 -12
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/save_load.py +92 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/utility.py +21 -10
- paddleocr-2.9.0/ppstructure/README.md +120 -0
- paddleocr-2.9.0/ppstructure/README_ch.md +126 -0
- paddleocr-2.9.0/ppstructure/kie/README.md +289 -0
- paddleocr-2.9.0/ppstructure/kie/README_ch.md +271 -0
- paddleocr-2.9.0/ppstructure/kie/how_to_do_kie.md +168 -0
- paddleocr-2.9.0/ppstructure/kie/how_to_do_kie_en.md +179 -0
- paddleocr-2.9.0/ppstructure/kie/requirements.txt +7 -0
- paddleocr-2.9.0/ppstructure/layout/README.md +470 -0
- paddleocr-2.9.0/ppstructure/layout/README_ch.md +469 -0
- paddleocr-2.9.0/ppstructure/pdf2word/README.md +49 -0
- paddleocr-2.9.0/ppstructure/pdf2word/icons/chinese.png +0 -0
- paddleocr-2.9.0/ppstructure/pdf2word/icons/english.png +0 -0
- paddleocr-2.9.0/ppstructure/pdf2word/icons/folder-open.png +0 -0
- paddleocr-2.9.0/ppstructure/pdf2word/icons/folder-plus.png +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/predict_system.py +22 -1
- paddleocr-2.9.0/ppstructure/recovery/README.md +213 -0
- paddleocr-2.9.0/ppstructure/recovery/README_ch.md +222 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/recovery/recovery_to_doc.py +2 -0
- paddleocr-2.9.0/ppstructure/recovery/recovery_to_markdown.py +182 -0
- paddleocr-2.9.0/ppstructure/recovery/requirements.txt +4 -0
- paddleocr-2.9.0/ppstructure/return_word_pos.md +85 -0
- paddleocr-2.9.0/ppstructure/table/README.md +159 -0
- paddleocr-2.9.0/ppstructure/table/README_ch.md +163 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/matcher.py +3 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/utility.py +24 -1
- {paddleocr-2.8.0 → paddleocr-2.9.0}/pyproject.toml +10 -3
- paddleocr-2.9.0/requirements.txt +17 -0
- paddleocr-2.9.0/tools/end2end/convert_ppocr_label.py +103 -0
- paddleocr-2.9.0/tools/end2end/draw_html.py +72 -0
- paddleocr-2.9.0/tools/end2end/eval_end2end.py +191 -0
- paddleocr-2.9.0/tools/end2end/readme.md +63 -0
- paddleocr-2.9.0/tools/eval.py +170 -0
- paddleocr-2.9.0/tools/export_center.py +77 -0
- paddleocr-2.9.0/tools/export_model.py +37 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/tools/infer/predict_det.py +3 -1
- {paddleocr-2.8.0 → paddleocr-2.9.0}/tools/infer/predict_rec.py +119 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/tools/infer/predict_system.py +1 -1
- {paddleocr-2.8.0 → paddleocr-2.9.0}/tools/infer/utility.py +16 -13
- paddleocr-2.9.0/tools/infer_cls.py +84 -0
- paddleocr-2.9.0/tools/infer_det.py +136 -0
- paddleocr-2.9.0/tools/infer_e2e.py +170 -0
- paddleocr-2.9.0/tools/infer_kie.py +186 -0
- paddleocr-2.9.0/tools/infer_kie_token_ser.py +178 -0
- paddleocr-2.9.0/tools/infer_kie_token_ser_re.py +226 -0
- paddleocr-2.9.0/tools/infer_rec.py +206 -0
- paddleocr-2.9.0/tools/infer_sr.py +101 -0
- paddleocr-2.9.0/tools/infer_table.py +120 -0
- paddleocr-2.9.0/tools/naive_sync_bn.py +121 -0
- paddleocr-2.9.0/tools/program.py +894 -0
- paddleocr-2.9.0/tools/test_hubserving.py +162 -0
- paddleocr-2.9.0/tools/train.py +270 -0
- paddleocr-2.8.0/MANIFEST.in +0 -10
- paddleocr-2.8.0/PKG-INFO +0 -287
- paddleocr-2.8.0/README.md +0 -253
- paddleocr-2.8.0/VERSION_NUMBER +0 -1
- paddleocr-2.8.0/paddleocr.egg-info/PKG-INFO +0 -287
- paddleocr-2.8.0/tests/test_cls_postprocess.py +0 -63
- paddleocr-2.8.0/tests/test_paddleocr_api.py +0 -116
- {paddleocr-2.8.0 → paddleocr-2.9.0}/LICENSE +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/paddleocr.egg-info/dependency_links.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/paddleocr.egg-info/entry_points.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/paddleocr.egg-info/top_level.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/ColorJitter.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/abinet_aug.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/copy_paste.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/ct_process.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/drrg_targets.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/east_process.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/fce_aug.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/fce_targets.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/iaa_augment.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/make_border_map.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/make_pse_gt.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/make_shrink_map.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/operators.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/pg_process.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/randaugment.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/random_crop_data.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/rec_img_aug.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/sast_process.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/ssl_img_aug.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/table_ops.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/text_image_aug/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/text_image_aug/augment.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/text_image_aug/warp_mls.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/vqa/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/vqa/augment.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/vqa/token/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/vqa/token/vqa_re_convert.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/vqa/token/vqa_token_chunk.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/vqa/token/vqa_token_pad.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/imaug/vqa/token/vqa_token_relation.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/lmdb_dataset.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/multi_scale_sampler.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/pgnet_dataset.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/data/pubtab_dataset.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/cls_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/ct_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/db_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/drrg_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/east_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/fce_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/locality_aware_nms.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/pg_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/picodet_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/pse_postprocess/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/pse_postprocess/pse/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/pse_postprocess/pse/setup.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/pse_postprocess/pse_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/sast_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/EN_symbol_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/README.md +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/ar_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/arabic_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/be_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/bengali_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/bg_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/bm_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/chinese_cht_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/confuse.pkl +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/cyrillic_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/devanagari_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/en_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/fa_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/french_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/german_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/gujarati_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/hi_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/it_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/japan_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/ka_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/kazakh_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/kie_dict/xfund_class_list.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/korean_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/latex_symbol_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/latin_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/layout_dict/layout_cdla_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/layout_dict/layout_publaynet_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/layout_dict/layout_table_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/mr_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/ne_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/oc_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/parseq_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/pu_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/rs_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/rsc_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/ru_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/spin_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/ta_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/table_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/table_master_structure_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/table_structure_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/table_structure_dict_ch.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/te_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/ug_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/uk_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/ur_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict/xi_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/dict90.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/e2e_metric/Deteval.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/e2e_metric/polygon_fast.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/e2e_utils/extract_batchsize.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/e2e_utils/extract_textpoint_fast.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/e2e_utils/extract_textpoint_slow.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/e2e_utils/pgnet_pp_utils.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/e2e_utils/visual.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/en_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/gen_label.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/ic15_dict.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/iou.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/loggers/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/loggers/base_logger.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/loggers/loggers.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/poly_nms.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/ppocr_keys_v1.txt +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/profiler.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/stats.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppocr/utils/visual.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/kie/predict_kie_token_ser.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/kie/predict_kie_token_ser_re.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/kie/tools/eval_with_label_end2end.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/kie/tools/trans_funsd_label.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/kie/tools/trans_xfun_data.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/layout/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/layout/predict_layout.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/pdf2word/pdf2word.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/recovery/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/recovery/table_process.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/convert_label2html.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/eval_table.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/predict_structure.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/predict_table.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/table_master_match.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/table_metric/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/table_metric/parallel.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/table_metric/table_metric.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/tablepyxl/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/tablepyxl/style.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/ppstructure/table/tablepyxl/tablepyxl.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/setup.cfg +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/setup.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/tools/__init__.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/tools/infer/predict_cls.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/tools/infer/predict_e2e.py +0 -0
- {paddleocr-2.8.0 → paddleocr-2.9.0}/tools/infer/predict_sr.py +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
prune .github
|
|
2
|
+
prune applications
|
|
3
|
+
prune benchmark
|
|
4
|
+
prune configs
|
|
5
|
+
prune deploy
|
|
6
|
+
prune doc
|
|
7
|
+
prune docs
|
|
8
|
+
prune overrides
|
|
9
|
+
prune ppocr/ext_op
|
|
10
|
+
prune ppocr/losses
|
|
11
|
+
prune ppocr/metrics
|
|
12
|
+
prune ppocr/modeling
|
|
13
|
+
prune ppocr/optimizer
|
|
14
|
+
prune ppstructure/docs
|
|
15
|
+
prune test_tipc
|
|
16
|
+
prune tests
|
|
17
|
+
exclude .clang_format.hook
|
|
18
|
+
exclude .gitignore
|
|
19
|
+
exclude .pre-commit-config.yaml
|
|
20
|
+
exclude .style.yapf
|
|
21
|
+
exclude mkdocs.yml
|
|
22
|
+
exclude train.sh
|
paddleocr-2.9.0/PKG-INFO
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: paddleocr
|
|
3
|
+
Version: 2.9.0
|
|
4
|
+
Summary: Awesome OCR toolkits based on PaddlePaddle(8.6M ultra-lightweight pre-trained model, support training and deployment among server, mobile, embedded and IoT devices)
|
|
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: shapely
|
|
22
|
+
Requires-Dist: scikit-image
|
|
23
|
+
Requires-Dist: imgaug
|
|
24
|
+
Requires-Dist: pyclipper
|
|
25
|
+
Requires-Dist: lmdb
|
|
26
|
+
Requires-Dist: tqdm
|
|
27
|
+
Requires-Dist: numpy<2.0
|
|
28
|
+
Requires-Dist: rapidfuzz
|
|
29
|
+
Requires-Dist: opencv-python
|
|
30
|
+
Requires-Dist: opencv-contrib-python
|
|
31
|
+
Requires-Dist: cython
|
|
32
|
+
Requires-Dist: Pillow
|
|
33
|
+
Requires-Dist: pyyaml
|
|
34
|
+
Requires-Dist: python-docx
|
|
35
|
+
Requires-Dist: beautifulsoup4
|
|
36
|
+
Requires-Dist: fonttools>=4.24.0
|
|
37
|
+
Requires-Dist: fire>=0.3.0
|
|
38
|
+
Requires-Dist: requests
|
|
39
|
+
|
|
40
|
+
[English](README_en.md) | 简体中文
|
|
41
|
+
|
|
42
|
+
<p align="center">
|
|
43
|
+
<img src="https://github.com/PaddlePaddle/PaddleOCR/releases/download/v2.8.0/PaddleOCR_logo.png" align="middle" width = "600"/>
|
|
44
|
+
<p align="center">
|
|
45
|
+
<p align="center">
|
|
46
|
+
<a href="https://discord.gg/z9xaRVjdbD"><img src="https://img.shields.io/badge/Chat-on%20discord-7289da.svg?sanitize=true" alt="Chat"></a>
|
|
47
|
+
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-Apache%202-dfd.svg"></a>
|
|
48
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/releases"><img src="https://img.shields.io/github/v/release/PaddlePaddle/PaddleOCR?color=ffa"></a>
|
|
49
|
+
<a href=""><img src="https://img.shields.io/badge/python-3.7+-aff.svg"></a>
|
|
50
|
+
<a href=""><img src="https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-pink.svg"></a>
|
|
51
|
+
<a href="https://pypi.org/project/PaddleOCR/"><img src="https://img.shields.io/pypi/dm/PaddleOCR?color=9cf"></a>
|
|
52
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/stargazers"><img src="https://img.shields.io/github/stars/PaddlePaddle/PaddleOCR?color=ccf"></a>
|
|
53
|
+
</p>
|
|
54
|
+
|
|
55
|
+
## 简介
|
|
56
|
+
|
|
57
|
+
PaddleOCR 旨在打造一套丰富、领先、且实用的 OCR 工具库,助力开发者训练出更好的模型,并应用落地。
|
|
58
|
+
|
|
59
|
+
<div align="center">
|
|
60
|
+
<img src="https://github.com/PaddlePaddle/PaddleOCR/releases/download/v2.8.0/demo.gif" width="800">
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
## 🚀 社区
|
|
64
|
+
|
|
65
|
+
PaddleOCR 由 [PMC](https://github.com/PaddlePaddle/PaddleOCR/issues/12122) 监督。Issues 和 PRs 将在尽力的基础上进行审查。欲了解 PaddlePaddle 社区的完整概况,请访问 [community](https://github.com/PaddlePaddle/community)。
|
|
66
|
+
|
|
67
|
+
⚠️注意:[Issues](https://github.com/PaddlePaddle/PaddleOCR/issues)模块仅用来报告程序🐞Bug,其余提问请移步[Discussions](https://github.com/PaddlePaddle/PaddleOCR/discussions)模块提问。如所提Issue不是Bug,会被移到Discussions模块,敬请谅解。
|
|
68
|
+
|
|
69
|
+
## 📣 近期更新([more](https://paddlepaddle.github.io/PaddleOCR/latest/update.html))
|
|
70
|
+
|
|
71
|
+
- 🔥🔥《PaddleX文档信息个性化抽取新升级》,PP-ChatOCRv3创新性提供了基于数据融合技术的OCR模型二次开发功能,具备更强的模型微调能力。百万级高质量通用OCR文本识别数据,按特定比例自动融入垂类模型训练数据,破解产业垂类模型训练导致通用文本识别能力减弱难题。适用自动化办公、金融风控、医疗健康、教育出版、法律党政等产业实际场景。**10月17日(周四)19:00**直播为您详细解读数据融合技术以及如何利用提示词工程实现更好的信息抽取效果。 [报名链接](https://www.wjx.top/vm/mFhGfwx.aspx?udsid=772552)
|
|
72
|
+
|
|
73
|
+
- **🔥2024.10.1 添加OCR领域低代码全流程开发能力**:
|
|
74
|
+
* 飞桨低代码开发工具PaddleX,依托于PaddleOCR的先进技术,支持了OCR领域的低代码全流程开发能力:
|
|
75
|
+
* 🎨 [**模型丰富一键调用**](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/quick_start.html):将文本图像智能分析、通用OCR、通用版面解析、通用表格识别、公式识别、印章文本识别涉及的**17个模型**整合为6条模型产线,通过极简的**Python API一键调用**,快速体验模型效果。此外,同一套API,也支持图像分类、目标检测、图像分割、时序预测等共计**200+模型**,形成20+单功能模块,方便开发者进行**模型组合**使用。
|
|
76
|
+
* 🚀[**提高效率降低门槛**](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/overview.html):提供基于**统一命令**和**图形界面**两种方式,实现模型简洁高效的使用、组合与定制。支持**高性能推理、服务化部署和端侧部署**等多种部署方式。此外,对于各种主流硬件如**英伟达GPU、昆仑芯、昇腾、寒武纪和海光**等,进行模型开发时,都可以**无缝切换**。
|
|
77
|
+
|
|
78
|
+
* 支持文档场景信息抽取v3([PP-ChatOCRv3-doc](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/pipeline_usage/tutorials/information_extration_pipelines/document_scene_information_extraction.md))、基于RT-DETR的[高精度版面区域检测模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/layout_detection.md)和PicoDet的[高效率版面区域检测模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/layout_detection.md)、高精度表格结构识别模型[SLANet_Plus](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/table_structure_recognition.md)、文本图像矫正模型[UVDoc](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/text_image_unwarping.md)、公式识别模型[LatexOCR](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/formula_recognition.md)、基于PP-LCNet的[文档图像方向分类模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/doc_img_orientation_classification.md)
|
|
79
|
+
|
|
80
|
+
- **🔥2024.7 添加 PaddleOCR 算法模型挑战赛冠军方案**:
|
|
81
|
+
- 赛题一:OCR 端到端识别任务冠军方案——[场景文本识别算法-SVTRv2](https://paddlepaddle.github.io/PaddleOCR/latest/algorithm/text_recognition/algorithm_rec_svtrv2.html);
|
|
82
|
+
- 赛题二:通用表格识别任务冠军方案——[表格识别算法-SLANet-LCNetV2](https://paddlepaddle.github.io/PaddleOCR/latest/algorithm/table_recognition/algorithm_table_slanet.html)。
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## 🌟 特性
|
|
86
|
+
|
|
87
|
+
支持多种 OCR 相关前沿算法,在此基础上打造产业级特色模型PP-、PP-Structure和PP-ChatOCR,并打通数据生产、模型训练、压缩、预测部署全流程。
|
|
88
|
+
|
|
89
|
+
<div align="center">
|
|
90
|
+
<img src="./docs/images/ppocrv4.png">
|
|
91
|
+
</div>
|
|
92
|
+
|
|
93
|
+
## ⚡ [快速开始](https://paddlepaddle.github.io/PaddleOCR/latest/quick_start.html)
|
|
94
|
+
|
|
95
|
+
## 🔥 [低代码全流程开发](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/overview.html)
|
|
96
|
+
|
|
97
|
+
## 📝 文档
|
|
98
|
+
|
|
99
|
+
完整文档请移步:[docs](https://paddlepaddle.github.io/PaddleOCR/latest/)
|
|
100
|
+
|
|
101
|
+
## 📚《动手学 OCR》电子书
|
|
102
|
+
|
|
103
|
+
- [《动手学 OCR》电子书](https://paddlepaddle.github.io/PaddleOCR/latest/ppocr/blog/ocr_book.html)
|
|
104
|
+
|
|
105
|
+
## 🎖 贡献者
|
|
106
|
+
|
|
107
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/graphs/contributors">
|
|
108
|
+
<img src="https://contrib.rocks/image?repo=PaddlePaddle/PaddleOCR&max=400&columns=20" width="800"/>
|
|
109
|
+
</a>
|
|
110
|
+
|
|
111
|
+
## ⭐️ Star
|
|
112
|
+
|
|
113
|
+
[](https://star-history.com/#PaddlePaddle/PaddleOCR&Date)
|
|
114
|
+
|
|
115
|
+
## 许可证书
|
|
116
|
+
|
|
117
|
+
本项目的发布受 [Apache License Version 2.0](./LICENSE) 许可认证。
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
[English](README_en.md) | 简体中文
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://github.com/PaddlePaddle/PaddleOCR/releases/download/v2.8.0/PaddleOCR_logo.png" align="middle" width = "600"/>
|
|
5
|
+
<p align="center">
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://discord.gg/z9xaRVjdbD"><img src="https://img.shields.io/badge/Chat-on%20discord-7289da.svg?sanitize=true" alt="Chat"></a>
|
|
8
|
+
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-Apache%202-dfd.svg"></a>
|
|
9
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/releases"><img src="https://img.shields.io/github/v/release/PaddlePaddle/PaddleOCR?color=ffa"></a>
|
|
10
|
+
<a href=""><img src="https://img.shields.io/badge/python-3.7+-aff.svg"></a>
|
|
11
|
+
<a href=""><img src="https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-pink.svg"></a>
|
|
12
|
+
<a href="https://pypi.org/project/PaddleOCR/"><img src="https://img.shields.io/pypi/dm/PaddleOCR?color=9cf"></a>
|
|
13
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/stargazers"><img src="https://img.shields.io/github/stars/PaddlePaddle/PaddleOCR?color=ccf"></a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
## 简介
|
|
17
|
+
|
|
18
|
+
PaddleOCR 旨在打造一套丰富、领先、且实用的 OCR 工具库,助力开发者训练出更好的模型,并应用落地。
|
|
19
|
+
|
|
20
|
+
<div align="center">
|
|
21
|
+
<img src="https://github.com/PaddlePaddle/PaddleOCR/releases/download/v2.8.0/demo.gif" width="800">
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
## 🚀 社区
|
|
25
|
+
|
|
26
|
+
PaddleOCR 由 [PMC](https://github.com/PaddlePaddle/PaddleOCR/issues/12122) 监督。Issues 和 PRs 将在尽力的基础上进行审查。欲了解 PaddlePaddle 社区的完整概况,请访问 [community](https://github.com/PaddlePaddle/community)。
|
|
27
|
+
|
|
28
|
+
⚠️注意:[Issues](https://github.com/PaddlePaddle/PaddleOCR/issues)模块仅用来报告程序🐞Bug,其余提问请移步[Discussions](https://github.com/PaddlePaddle/PaddleOCR/discussions)模块提问。如所提Issue不是Bug,会被移到Discussions模块,敬请谅解。
|
|
29
|
+
|
|
30
|
+
## 📣 近期更新([more](https://paddlepaddle.github.io/PaddleOCR/latest/update.html))
|
|
31
|
+
|
|
32
|
+
- 🔥🔥《PaddleX文档信息个性化抽取新升级》,PP-ChatOCRv3创新性提供了基于数据融合技术的OCR模型二次开发功能,具备更强的模型微调能力。百万级高质量通用OCR文本识别数据,按特定比例自动融入垂类模型训练数据,破解产业垂类模型训练导致通用文本识别能力减弱难题。适用自动化办公、金融风控、医疗健康、教育出版、法律党政等产业实际场景。**10月17日(周四)19:00**直播为您详细解读数据融合技术以及如何利用提示词工程实现更好的信息抽取效果。 [报名链接](https://www.wjx.top/vm/mFhGfwx.aspx?udsid=772552)
|
|
33
|
+
|
|
34
|
+
- **🔥2024.10.1 添加OCR领域低代码全流程开发能力**:
|
|
35
|
+
* 飞桨低代码开发工具PaddleX,依托于PaddleOCR的先进技术,支持了OCR领域的低代码全流程开发能力:
|
|
36
|
+
* 🎨 [**模型丰富一键调用**](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/quick_start.html):将文本图像智能分析、通用OCR、通用版面解析、通用表格识别、公式识别、印章文本识别涉及的**17个模型**整合为6条模型产线,通过极简的**Python API一键调用**,快速体验模型效果。此外,同一套API,也支持图像分类、目标检测、图像分割、时序预测等共计**200+模型**,形成20+单功能模块,方便开发者进行**模型组合**使用。
|
|
37
|
+
* 🚀[**提高效率降低门槛**](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/overview.html):提供基于**统一命令**和**图形界面**两种方式,实现模型简洁高效的使用、组合与定制。支持**高性能推理、服务化部署和端侧部署**等多种部署方式。此外,对于各种主流硬件如**英伟达GPU、昆仑芯、昇腾、寒武纪和海光**等,进行模型开发时,都可以**无缝切换**。
|
|
38
|
+
|
|
39
|
+
* 支持文档场景信息抽取v3([PP-ChatOCRv3-doc](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/pipeline_usage/tutorials/information_extration_pipelines/document_scene_information_extraction.md))、基于RT-DETR的[高精度版面区域检测模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/layout_detection.md)和PicoDet的[高效率版面区域检测模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/layout_detection.md)、高精度表格结构识别模型[SLANet_Plus](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/table_structure_recognition.md)、文本图像矫正模型[UVDoc](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/text_image_unwarping.md)、公式识别模型[LatexOCR](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/formula_recognition.md)、基于PP-LCNet的[文档图像方向分类模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/doc_img_orientation_classification.md)
|
|
40
|
+
|
|
41
|
+
- **🔥2024.7 添加 PaddleOCR 算法模型挑战赛冠军方案**:
|
|
42
|
+
- 赛题一:OCR 端到端识别任务冠军方案——[场景文本识别算法-SVTRv2](https://paddlepaddle.github.io/PaddleOCR/latest/algorithm/text_recognition/algorithm_rec_svtrv2.html);
|
|
43
|
+
- 赛题二:通用表格识别任务冠军方案——[表格识别算法-SLANet-LCNetV2](https://paddlepaddle.github.io/PaddleOCR/latest/algorithm/table_recognition/algorithm_table_slanet.html)。
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## 🌟 特性
|
|
47
|
+
|
|
48
|
+
支持多种 OCR 相关前沿算法,在此基础上打造产业级特色模型PP-、PP-Structure和PP-ChatOCR,并打通数据生产、模型训练、压缩、预测部署全流程。
|
|
49
|
+
|
|
50
|
+
<div align="center">
|
|
51
|
+
<img src="./docs/images/ppocrv4.png">
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
## ⚡ [快速开始](https://paddlepaddle.github.io/PaddleOCR/latest/quick_start.html)
|
|
55
|
+
|
|
56
|
+
## 🔥 [低代码全流程开发](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/overview.html)
|
|
57
|
+
|
|
58
|
+
## 📝 文档
|
|
59
|
+
|
|
60
|
+
完整文档请移步:[docs](https://paddlepaddle.github.io/PaddleOCR/latest/)
|
|
61
|
+
|
|
62
|
+
## 📚《动手学 OCR》电子书
|
|
63
|
+
|
|
64
|
+
- [《动手学 OCR》电子书](https://paddlepaddle.github.io/PaddleOCR/latest/ppocr/blog/ocr_book.html)
|
|
65
|
+
|
|
66
|
+
## 🎖 贡献者
|
|
67
|
+
|
|
68
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/graphs/contributors">
|
|
69
|
+
<img src="https://contrib.rocks/image?repo=PaddlePaddle/PaddleOCR&max=400&columns=20" width="800"/>
|
|
70
|
+
</a>
|
|
71
|
+
|
|
72
|
+
## ⭐️ Star
|
|
73
|
+
|
|
74
|
+
[](https://star-history.com/#PaddlePaddle/PaddleOCR&Date)
|
|
75
|
+
|
|
76
|
+
## 许可证书
|
|
77
|
+
|
|
78
|
+
本项目的发布受 [Apache License Version 2.0](./LICENSE) 许可认证。
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
English | [简体中文](README.md)
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://github.com/PaddlePaddle/PaddleOCR/releases/download/v2.8.0/PaddleOCR_logo.png" align="middle" width = "600"/>
|
|
5
|
+
<p align="center">
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://discord.gg/z9xaRVjdbD"><img src="https://img.shields.io/badge/Chat-on%20discord-7289da.svg?sanitize=true" alt="Chat"></a>
|
|
8
|
+
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-Apache%202-dfd.svg"></a>
|
|
9
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/releases"><img src="https://img.shields.io/github/v/release/PaddlePaddle/PaddleOCR?color=ffa"></a>
|
|
10
|
+
<a href=""><img src="https://img.shields.io/badge/python-3.7+-aff.svg"></a>
|
|
11
|
+
<a href=""><img src="https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-pink.svg"></a>
|
|
12
|
+
<a href="https://pypi.org/project/PaddleOCR/"><img src="https://img.shields.io/pypi/dm/PaddleOCR?color=9cf"></a>
|
|
13
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/stargazers"><img src="https://img.shields.io/github/stars/PaddlePaddle/PaddleOCR?color=ccf"></a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
## Introduction
|
|
17
|
+
|
|
18
|
+
PaddleOCR aims to create multilingual, awesome, leading, and practical OCR tools that help users train better models and apply them into practice.
|
|
19
|
+
|
|
20
|
+
<div align="center">
|
|
21
|
+
<img src="https://github.com/PaddlePaddle/PaddleOCR/releases/download/v2.8.0/demo.gif" width="800">
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
## 🚀 Community
|
|
25
|
+
|
|
26
|
+
PaddleOCR is being oversight by a [PMC](https://github.com/PaddlePaddle/PaddleOCR/issues/12122). Issues and PRs will be reviewed on a best-effort basis. For a complete overview of PaddlePaddle community, please visit [community](https://github.com/PaddlePaddle/community).
|
|
27
|
+
|
|
28
|
+
⚠️ Note: The [Issues](https://github.com/PaddlePaddle/PaddleOCR/issues) module is only for reporting program 🐞 bugs, for the rest of the questions, please move to the [Discussions](https://github.com/PaddlePaddle/PaddleOCR/discussions). Please note that if the Issue mentioned is not a bug, it will be moved to the Discussions module.
|
|
29
|
+
|
|
30
|
+
## 📣 Recent updates ([more](https://paddlepaddle.github.io/PaddleOCR/latest/en/update.html))
|
|
31
|
+
|
|
32
|
+
- **🔥 2024.10.18 release PaddleOCR v2.9, including**:
|
|
33
|
+
* PaddleX, an All-in-One development tool based on PaddleOCR's advanced technology, supports low-code full-process development capabilities in the OCR field:
|
|
34
|
+
* 🎨 [**Rich Model One-Click Call**](https://paddlepaddle.github.io/PaddleOCR/latest/en/paddlex/quick_start.html): Integrates **17 models** related to text image intelligent analysis, general OCR, general layout parsing, table recognition, formula recognition, and seal recognition into 6 pipelines, which can be quickly experienced through a simple **Python API one-click call**. In addition, the same set of APIs also supports a total of **200+ models** in image classification, object detection, image segmentation, and time series forcasting, forming 20+ single-function modules, making it convenient for developers to use **model combinations**.
|
|
35
|
+
|
|
36
|
+
* 🚀 [**High Efficiency and Low barrier of entry**](https://paddlepaddle.github.io/PaddleOCR/latest/en/paddlex/overview.html): Provides two methods based on **unified commands** and **GUI** to achieve simple and efficient use, combination, and customization of models. Supports multiple deployment methods such as **high-performance inference, service-oriented deployment, and edge deployment**. Additionally, for various mainstream hardware such as **NVIDIA GPU, Kunlunxin XPU, Ascend NPU, Cambricon MLU, and Haiguang DCU**, models can be developed with **seamless switching**.
|
|
37
|
+
|
|
38
|
+
* Supports [PP-ChatOCRv3-doc](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/pipeline_usage/tutorials/information_extration_pipelines/document_scene_information_extraction_en.md), [high-precision layout detection model based on RT-DETR](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/layout_detection_en.md) and [high-efficiency layout area detection model based on PicoDet](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/layout_detection_en.md), [high-precision table structure recognition model](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/table_structure_recognition_en.md), text image unwarping model [UVDoc](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/text_image_unwarping_en.md), formula recognition model [LatexOCR](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/formula_recognition_en.md), and [document image orientation classification model based on PP-LCNet](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/doc_img_orientation_classification_en.md).
|
|
39
|
+
|
|
40
|
+
- **🔥2024.7 Added PaddleOCR Algorithm Model Challenge Champion Solutions**:
|
|
41
|
+
- Challenge One, OCR End-to-End Recognition Task Champion Solution: [Scene Text Recognition Algorithm-SVTRv2](https://paddlepaddle.github.io/PaddleOCR/algorithm/text_recognition/algorithm_rec_svtrv2.html);
|
|
42
|
+
- Challenge Two, General Table Recognition Task Champion Solution: [Table Recognition Algorithm-SLANet-LCNetV2](https://paddlepaddle.github.io/PaddleOCR/algorithm/table_recognition/algorithm_table_slanet.html).
|
|
43
|
+
|
|
44
|
+
## 📚 Documentation
|
|
45
|
+
|
|
46
|
+
Full documentation can be found on [docs](https://paddlepaddle.github.io/PaddleOCR/latest/en/index.html).
|
|
47
|
+
|
|
48
|
+
## 🌟 Features
|
|
49
|
+
|
|
50
|
+
PaddleOCR support a variety of cutting-edge algorithms related to OCR, and developed industrial featured models/solution [PP-OCR](https://paddlepaddle.github.io/PaddleOCR/latest/en/ppocr/overview.html)、 [PP-Structure](https://paddlepaddle.github.io/PaddleOCR/latest/en/ppstructure/overview.html) and [PP-ChatOCR](https://aistudio.baidu.com/aistudio/projectdetail/6488689) on this basis, and get through the whole process of data production, model training, compression, inference and deployment.
|
|
51
|
+
|
|
52
|
+
<div align="center">
|
|
53
|
+
<img src="./docs/images/ppocrv4.png">
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
> It is recommended to start with the “quick experience” in the document tutorial
|
|
57
|
+
|
|
58
|
+
## ⚡ [Quick Start](https://paddlepaddle.github.io/PaddleOCR/latest/en/quick_start.html)
|
|
59
|
+
|
|
60
|
+
## 📖 Technical exchange and cooperation
|
|
61
|
+
|
|
62
|
+
PaddleX provides a one-stop full-process high-efficiency development platform for flying paddle ecological model training, pressure, and push. Its mission is to help AI technology quickly land, and its vision is to make everyone an AI Developer!
|
|
63
|
+
|
|
64
|
+
- PaddleX currently covers areas such as image classification, object detection, image segmentation, 3D, OCR, and time series prediction, and has built-in 36 basic single models, such as RP-DETR, PP-YOLOE, PP-HGNet, PP-LCNet, PP- LiteSeg, etc.; integrated 12 practical industrial solutions, such as PP-OCRv4, PP-ChatOCR, PP-ShiTu, PP-TS, vehicle-mounted road waste detection, identification of prohibited wildlife products, etc.
|
|
65
|
+
- PaddleX provides two AI development modes: "Toolbox" and "Developer". The toolbox mode can tune key hyperparameters without code, and the developer mode can perform single-model training, push and multi-model serial inference with low code, and supports both cloud and local terminals.
|
|
66
|
+
- PaddleX also supports joint innovation and development, profit sharing! At present, PaddleX is rapidly iterating, and welcomes the participation of individual developers and enterprise developers to create a prosperous AI technology ecosystem!
|
|
67
|
+
|
|
68
|
+
## 📚 E-book: *Dive Into OCR*
|
|
69
|
+
|
|
70
|
+
- [Dive Into OCR](./doc/doc_en/ocr_book_en.md)
|
|
71
|
+
|
|
72
|
+
## 🎖 Contributors
|
|
73
|
+
|
|
74
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/graphs/contributors">
|
|
75
|
+
<img src="https://contrib.rocks/image?repo=PaddlePaddle/PaddleOCR&max=400&columns=20" width="800"/>
|
|
76
|
+
</a>
|
|
77
|
+
|
|
78
|
+
## ⭐️ Star
|
|
79
|
+
|
|
80
|
+
[](https://star-history.com/#PaddlePaddle/PaddleOCR&Date)
|
|
81
|
+
|
|
82
|
+
## 🇺🇳 Guideline for New Language Requests
|
|
83
|
+
|
|
84
|
+
If you want to request a new language support, a PR with 1 following files are needed:
|
|
85
|
+
|
|
86
|
+
- In folder [ppocr/utils/dict](./ppocr/utils/dict),
|
|
87
|
+
it is necessary to submit the dict text to this path and name it with `{language}_dict.txt` that contains a list of all characters. Please see the format example from other files in that folder.
|
|
88
|
+
|
|
89
|
+
If your language has unique elements, please tell me in advance within any way, such as useful links, wikipedia and so on.
|
|
90
|
+
|
|
91
|
+
More details, please refer to [Multilingual OCR Development Plan](https://github.com/PaddlePaddle/PaddleOCR/discussions/12734).
|
|
92
|
+
|
|
93
|
+
## 📄 License
|
|
94
|
+
|
|
95
|
+
This project is released under [Apache License Version 2.0](./LICENSE).
|
|
@@ -11,13 +11,24 @@
|
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
from .paddleocr import
|
|
14
|
+
from .paddleocr import (
|
|
15
|
+
PaddleOCR,
|
|
16
|
+
PPStructure,
|
|
17
|
+
draw_ocr,
|
|
18
|
+
draw_structure_result,
|
|
19
|
+
save_structure_res,
|
|
20
|
+
download_with_progressbar,
|
|
21
|
+
sorted_layout_boxes,
|
|
22
|
+
convert_info_docx,
|
|
23
|
+
to_excel,
|
|
24
|
+
)
|
|
15
25
|
import importlib.metadata as importlib_metadata
|
|
16
26
|
|
|
17
27
|
try:
|
|
18
28
|
__version__ = importlib_metadata.version(__package__ or __name__)
|
|
19
29
|
except importlib_metadata.PackageNotFoundError:
|
|
20
30
|
__version__ = "0.0.0"
|
|
31
|
+
|
|
21
32
|
__all__ = [
|
|
22
33
|
"PaddleOCR",
|
|
23
34
|
"PPStructure",
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: paddleocr
|
|
3
|
+
Version: 2.9.0
|
|
4
|
+
Summary: Awesome OCR toolkits based on PaddlePaddle(8.6M ultra-lightweight pre-trained model, support training and deployment among server, mobile, embedded and IoT devices)
|
|
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: shapely
|
|
22
|
+
Requires-Dist: scikit-image
|
|
23
|
+
Requires-Dist: imgaug
|
|
24
|
+
Requires-Dist: pyclipper
|
|
25
|
+
Requires-Dist: lmdb
|
|
26
|
+
Requires-Dist: tqdm
|
|
27
|
+
Requires-Dist: numpy<2.0
|
|
28
|
+
Requires-Dist: rapidfuzz
|
|
29
|
+
Requires-Dist: opencv-python
|
|
30
|
+
Requires-Dist: opencv-contrib-python
|
|
31
|
+
Requires-Dist: cython
|
|
32
|
+
Requires-Dist: Pillow
|
|
33
|
+
Requires-Dist: pyyaml
|
|
34
|
+
Requires-Dist: python-docx
|
|
35
|
+
Requires-Dist: beautifulsoup4
|
|
36
|
+
Requires-Dist: fonttools>=4.24.0
|
|
37
|
+
Requires-Dist: fire>=0.3.0
|
|
38
|
+
Requires-Dist: requests
|
|
39
|
+
|
|
40
|
+
[English](README_en.md) | 简体中文
|
|
41
|
+
|
|
42
|
+
<p align="center">
|
|
43
|
+
<img src="https://github.com/PaddlePaddle/PaddleOCR/releases/download/v2.8.0/PaddleOCR_logo.png" align="middle" width = "600"/>
|
|
44
|
+
<p align="center">
|
|
45
|
+
<p align="center">
|
|
46
|
+
<a href="https://discord.gg/z9xaRVjdbD"><img src="https://img.shields.io/badge/Chat-on%20discord-7289da.svg?sanitize=true" alt="Chat"></a>
|
|
47
|
+
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-Apache%202-dfd.svg"></a>
|
|
48
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/releases"><img src="https://img.shields.io/github/v/release/PaddlePaddle/PaddleOCR?color=ffa"></a>
|
|
49
|
+
<a href=""><img src="https://img.shields.io/badge/python-3.7+-aff.svg"></a>
|
|
50
|
+
<a href=""><img src="https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-pink.svg"></a>
|
|
51
|
+
<a href="https://pypi.org/project/PaddleOCR/"><img src="https://img.shields.io/pypi/dm/PaddleOCR?color=9cf"></a>
|
|
52
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/stargazers"><img src="https://img.shields.io/github/stars/PaddlePaddle/PaddleOCR?color=ccf"></a>
|
|
53
|
+
</p>
|
|
54
|
+
|
|
55
|
+
## 简介
|
|
56
|
+
|
|
57
|
+
PaddleOCR 旨在打造一套丰富、领先、且实用的 OCR 工具库,助力开发者训练出更好的模型,并应用落地。
|
|
58
|
+
|
|
59
|
+
<div align="center">
|
|
60
|
+
<img src="https://github.com/PaddlePaddle/PaddleOCR/releases/download/v2.8.0/demo.gif" width="800">
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
## 🚀 社区
|
|
64
|
+
|
|
65
|
+
PaddleOCR 由 [PMC](https://github.com/PaddlePaddle/PaddleOCR/issues/12122) 监督。Issues 和 PRs 将在尽力的基础上进行审查。欲了解 PaddlePaddle 社区的完整概况,请访问 [community](https://github.com/PaddlePaddle/community)。
|
|
66
|
+
|
|
67
|
+
⚠️注意:[Issues](https://github.com/PaddlePaddle/PaddleOCR/issues)模块仅用来报告程序🐞Bug,其余提问请移步[Discussions](https://github.com/PaddlePaddle/PaddleOCR/discussions)模块提问。如所提Issue不是Bug,会被移到Discussions模块,敬请谅解。
|
|
68
|
+
|
|
69
|
+
## 📣 近期更新([more](https://paddlepaddle.github.io/PaddleOCR/latest/update.html))
|
|
70
|
+
|
|
71
|
+
- 🔥🔥《PaddleX文档信息个性化抽取新升级》,PP-ChatOCRv3创新性提供了基于数据融合技术的OCR模型二次开发功能,具备更强的模型微调能力。百万级高质量通用OCR文本识别数据,按特定比例自动融入垂类模型训练数据,破解产业垂类模型训练导致通用文本识别能力减弱难题。适用自动化办公、金融风控、医疗健康、教育出版、法律党政等产业实际场景。**10月17日(周四)19:00**直播为您详细解读数据融合技术以及如何利用提示词工程实现更好的信息抽取效果。 [报名链接](https://www.wjx.top/vm/mFhGfwx.aspx?udsid=772552)
|
|
72
|
+
|
|
73
|
+
- **🔥2024.10.1 添加OCR领域低代码全流程开发能力**:
|
|
74
|
+
* 飞桨低代码开发工具PaddleX,依托于PaddleOCR的先进技术,支持了OCR领域的低代码全流程开发能力:
|
|
75
|
+
* 🎨 [**模型丰富一键调用**](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/quick_start.html):将文本图像智能分析、通用OCR、通用版面解析、通用表格识别、公式识别、印章文本识别涉及的**17个模型**整合为6条模型产线,通过极简的**Python API一键调用**,快速体验模型效果。此外,同一套API,也支持图像分类、目标检测、图像分割、时序预测等共计**200+模型**,形成20+单功能模块,方便开发者进行**模型组合**使用。
|
|
76
|
+
* 🚀[**提高效率降低门槛**](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/overview.html):提供基于**统一命令**和**图形界面**两种方式,实现模型简洁高效的使用、组合与定制。支持**高性能推理、服务化部署和端侧部署**等多种部署方式。此外,对于各种主流硬件如**英伟达GPU、昆仑芯、昇腾、寒武纪和海光**等,进行模型开发时,都可以**无缝切换**。
|
|
77
|
+
|
|
78
|
+
* 支持文档场景信息抽取v3([PP-ChatOCRv3-doc](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/pipeline_usage/tutorials/information_extration_pipelines/document_scene_information_extraction.md))、基于RT-DETR的[高精度版面区域检测模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/layout_detection.md)和PicoDet的[高效率版面区域检测模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/layout_detection.md)、高精度表格结构识别模型[SLANet_Plus](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/table_structure_recognition.md)、文本图像矫正模型[UVDoc](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/text_image_unwarping.md)、公式识别模型[LatexOCR](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/formula_recognition.md)、基于PP-LCNet的[文档图像方向分类模型](https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-beta1/docs/module_usage/tutorials/ocr_modules/doc_img_orientation_classification.md)
|
|
79
|
+
|
|
80
|
+
- **🔥2024.7 添加 PaddleOCR 算法模型挑战赛冠军方案**:
|
|
81
|
+
- 赛题一:OCR 端到端识别任务冠军方案——[场景文本识别算法-SVTRv2](https://paddlepaddle.github.io/PaddleOCR/latest/algorithm/text_recognition/algorithm_rec_svtrv2.html);
|
|
82
|
+
- 赛题二:通用表格识别任务冠军方案——[表格识别算法-SLANet-LCNetV2](https://paddlepaddle.github.io/PaddleOCR/latest/algorithm/table_recognition/algorithm_table_slanet.html)。
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## 🌟 特性
|
|
86
|
+
|
|
87
|
+
支持多种 OCR 相关前沿算法,在此基础上打造产业级特色模型PP-、PP-Structure和PP-ChatOCR,并打通数据生产、模型训练、压缩、预测部署全流程。
|
|
88
|
+
|
|
89
|
+
<div align="center">
|
|
90
|
+
<img src="./docs/images/ppocrv4.png">
|
|
91
|
+
</div>
|
|
92
|
+
|
|
93
|
+
## ⚡ [快速开始](https://paddlepaddle.github.io/PaddleOCR/latest/quick_start.html)
|
|
94
|
+
|
|
95
|
+
## 🔥 [低代码全流程开发](https://paddlepaddle.github.io/PaddleOCR/latest/paddlex/overview.html)
|
|
96
|
+
|
|
97
|
+
## 📝 文档
|
|
98
|
+
|
|
99
|
+
完整文档请移步:[docs](https://paddlepaddle.github.io/PaddleOCR/latest/)
|
|
100
|
+
|
|
101
|
+
## 📚《动手学 OCR》电子书
|
|
102
|
+
|
|
103
|
+
- [《动手学 OCR》电子书](https://paddlepaddle.github.io/PaddleOCR/latest/ppocr/blog/ocr_book.html)
|
|
104
|
+
|
|
105
|
+
## 🎖 贡献者
|
|
106
|
+
|
|
107
|
+
<a href="https://github.com/PaddlePaddle/PaddleOCR/graphs/contributors">
|
|
108
|
+
<img src="https://contrib.rocks/image?repo=PaddlePaddle/PaddleOCR&max=400&columns=20" width="800"/>
|
|
109
|
+
</a>
|
|
110
|
+
|
|
111
|
+
## ⭐️ Star
|
|
112
|
+
|
|
113
|
+
[](https://star-history.com/#PaddlePaddle/PaddleOCR&Date)
|
|
114
|
+
|
|
115
|
+
## 许可证书
|
|
116
|
+
|
|
117
|
+
本项目的发布受 [Apache License Version 2.0](./LICENSE) 许可认证。
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
LICENSE
|
|
2
2
|
MANIFEST.in
|
|
3
3
|
README.md
|
|
4
|
-
|
|
4
|
+
README_en.md
|
|
5
5
|
__init__.py
|
|
6
6
|
paddleocr.py
|
|
7
7
|
pyproject.toml
|
|
8
|
+
requirements.txt
|
|
8
9
|
setup.py
|
|
9
10
|
paddleocr.egg-info/PKG-INFO
|
|
10
11
|
paddleocr.egg-info/SOURCES.txt
|
|
@@ -12,8 +13,10 @@ paddleocr.egg-info/dependency_links.txt
|
|
|
12
13
|
paddleocr.egg-info/entry_points.txt
|
|
13
14
|
paddleocr.egg-info/requires.txt
|
|
14
15
|
paddleocr.egg-info/top_level.txt
|
|
16
|
+
ppocr/__init__.py
|
|
15
17
|
ppocr/data/__init__.py
|
|
16
18
|
ppocr/data/collate_fn.py
|
|
19
|
+
ppocr/data/latexocr_dataset.py
|
|
17
20
|
ppocr/data/lmdb_dataset.py
|
|
18
21
|
ppocr/data/multi_scale_sampler.py
|
|
19
22
|
ppocr/data/pgnet_dataset.py
|
|
@@ -30,6 +33,7 @@ ppocr/data/imaug/fce_aug.py
|
|
|
30
33
|
ppocr/data/imaug/fce_targets.py
|
|
31
34
|
ppocr/data/imaug/iaa_augment.py
|
|
32
35
|
ppocr/data/imaug/label_ops.py
|
|
36
|
+
ppocr/data/imaug/latex_ocr_aug.py
|
|
33
37
|
ppocr/data/imaug/make_border_map.py
|
|
34
38
|
ppocr/data/imaug/make_pse_gt.py
|
|
35
39
|
ppocr/data/imaug/make_shrink_map.py
|
|
@@ -68,12 +72,15 @@ ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py
|
|
|
68
72
|
ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py
|
|
69
73
|
ppocr/postprocess/pse_postprocess/__init__.py
|
|
70
74
|
ppocr/postprocess/pse_postprocess/pse_postprocess.py
|
|
75
|
+
ppocr/postprocess/pse_postprocess/pse/README.md
|
|
71
76
|
ppocr/postprocess/pse_postprocess/pse/__init__.py
|
|
77
|
+
ppocr/postprocess/pse_postprocess/pse/pse.pyx
|
|
72
78
|
ppocr/postprocess/pse_postprocess/pse/setup.py
|
|
73
79
|
ppocr/utils/EN_symbol_dict.txt
|
|
74
80
|
ppocr/utils/__init__.py
|
|
75
81
|
ppocr/utils/dict90.txt
|
|
76
82
|
ppocr/utils/en_dict.txt
|
|
83
|
+
ppocr/utils/export_model.py
|
|
77
84
|
ppocr/utils/gen_label.py
|
|
78
85
|
ppocr/utils/ic15_dict.txt
|
|
79
86
|
ppocr/utils/iou.py
|
|
@@ -93,6 +100,8 @@ ppocr/utils/dict/be_dict.txt
|
|
|
93
100
|
ppocr/utils/dict/bengali_dict.txt
|
|
94
101
|
ppocr/utils/dict/bg_dict.txt
|
|
95
102
|
ppocr/utils/dict/bm_dict.txt
|
|
103
|
+
ppocr/utils/dict/bm_dict_add.txt
|
|
104
|
+
ppocr/utils/dict/bn_dict.txt
|
|
96
105
|
ppocr/utils/dict/chinese_cht_dict.txt
|
|
97
106
|
ppocr/utils/dict/confuse.pkl
|
|
98
107
|
ppocr/utils/dict/cyrillic_dict.txt
|
|
@@ -102,12 +111,14 @@ ppocr/utils/dict/fa_dict.txt
|
|
|
102
111
|
ppocr/utils/dict/french_dict.txt
|
|
103
112
|
ppocr/utils/dict/german_dict.txt
|
|
104
113
|
ppocr/utils/dict/gujarati_dict.txt
|
|
114
|
+
ppocr/utils/dict/hebrew_dict.txt
|
|
105
115
|
ppocr/utils/dict/hi_dict.txt
|
|
106
116
|
ppocr/utils/dict/it_dict.txt
|
|
107
117
|
ppocr/utils/dict/japan_dict.txt
|
|
108
118
|
ppocr/utils/dict/ka_dict.txt
|
|
109
119
|
ppocr/utils/dict/kazakh_dict.txt
|
|
110
120
|
ppocr/utils/dict/korean_dict.txt
|
|
121
|
+
ppocr/utils/dict/latex_ocr_tokenizer.json
|
|
111
122
|
ppocr/utils/dict/latex_symbol_dict.txt
|
|
112
123
|
ppocr/utils/dict/latin_dict.txt
|
|
113
124
|
ppocr/utils/dict/mr_dict.txt
|
|
@@ -118,7 +129,9 @@ ppocr/utils/dict/pu_dict.txt
|
|
|
118
129
|
ppocr/utils/dict/rs_dict.txt
|
|
119
130
|
ppocr/utils/dict/rsc_dict.txt
|
|
120
131
|
ppocr/utils/dict/ru_dict.txt
|
|
132
|
+
ppocr/utils/dict/samaritan_dict.txt
|
|
121
133
|
ppocr/utils/dict/spin_dict.txt
|
|
134
|
+
ppocr/utils/dict/syriac_dict.txt
|
|
122
135
|
ppocr/utils/dict/ta_dict.txt
|
|
123
136
|
ppocr/utils/dict/table_dict.txt
|
|
124
137
|
ppocr/utils/dict/table_master_structure_dict.txt
|
|
@@ -128,6 +141,7 @@ ppocr/utils/dict/te_dict.txt
|
|
|
128
141
|
ppocr/utils/dict/ug_dict.txt
|
|
129
142
|
ppocr/utils/dict/uk_dict.txt
|
|
130
143
|
ppocr/utils/dict/ur_dict.txt
|
|
144
|
+
ppocr/utils/dict/vi_dict.txt
|
|
131
145
|
ppocr/utils/dict/xi_dict.txt
|
|
132
146
|
ppocr/utils/dict/kie_dict/xfund_class_list.txt
|
|
133
147
|
ppocr/utils/dict/layout_dict/layout_cdla_dict.txt
|
|
@@ -140,24 +154,46 @@ ppocr/utils/e2e_utils/extract_textpoint_fast.py
|
|
|
140
154
|
ppocr/utils/e2e_utils/extract_textpoint_slow.py
|
|
141
155
|
ppocr/utils/e2e_utils/pgnet_pp_utils.py
|
|
142
156
|
ppocr/utils/e2e_utils/visual.py
|
|
157
|
+
ppocr/utils/formula_utils/math_txt2pkl.py
|
|
143
158
|
ppocr/utils/loggers/__init__.py
|
|
144
159
|
ppocr/utils/loggers/base_logger.py
|
|
145
160
|
ppocr/utils/loggers/loggers.py
|
|
146
161
|
ppocr/utils/loggers/wandb_logger.py
|
|
162
|
+
ppstructure/README.md
|
|
163
|
+
ppstructure/README_ch.md
|
|
147
164
|
ppstructure/__init__.py
|
|
148
165
|
ppstructure/predict_system.py
|
|
166
|
+
ppstructure/return_word_pos.md
|
|
149
167
|
ppstructure/utility.py
|
|
168
|
+
ppstructure/kie/README.md
|
|
169
|
+
ppstructure/kie/README_ch.md
|
|
170
|
+
ppstructure/kie/how_to_do_kie.md
|
|
171
|
+
ppstructure/kie/how_to_do_kie_en.md
|
|
150
172
|
ppstructure/kie/predict_kie_token_ser.py
|
|
151
173
|
ppstructure/kie/predict_kie_token_ser_re.py
|
|
174
|
+
ppstructure/kie/requirements.txt
|
|
152
175
|
ppstructure/kie/tools/eval_with_label_end2end.py
|
|
153
176
|
ppstructure/kie/tools/trans_funsd_label.py
|
|
154
177
|
ppstructure/kie/tools/trans_xfun_data.py
|
|
178
|
+
ppstructure/layout/README.md
|
|
179
|
+
ppstructure/layout/README_ch.md
|
|
155
180
|
ppstructure/layout/__init__.py
|
|
156
181
|
ppstructure/layout/predict_layout.py
|
|
182
|
+
ppstructure/pdf2word/README.md
|
|
157
183
|
ppstructure/pdf2word/pdf2word.py
|
|
184
|
+
ppstructure/pdf2word/icons/chinese.png
|
|
185
|
+
ppstructure/pdf2word/icons/english.png
|
|
186
|
+
ppstructure/pdf2word/icons/folder-open.png
|
|
187
|
+
ppstructure/pdf2word/icons/folder-plus.png
|
|
188
|
+
ppstructure/recovery/README.md
|
|
189
|
+
ppstructure/recovery/README_ch.md
|
|
158
190
|
ppstructure/recovery/__init__.py
|
|
159
191
|
ppstructure/recovery/recovery_to_doc.py
|
|
192
|
+
ppstructure/recovery/recovery_to_markdown.py
|
|
193
|
+
ppstructure/recovery/requirements.txt
|
|
160
194
|
ppstructure/recovery/table_process.py
|
|
195
|
+
ppstructure/table/README.md
|
|
196
|
+
ppstructure/table/README_ch.md
|
|
161
197
|
ppstructure/table/__init__.py
|
|
162
198
|
ppstructure/table/convert_label2html.py
|
|
163
199
|
ppstructure/table/eval_table.py
|
|
@@ -171,9 +207,27 @@ ppstructure/table/table_metric/table_metric.py
|
|
|
171
207
|
ppstructure/table/tablepyxl/__init__.py
|
|
172
208
|
ppstructure/table/tablepyxl/style.py
|
|
173
209
|
ppstructure/table/tablepyxl/tablepyxl.py
|
|
174
|
-
tests/test_cls_postprocess.py
|
|
175
|
-
tests/test_paddleocr_api.py
|
|
176
210
|
tools/__init__.py
|
|
211
|
+
tools/eval.py
|
|
212
|
+
tools/export_center.py
|
|
213
|
+
tools/export_model.py
|
|
214
|
+
tools/infer_cls.py
|
|
215
|
+
tools/infer_det.py
|
|
216
|
+
tools/infer_e2e.py
|
|
217
|
+
tools/infer_kie.py
|
|
218
|
+
tools/infer_kie_token_ser.py
|
|
219
|
+
tools/infer_kie_token_ser_re.py
|
|
220
|
+
tools/infer_rec.py
|
|
221
|
+
tools/infer_sr.py
|
|
222
|
+
tools/infer_table.py
|
|
223
|
+
tools/naive_sync_bn.py
|
|
224
|
+
tools/program.py
|
|
225
|
+
tools/test_hubserving.py
|
|
226
|
+
tools/train.py
|
|
227
|
+
tools/end2end/convert_ppocr_label.py
|
|
228
|
+
tools/end2end/draw_html.py
|
|
229
|
+
tools/end2end/eval_end2end.py
|
|
230
|
+
tools/end2end/readme.md
|
|
177
231
|
tools/infer/predict_cls.py
|
|
178
232
|
tools/infer/predict_det.py
|
|
179
233
|
tools/infer/predict_e2e.py
|