├── README.md ├── README_EN.md ├── __pycache__ ├── en_t2t_model.cpython-39.pyc ├── qa_on_context.cpython-39.pyc ├── qa_on_image.cpython-39.pyc ├── qa_on_pic.cpython-39.pyc └── zh_mt5_model.cpython-39.pyc ├── app.py ├── doc ├── PaddleOCR_log.png ├── banner.png ├── datasets │ ├── ArT.jpg │ ├── CASIA_0.jpg │ ├── CDLA_demo │ │ ├── val_0633.jpg │ │ └── val_0941.jpg │ ├── LSVT_1.jpg │ ├── LSVT_2.jpg │ ├── VoTT.jpg │ ├── captcha_demo.png │ ├── ccpd_demo.png │ ├── ch_doc1.jpg │ ├── ch_doc3.jpg │ ├── ch_street_rec_1.png │ ├── ch_street_rec_2.png │ ├── cmb_demo.jpg │ ├── crohme_demo │ │ ├── hme_00.jpg │ │ ├── hme_01.jpg │ │ └── hme_02.jpg │ ├── doc.jpg │ ├── funsd_demo │ │ ├── gt_train_00040534.jpg │ │ └── gt_train_00070353.jpg │ ├── ic15_location_download.png │ ├── icdar_rec.png │ ├── labelimg.jpg │ ├── labelme.jpg │ ├── nist_demo.png │ ├── publaynet_demo │ │ ├── gt_PMC3724501_00006.jpg │ │ └── gt_PMC5086060_00002.jpg │ ├── rctw.jpg │ ├── roLabelImg.png │ ├── table_PubTabNet_demo │ │ ├── PMC524509_007_00.png │ │ └── PMC535543_007_01.png │ ├── table_tal_demo │ │ ├── 1.jpg │ │ └── 2.jpg │ ├── tablebank_demo │ │ ├── 004.png │ │ └── 005.png │ ├── wildreceipt_demo │ │ ├── 1bbe854b8817dedb8585e0732089fd1f752d2cec.jpeg │ │ └── 2769.jpeg │ └── xfund_demo │ │ ├── gt_zh_train_0.jpg │ │ └── gt_zh_train_1.jpg ├── demo │ ├── build.png │ ├── error.png │ └── proxy.png ├── deployment.png ├── deployment_en.png ├── doc_ch │ ├── FAQ.md │ ├── PP-OCRv3_det_train.md │ ├── PP-OCRv3_introduction.md │ ├── add_new_algorithm.md │ ├── algorithm_det_ct.md │ ├── algorithm_det_db.md │ ├── algorithm_det_drrg.md │ ├── algorithm_det_east.md │ ├── algorithm_det_fcenet.md │ ├── algorithm_det_psenet.md │ ├── algorithm_det_sast.md │ ├── algorithm_e2e_pgnet.md │ ├── algorithm_inference.md │ ├── algorithm_kie_layoutxlm.md │ ├── algorithm_kie_sdmgr.md │ ├── algorithm_kie_vi_layoutxlm.md │ ├── algorithm_overview.md │ ├── algorithm_rec_abinet.md │ ├── algorithm_rec_can.md │ ├── algorithm_rec_crnn.md │ ├── algorithm_rec_nrtr.md │ ├── algorithm_rec_rare.md │ ├── algorithm_rec_rfl.md │ ├── algorithm_rec_robustscanner.md │ ├── algorithm_rec_rosetta.md │ ├── algorithm_rec_sar.md │ ├── algorithm_rec_seed.md │ ├── algorithm_rec_spin.md │ ├── algorithm_rec_srn.md │ ├── algorithm_rec_starnet.md │ ├── algorithm_rec_svtr.md │ ├── algorithm_rec_visionlan.md │ ├── algorithm_rec_vitstr.md │ ├── algorithm_sr_gestalt.md │ ├── algorithm_sr_telescope.md │ ├── algorithm_table_master.md │ ├── angle_class.md │ ├── application.md │ ├── benchmark.md │ ├── clone.md │ ├── code_and_doc.md │ ├── config.md │ ├── customize.md │ ├── data_annotation.md │ ├── data_synthesis.md │ ├── dataset │ │ ├── datasets.md │ │ ├── handwritten_datasets.md │ │ ├── kie_datasets.md │ │ ├── layout_datasets.md │ │ ├── ocr_datasets.md │ │ ├── table_datasets.md │ │ └── vertical_and_multilingual_datasets.md │ ├── detection.md │ ├── distributed_training.md │ ├── enhanced_ctc_loss.md │ ├── environment.md │ ├── equation_a_ctc.png │ ├── equation_c_ctc.png │ ├── equation_ctcloss.png │ ├── equation_focal_ctc.png │ ├── finetune.md │ ├── focal_loss_formula.png │ ├── focal_loss_image.png │ ├── framework.png │ ├── inference_args.md │ ├── inference_ppocr.md │ ├── installation.md │ ├── kie.md │ ├── knowledge_distillation.md │ ├── models.md │ ├── models_list.md │ ├── multi_languages.md │ ├── ocr_book.md │ ├── ppocr_introduction.md │ ├── quickstart.md │ ├── rec_algo_compare.png │ ├── recognition.md │ ├── reference.md │ ├── table_recognition.md │ ├── thirdparty.md │ ├── training.md │ ├── tree.md │ ├── update.md │ ├── visualization.md │ └── whl.md ├── doc_en │ ├── FAQ_en.md │ ├── PP-OCRv3_det_train_en.md │ ├── PP-OCRv3_introduction_en.md │ ├── add_new_algorithm_en.md │ ├── algorithm_det_ct_en.md │ ├── algorithm_det_db_en.md │ ├── algorithm_det_drrg_en.md │ ├── algorithm_det_east_en.md │ ├── algorithm_det_fcenet_en.md │ ├── algorithm_det_psenet_en.md │ ├── algorithm_det_sast_en.md │ ├── algorithm_e2e_pgnet_en.md │ ├── algorithm_kie_layoutxlm_en.md │ ├── algorithm_kie_sdmgr_en.md │ ├── algorithm_kie_vi_layoutxlm_en.md │ ├── algorithm_overview_en.md │ ├── algorithm_rec_abinet_en.md │ ├── algorithm_rec_aster_en.md │ ├── algorithm_rec_can_en.md │ ├── algorithm_rec_crnn_en.md │ ├── algorithm_rec_nrtr_en.md │ ├── algorithm_rec_rare_en.md │ ├── algorithm_rec_rfl_en.md │ ├── algorithm_rec_robustscanner_en.md │ ├── algorithm_rec_rosetta_en.md │ ├── algorithm_rec_sar_en.md │ ├── algorithm_rec_seed_en.md │ ├── algorithm_rec_spin_en.md │ ├── algorithm_rec_srn_en.md │ ├── algorithm_rec_starnet.md │ ├── algorithm_rec_svtr_en.md │ ├── algorithm_rec_visionlan_en.md │ ├── algorithm_rec_vitstr_en.md │ ├── algorithm_sdmgr_en.md │ ├── algorithm_sr_gestalt_en.md │ ├── algorithm_sr_telescope_en.md │ ├── algorithm_table_master_en.md │ ├── angle_class_en.md │ ├── benchmark_en.md │ ├── clone_en.md │ ├── code_and_doc.md │ ├── community_contribution_en.md │ ├── config_en.md │ ├── customize_en.md │ ├── data_annotation_en.md │ ├── data_synthesis_en.md │ ├── dataset │ │ ├── datasets_en.md │ │ ├── handwritten_datasets_en.md │ │ ├── kie_datasets_en.md │ │ ├── layout_datasets_en.md │ │ ├── ocr_datasets_en.md │ │ ├── table_datasets_en.md │ │ └── vertical_and_multilingual_datasets_en.md │ ├── detection_en.md │ ├── distributed_training_en.md │ ├── enhanced_ctc_loss_en.md │ ├── environment_en.md │ ├── inference_args_en.md │ ├── inference_en.md │ ├── inference_ppocr_en.md │ ├── installation_en.md │ ├── kie_en.md │ ├── knowledge_distillation_en.md │ ├── logging_en.md │ ├── models_en.md │ ├── models_list_en.md │ ├── multi_languages_en.md │ ├── ocr_book_en.md │ ├── ppocr_introduction_en.md │ ├── quickstart_en.md │ ├── recognition_en.md │ ├── reference_en.md │ ├── table_recognition_en.md │ ├── training_en.md │ ├── tree_en.md │ ├── tricks_en.md │ ├── update_en.md │ ├── visualization_en.md │ └── whl_en.md ├── doc_i18n │ ├── README_Ру́сский_язы́к.md │ ├── README_हिन्द.md │ ├── README_日本語.md │ └── README_한국어.md ├── fonts │ ├── arabic.ttf │ ├── chinese_cht.ttf │ ├── cyrillic.ttf │ ├── french.ttf │ ├── german.ttf │ ├── hindi.ttf │ ├── japan.ttc │ ├── kannada.ttf │ ├── korean.ttf │ ├── latin.ttf │ ├── marathi.ttf │ ├── nepali.ttf │ ├── persian.ttf │ ├── simfang.ttf │ ├── spanish.ttf │ ├── tamil.ttf │ ├── telugu.ttf │ ├── urdu.ttf │ └── uyghur.ttf ├── imgs │ ├── 00006737.jpg │ ├── 00009282.jpg │ ├── 00015504.jpg │ ├── 00018069.jpg │ ├── 00056221.jpg │ ├── 00057937.jpg │ ├── 00059985.jpg │ ├── 00077949.jpg │ ├── 00111002.jpg │ ├── 00207393.jpg │ ├── 1.jpg │ ├── 11.jpg │ ├── 12.jpg │ ├── french_0.jpg │ ├── ger_1.jpg │ ├── ger_2.jpg │ ├── japan_1.jpg │ ├── japan_2.jpg │ ├── korean_1.jpg │ └── model_prod_flow_ch.png ├── imgs_en │ ├── 254.jpg │ ├── img623.jpg │ ├── img_10.jpg │ ├── img_11.jpg │ ├── img_12.jpg │ ├── img_195.jpg │ ├── model_prod_flow_en.png │ ├── wandb_metrics.png │ └── wandb_models.png ├── imgs_results │ ├── PP-OCRv2 │ │ ├── PP-OCRv2-pic001.jpg │ │ ├── PP-OCRv2-pic002.jpg │ │ └── PP-OCRv2-pic003.jpg │ ├── PP-OCRv3 │ │ ├── ch │ │ │ ├── PP-OCRv3-pic001.jpg │ │ │ ├── PP-OCRv3-pic002.jpg │ │ │ └── PP-OCRv3-pic003.jpg │ │ ├── en │ │ │ ├── en_1.png │ │ │ ├── en_2.png │ │ │ ├── en_3.png │ │ │ └── en_4.png │ │ └── multi_lang │ │ │ ├── japan_2.jpg │ │ │ └── korean_1.jpg │ ├── angle_class_example.jpg │ ├── ch_ppocr_mobile_v2.0 │ │ ├── 00006737.jpg │ │ ├── 00009282.jpg │ │ ├── 00015504.jpg │ │ ├── 00059985.jpg │ │ ├── 00111002.jpg │ │ ├── img_12.jpg │ │ ├── rotate_00052204.jpg │ │ └── test_add_91.jpg │ ├── det_res_00018069.jpg │ ├── det_res_img623_ct.jpg │ ├── det_res_img623_fce.jpg │ ├── det_res_img623_sast.jpg │ ├── det_res_img_10_db.jpg │ ├── det_res_img_10_east.jpg │ ├── det_res_img_10_fce.jpg │ ├── det_res_img_10_pse.jpg │ ├── det_res_img_10_pse_poly.jpg │ ├── det_res_img_10_sast.jpg │ ├── e2e_res_img293_pgnet.png │ ├── e2e_res_img295_pgnet.png │ ├── e2e_res_img623_pgnet.jpg │ ├── e2e_res_img_10_pgnet.jpg │ ├── french_0.jpg │ ├── img_10_east_starnet.jpg │ ├── korean.jpg │ ├── multi_lang │ │ ├── arabic_0.jpg │ │ ├── en_1.jpg │ │ ├── en_2.jpg │ │ ├── en_3.jpg │ │ ├── french_0.jpg │ │ ├── img_01.jpg │ │ ├── img_02.jpg │ │ ├── img_12.jpg │ │ ├── japan_2.jpg │ │ └── korean_0.jpg │ ├── sr_word_52.png │ ├── system_res_00018069.jpg │ ├── system_res_00018069_v3.jpg │ └── whl │ │ ├── 11_det.jpg │ │ ├── 11_det_rec.jpg │ │ ├── 12_det.jpg │ │ └── 12_det_rec.jpg ├── imgs_words │ ├── arabic │ │ ├── ar_1.jpg │ │ └── ar_2.jpg │ ├── belarusian │ │ ├── be_1.jpg │ │ └── be_2.jpg │ ├── bulgarian │ │ ├── bg_1.jpg │ │ └── bg_2.jpg │ ├── ch │ │ ├── word_1.jpg │ │ ├── word_2.jpg │ │ ├── word_3.jpg │ │ ├── word_4.jpg │ │ └── word_5.jpg │ ├── chinese_traditional │ │ ├── chinese_cht_1.png │ │ └── chinese_cht_2.png │ ├── en │ │ ├── word_1.png │ │ ├── word_2.png │ │ ├── word_3.png │ │ ├── word_4.png │ │ └── word_5.png │ ├── french │ │ ├── 1.jpg │ │ └── 2.jpg │ ├── german │ │ └── 1.jpg │ ├── hindi │ │ ├── hi_1.jpg │ │ └── hi_2.jpg │ ├── italian │ │ ├── it_1.jpg │ │ └── it_2.jpg │ ├── japan │ │ └── 1.jpg │ ├── kannada │ │ ├── ka_1.jpg │ │ └── ka_2.jpg │ ├── korean │ │ ├── 1.jpg │ │ └── 2.jpg │ ├── marathi │ │ ├── mr_1.jpg │ │ └── mr_2.jpg │ ├── nepali │ │ ├── ne_1.jpg │ │ └── ne_2.jpg │ ├── occitan │ │ ├── oc_1.jpg │ │ └── oc_2.jpg │ ├── persian │ │ ├── fa_1.jpg │ │ └── fa_2.jpg │ ├── portuguese │ │ ├── pu_1.jpg │ │ └── pu_2.jpg │ ├── russia │ │ ├── ru_1.jpg │ │ └── ru_2.jpg │ ├── serbian_cyrillic │ │ ├── rsc_1.jpg │ │ └── rsc_2.jpg │ ├── serbian_latin │ │ ├── rs_1.jpg │ │ └── rs_2.jpg │ ├── spanish │ │ ├── xi_1.jpg │ │ └── xi_2.jpg │ ├── tamil │ │ ├── ta_1.jpg │ │ └── ta_2.jpg │ ├── telugu │ │ ├── te_1.jpg │ │ └── te_2.jpg │ ├── ukranian │ │ ├── uk_1.jpg │ │ └── uk_2.jpg │ ├── urdu │ │ ├── ur_1.jpg │ │ └── ur_2.jpg │ └── uyghur │ │ ├── ug_1.jpg │ │ └── ug_2.jpg ├── imgs_words_en │ ├── word_10.png │ ├── word_116.png │ ├── word_19.png │ ├── word_201.png │ ├── word_308.png │ ├── word_336.png │ ├── word_401.png │ ├── word_461.png │ ├── word_52.png │ └── word_545.png ├── install │ ├── linux │ │ ├── anaconda_download.png │ │ └── conda_create.png │ ├── mac │ │ ├── anaconda_start.png │ │ ├── conda_activate.png │ │ └── conda_create.png │ └── windows │ │ ├── Anaconda_download.png │ │ ├── anaconda_install_env.png │ │ ├── anaconda_install_folder.png │ │ ├── anaconda_prompt.png │ │ ├── conda_list_env.png │ │ └── conda_new_env.png ├── joinus.PNG ├── pgnet_framework.png ├── ppocr_framework.png ├── ppocr_v3 │ ├── GTC.png │ ├── GTC_en.png │ ├── LCNet_SVTR.png │ ├── LCNet_SVTR_en.png │ ├── LKPAN.png │ ├── RSEFPN.png │ ├── SSL.png │ ├── UDML.png │ ├── UIM.png │ ├── ppocrv3_det_cml.png │ ├── recconaug.png │ ├── svtr_g2.png │ ├── svtr_g4.png │ ├── svtr_tiny.png │ ├── teacher_dml.png │ └── v3_rec_pipeline.png ├── ppocrv2_framework.jpg ├── ppocrv3_framework.png ├── pr.png ├── precommit_pass.png └── tricks │ └── long_text_examples.jpg ├── donut ├── __pycache__ │ ├── lightning_module.cpython-39.pyc │ └── train.cpython-39.pyc ├── lightning_module.py ├── setup.py └── train.py ├── en_t2t_model.py ├── imgs ├── .txt ├── en_context.jpg ├── en_context.png ├── en_img.jpg ├── en_img.png ├── en_nlp_input.png ├── en_nlp_output.png ├── en_output.png ├── zh_context.jpg ├── zh_context.png ├── zh_context_1.jpg ├── zh_context_1.png ├── zh_img.jpg ├── zh_img.png ├── zh_nlp_input.png ├── zh_nlp_output.png └── zh_output.png ├── model └── .txt ├── notebook.ipynb ├── packages.txt ├── ppocr ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ └── __init__.cpython-39.pyc ├── data │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── lmdb_dataset.cpython-37.pyc │ │ ├── lmdb_dataset.cpython-39.pyc │ │ ├── pgnet_dataset.cpython-37.pyc │ │ ├── pgnet_dataset.cpython-39.pyc │ │ ├── pubtab_dataset.cpython-37.pyc │ │ ├── pubtab_dataset.cpython-39.pyc │ │ ├── simple_dataset.cpython-37.pyc │ │ └── simple_dataset.cpython-39.pyc │ ├── collate_fn.py │ ├── imaug │ │ ├── ColorJitter.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── ColorJitter.cpython-37.pyc │ │ │ ├── ColorJitter.cpython-39.pyc │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── abinet_aug.cpython-37.pyc │ │ │ ├── abinet_aug.cpython-39.pyc │ │ │ ├── copy_paste.cpython-37.pyc │ │ │ ├── copy_paste.cpython-39.pyc │ │ │ ├── ct_process.cpython-37.pyc │ │ │ ├── ct_process.cpython-39.pyc │ │ │ ├── drrg_targets.cpython-37.pyc │ │ │ ├── drrg_targets.cpython-39.pyc │ │ │ ├── east_process.cpython-37.pyc │ │ │ ├── east_process.cpython-39.pyc │ │ │ ├── fce_aug.cpython-37.pyc │ │ │ ├── fce_aug.cpython-39.pyc │ │ │ ├── fce_targets.cpython-37.pyc │ │ │ ├── fce_targets.cpython-39.pyc │ │ │ ├── iaa_augment.cpython-37.pyc │ │ │ ├── iaa_augment.cpython-39.pyc │ │ │ ├── label_ops.cpython-37.pyc │ │ │ ├── label_ops.cpython-39.pyc │ │ │ ├── make_border_map.cpython-37.pyc │ │ │ ├── make_border_map.cpython-39.pyc │ │ │ ├── make_pse_gt.cpython-37.pyc │ │ │ ├── make_pse_gt.cpython-39.pyc │ │ │ ├── make_shrink_map.cpython-37.pyc │ │ │ ├── make_shrink_map.cpython-39.pyc │ │ │ ├── operators.cpython-37.pyc │ │ │ ├── operators.cpython-39.pyc │ │ │ ├── pg_process.cpython-37.pyc │ │ │ ├── pg_process.cpython-39.pyc │ │ │ ├── randaugment.cpython-37.pyc │ │ │ ├── randaugment.cpython-39.pyc │ │ │ ├── random_crop_data.cpython-37.pyc │ │ │ ├── random_crop_data.cpython-39.pyc │ │ │ ├── rec_img_aug.cpython-37.pyc │ │ │ ├── rec_img_aug.cpython-39.pyc │ │ │ ├── sast_process.cpython-37.pyc │ │ │ ├── sast_process.cpython-39.pyc │ │ │ ├── ssl_img_aug.cpython-37.pyc │ │ │ ├── ssl_img_aug.cpython-39.pyc │ │ │ ├── table_ops.cpython-37.pyc │ │ │ └── table_ops.cpython-39.pyc │ │ ├── abinet_aug.py │ │ ├── copy_paste.py │ │ ├── ct_process.py │ │ ├── drrg_targets.py │ │ ├── east_process.py │ │ ├── fce_aug.py │ │ ├── fce_targets.py │ │ ├── iaa_augment.py │ │ ├── label_ops.py │ │ ├── make_border_map.py │ │ ├── make_pse_gt.py │ │ ├── make_shrink_map.py │ │ ├── operators.py │ │ ├── pg_process.py │ │ ├── randaugment.py │ │ ├── random_crop_data.py │ │ ├── rec_img_aug.py │ │ ├── sast_process.py │ │ ├── ssl_img_aug.py │ │ ├── table_ops.py │ │ ├── text_image_aug │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── __init__.cpython-39.pyc │ │ │ │ ├── augment.cpython-37.pyc │ │ │ │ ├── augment.cpython-39.pyc │ │ │ │ ├── warp_mls.cpython-37.pyc │ │ │ │ └── warp_mls.cpython-39.pyc │ │ │ ├── augment.py │ │ │ └── warp_mls.py │ │ └── vqa │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── augment.cpython-37.pyc │ │ │ └── augment.cpython-39.pyc │ │ │ ├── augment.py │ │ │ └── token │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── vqa_re_convert.cpython-37.pyc │ │ │ ├── vqa_re_convert.cpython-39.pyc │ │ │ ├── vqa_token_chunk.cpython-37.pyc │ │ │ ├── vqa_token_chunk.cpython-39.pyc │ │ │ ├── vqa_token_pad.cpython-37.pyc │ │ │ ├── vqa_token_pad.cpython-39.pyc │ │ │ ├── vqa_token_relation.cpython-37.pyc │ │ │ └── vqa_token_relation.cpython-39.pyc │ │ │ ├── vqa_re_convert.py │ │ │ ├── vqa_token_chunk.py │ │ │ ├── vqa_token_pad.py │ │ │ └── vqa_token_relation.py │ ├── lmdb_dataset.py │ ├── pgnet_dataset.py │ ├── pubtab_dataset.py │ └── simple_dataset.py ├── ext_op │ ├── __init__.py │ └── roi_align_rotated │ │ ├── roi_align_rotated.cc │ │ ├── roi_align_rotated.cu │ │ └── roi_align_rotated.py ├── losses │ ├── __init__.py │ ├── ace_loss.py │ ├── basic_loss.py │ ├── center_loss.py │ ├── cls_loss.py │ ├── combined_loss.py │ ├── det_basic_loss.py │ ├── det_ct_loss.py │ ├── det_db_loss.py │ ├── det_drrg_loss.py │ ├── det_east_loss.py │ ├── det_fce_loss.py │ ├── det_pse_loss.py │ ├── det_sast_loss.py │ ├── distillation_loss.py │ ├── e2e_pg_loss.py │ ├── kie_sdmgr_loss.py │ ├── rec_aster_loss.py │ ├── rec_att_loss.py │ ├── rec_can_loss.py │ ├── rec_ce_loss.py │ ├── rec_ctc_loss.py │ ├── rec_enhanced_ctc_loss.py │ ├── rec_multi_loss.py │ ├── rec_pren_loss.py │ ├── rec_rfl_loss.py │ ├── rec_sar_loss.py │ ├── rec_spin_att_loss.py │ ├── rec_srn_loss.py │ ├── rec_vl_loss.py │ ├── stroke_focus_loss.py │ ├── table_att_loss.py │ ├── table_master_loss.py │ ├── text_focus_loss.py │ └── vqa_token_layoutlm_loss.py ├── metrics │ ├── __init__.py │ ├── cls_metric.py │ ├── ct_metric.py │ ├── det_metric.py │ ├── distillation_metric.py │ ├── e2e_metric.py │ ├── eval_det_iou.py │ ├── kie_metric.py │ ├── rec_metric.py │ ├── sr_metric.py │ ├── table_metric.py │ ├── vqa_token_re_metric.py │ └── vqa_token_ser_metric.py ├── modeling │ ├── architectures │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── base_model.cpython-37.pyc │ │ │ ├── base_model.cpython-39.pyc │ │ │ ├── distillation_model.cpython-37.pyc │ │ │ └── distillation_model.cpython-39.pyc │ │ ├── base_model.py │ │ └── distillation_model.py │ ├── backbones │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ └── __init__.cpython-39.pyc │ │ ├── det_mobilenet_v3.py │ │ ├── det_pp_lcnet.py │ │ ├── det_resnet.py │ │ ├── det_resnet_vd.py │ │ ├── det_resnet_vd_sast.py │ │ ├── e2e_resnet_vd_pg.py │ │ ├── kie_unet_sdmgr.py │ │ ├── rec_densenet.py │ │ ├── rec_efficientb3_pren.py │ │ ├── rec_micronet.py │ │ ├── rec_mobilenet_v3.py │ │ ├── rec_mv1_enhance.py │ │ ├── rec_nrtr_mtb.py │ │ ├── rec_resnet_31.py │ │ ├── rec_resnet_32.py │ │ ├── rec_resnet_45.py │ │ ├── rec_resnet_aster.py │ │ ├── rec_resnet_fpn.py │ │ ├── rec_resnet_rfl.py │ │ ├── rec_resnet_vd.py │ │ ├── rec_svtrnet.py │ │ ├── rec_vitstr.py │ │ ├── table_master_resnet.py │ │ └── vqa_layoutlm.py │ ├── heads │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ └── __init__.cpython-39.pyc │ │ ├── cls_head.py │ │ ├── det_ct_head.py │ │ ├── det_db_head.py │ │ ├── det_drrg_head.py │ │ ├── det_east_head.py │ │ ├── det_fce_head.py │ │ ├── det_pse_head.py │ │ ├── det_sast_head.py │ │ ├── e2e_pg_head.py │ │ ├── gcn.py │ │ ├── kie_sdmgr_head.py │ │ ├── local_graph.py │ │ ├── proposal_local_graph.py │ │ ├── rec_abinet_head.py │ │ ├── rec_aster_head.py │ │ ├── rec_att_head.py │ │ ├── rec_can_head.py │ │ ├── rec_ctc_head.py │ │ ├── rec_multi_head.py │ │ ├── rec_nrtr_head.py │ │ ├── rec_pren_head.py │ │ ├── rec_rfl_head.py │ │ ├── rec_robustscanner_head.py │ │ ├── rec_sar_head.py │ │ ├── rec_spin_att_head.py │ │ ├── rec_srn_head.py │ │ ├── rec_visionlan_head.py │ │ ├── self_attention.py │ │ ├── sr_rensnet_transformer.py │ │ ├── table_att_head.py │ │ └── table_master_head.py │ ├── necks │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ └── __init__.cpython-39.pyc │ │ ├── csp_pan.py │ │ ├── ct_fpn.py │ │ ├── db_fpn.py │ │ ├── east_fpn.py │ │ ├── fce_fpn.py │ │ ├── fpn.py │ │ ├── fpn_unet.py │ │ ├── pg_fpn.py │ │ ├── pren_fpn.py │ │ ├── rf_adaptor.py │ │ ├── rnn.py │ │ ├── sast_fpn.py │ │ └── table_fpn.py │ └── transforms │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── __init__.cpython-39.pyc │ │ ├── gaspin_transformer.py │ │ ├── stn.py │ │ ├── tbsrn.py │ │ ├── tps.py │ │ ├── tps_spatial_transformer.py │ │ └── tsrn.py ├── optimizer │ ├── __init__.py │ ├── learning_rate.py │ ├── lr_scheduler.py │ ├── optimizer.py │ └── regularizer.py ├── postprocess │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── cls_postprocess.cpython-37.pyc │ │ ├── cls_postprocess.cpython-39.pyc │ │ ├── ct_postprocess.cpython-37.pyc │ │ ├── ct_postprocess.cpython-39.pyc │ │ ├── db_postprocess.cpython-37.pyc │ │ ├── db_postprocess.cpython-39.pyc │ │ ├── drrg_postprocess.cpython-37.pyc │ │ ├── drrg_postprocess.cpython-39.pyc │ │ ├── east_postprocess.cpython-37.pyc │ │ ├── east_postprocess.cpython-39.pyc │ │ ├── fce_postprocess.cpython-37.pyc │ │ ├── fce_postprocess.cpython-39.pyc │ │ ├── locality_aware_nms.cpython-37.pyc │ │ ├── locality_aware_nms.cpython-39.pyc │ │ ├── pg_postprocess.cpython-37.pyc │ │ ├── pg_postprocess.cpython-39.pyc │ │ ├── picodet_postprocess.cpython-37.pyc │ │ ├── picodet_postprocess.cpython-39.pyc │ │ ├── rec_postprocess.cpython-37.pyc │ │ ├── rec_postprocess.cpython-39.pyc │ │ ├── sast_postprocess.cpython-37.pyc │ │ ├── sast_postprocess.cpython-39.pyc │ │ ├── table_postprocess.cpython-37.pyc │ │ ├── table_postprocess.cpython-39.pyc │ │ ├── vqa_token_re_layoutlm_postprocess.cpython-37.pyc │ │ ├── vqa_token_re_layoutlm_postprocess.cpython-39.pyc │ │ ├── vqa_token_ser_layoutlm_postprocess.cpython-37.pyc │ │ └── vqa_token_ser_layoutlm_postprocess.cpython-39.pyc │ ├── cls_postprocess.py │ ├── ct_postprocess.py │ ├── db_postprocess.py │ ├── drrg_postprocess.py │ ├── east_postprocess.py │ ├── fce_postprocess.py │ ├── locality_aware_nms.py │ ├── pg_postprocess.py │ ├── picodet_postprocess.py │ ├── pse_postprocess │ │ ├── __init__.py │ │ ├── pse │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── pse.pyx │ │ │ └── setup.py │ │ └── pse_postprocess.py │ ├── rec_postprocess.py │ ├── sast_postprocess.py │ ├── table_postprocess.py │ ├── vqa_token_re_layoutlm_postprocess.py │ └── vqa_token_ser_layoutlm_postprocess.py └── utils │ ├── EN_symbol_dict.txt │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── logging.cpython-37.pyc │ ├── logging.cpython-39.pyc │ ├── network.cpython-37.pyc │ ├── network.cpython-39.pyc │ ├── poly_nms.cpython-37.pyc │ ├── poly_nms.cpython-39.pyc │ ├── profiler.cpython-37.pyc │ ├── profiler.cpython-39.pyc │ ├── save_load.cpython-37.pyc │ ├── save_load.cpython-39.pyc │ ├── stats.cpython-37.pyc │ ├── stats.cpython-39.pyc │ ├── utility.cpython-37.pyc │ ├── utility.cpython-39.pyc │ ├── visual.cpython-37.pyc │ └── visual.cpython-39.pyc │ ├── dict │ ├── ar_dict.txt │ ├── arabic_dict.txt │ ├── be_dict.txt │ ├── bg_dict.txt │ ├── chinese_cht_dict.txt │ ├── confuse.pkl │ ├── cyrillic_dict.txt │ ├── devanagari_dict.txt │ ├── en_dict.txt │ ├── fa_dict.txt │ ├── french_dict.txt │ ├── german_dict.txt │ ├── hi_dict.txt │ ├── it_dict.txt │ ├── japan_dict.txt │ ├── ka_dict.txt │ ├── kie_dict │ │ └── xfund_class_list.txt │ ├── korean_dict.txt │ ├── latex_symbol_dict.txt │ ├── latin_dict.txt │ ├── layout_dict │ │ ├── layout_cdla_dict.txt │ │ ├── layout_publaynet_dict.txt │ │ └── layout_table_dict.txt │ ├── mr_dict.txt │ ├── ne_dict.txt │ ├── oc_dict.txt │ ├── pu_dict.txt │ ├── rs_dict.txt │ ├── rsc_dict.txt │ ├── ru_dict.txt │ ├── spin_dict.txt │ ├── ta_dict.txt │ ├── table_dict.txt │ ├── table_master_structure_dict.txt │ ├── table_structure_dict.txt │ ├── table_structure_dict_ch.txt │ ├── te_dict.txt │ ├── ug_dict.txt │ ├── uk_dict.txt │ ├── ur_dict.txt │ └── xi_dict.txt │ ├── dict90.txt │ ├── e2e_metric │ ├── Deteval.py │ └── polygon_fast.py │ ├── e2e_utils │ ├── __pycache__ │ │ ├── extract_textpoint_fast.cpython-37.pyc │ │ ├── extract_textpoint_fast.cpython-39.pyc │ │ ├── extract_textpoint_slow.cpython-37.pyc │ │ ├── extract_textpoint_slow.cpython-39.pyc │ │ ├── pgnet_pp_utils.cpython-37.pyc │ │ └── pgnet_pp_utils.cpython-39.pyc │ ├── extract_batchsize.py │ ├── extract_textpoint_fast.py │ ├── extract_textpoint_slow.py │ ├── pgnet_pp_utils.py │ └── visual.py │ ├── en_dict.txt │ ├── gen_label.py │ ├── ic15_dict.txt │ ├── iou.py │ ├── loggers │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── base_logger.cpython-37.pyc │ │ ├── base_logger.cpython-39.pyc │ │ ├── loggers.cpython-37.pyc │ │ ├── loggers.cpython-39.pyc │ │ ├── vdl_logger.cpython-37.pyc │ │ ├── vdl_logger.cpython-39.pyc │ │ ├── wandb_logger.cpython-37.pyc │ │ └── wandb_logger.cpython-39.pyc │ ├── base_logger.py │ ├── loggers.py │ ├── vdl_logger.py │ └── wandb_logger.py │ ├── logging.py │ ├── network.py │ ├── poly_nms.py │ ├── ppocr_keys_v1.txt │ ├── profiler.py │ ├── save_load.py │ ├── stats.py │ ├── utility.py │ └── visual.py ├── ppstructure ├── .DS_Store ├── .ipynb_checkpoints │ ├── README_ch-checkpoint.md │ ├── Untitled-checkpoint.ipynb │ ├── Untitled1-checkpoint.ipynb │ ├── Untitled2-checkpoint.ipynb │ ├── Untitled3-checkpoint.ipynb │ ├── Untitled4-checkpoint.ipynb │ ├── Untitled5-checkpoint.ipynb │ ├── Untitled6-checkpoint.ipynb │ └── Untitled7-checkpoint.ipynb ├── README.md ├── README_ch.md ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── en_t2t_model.cpython-39.pyc │ ├── mt5_qa_on_context.cpython-39.pyc │ ├── predict_system.cpython-37.pyc │ ├── predict_system.cpython-38.pyc │ ├── predict_system.cpython-39.pyc │ ├── qa_on_context.cpython-39.pyc │ ├── qa_on_image.cpython-39.pyc │ ├── qa_on_pic.cpython-39.pyc │ ├── utility.cpython-37.pyc │ ├── utility.cpython-39.pyc │ └── zh_mt5_model.cpython-39.pyc ├── docs │ ├── PP-StructureV2_introduction.md │ ├── imgs │ │ ├── sdmgr_result.png │ │ ├── slanet_result.jpg │ │ ├── table_ch_result1.jpg │ │ ├── table_ch_result2.jpg │ │ └── table_ch_result3.jpg │ ├── inference.md │ ├── inference_en.md │ ├── kie │ │ ├── input │ │ │ ├── zh_val_0.jpg │ │ │ ├── zh_val_21.jpg │ │ │ ├── zh_val_40.jpg │ │ │ └── zh_val_42.jpg │ │ ├── result_re │ │ │ ├── zh_val_21_re.jpg │ │ │ ├── zh_val_40_re.jpg │ │ │ └── zh_val_42_re.jpg │ │ ├── result_re_with_gt_ocr │ │ │ └── zh_val_42_re.jpg │ │ ├── result_ser │ │ │ ├── zh_val_0_ser.jpg │ │ │ └── zh_val_42_ser.jpg │ │ └── result_ser_with_gt_ocr │ │ │ └── zh_val_42_ser.jpg │ ├── layout │ │ ├── layout.png │ │ └── layout_res.jpg │ ├── models_list.md │ ├── models_list_en.md │ ├── quickstart.md │ ├── quickstart_en.md │ ├── recovery │ │ ├── UnrealText.pdf │ │ ├── recovery.jpg │ │ └── recovery_ch.jpg │ └── table │ │ ├── 1.png │ │ ├── layout.jpg │ │ ├── paper-image.jpg │ │ ├── pipeline.jpg │ │ ├── pipeline_en.jpg │ │ ├── ppstructure.GIF │ │ ├── result_all.jpg │ │ ├── result_text.jpg │ │ ├── table.jpg │ │ ├── tableocr_pipeline.jpg │ │ └── tableocr_pipeline_en.jpg ├── inference │ └── .txt ├── kie │ ├── README.md │ ├── README_ch.md │ ├── __pycache__ │ │ ├── predict_kie_token_ser.cpython-37.pyc │ │ ├── predict_kie_token_ser.cpython-39.pyc │ │ ├── predict_kie_token_ser_re.cpython-37.pyc │ │ └── predict_kie_token_ser_re.cpython-39.pyc │ ├── how_to_do_kie.md │ ├── how_to_do_kie_en.md │ ├── predict_kie_token_ser.py │ ├── predict_kie_token_ser_re.py │ ├── requirements.txt │ └── tools │ │ ├── eval_with_label_end2end.py │ │ ├── trans_funsd_label.py │ │ └── trans_xfun_data.py ├── layout │ ├── README.md │ ├── README_ch.md │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── predict_layout.cpython-37.pyc │ │ └── predict_layout.cpython-39.pyc │ └── predict_layout.py ├── pdf2word │ ├── README.md │ ├── icons │ │ ├── chinese.png │ │ ├── english.png │ │ ├── folder-open.png │ │ └── folder-plus.png │ └── pdf2word.py ├── predict_system.py ├── recovery │ ├── README.md │ ├── README_ch.md │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-39.pyc │ │ └── table_process.cpython-39.pyc │ ├── recovery_to_doc.py │ ├── requirements.txt │ └── table_process.py ├── table │ ├── README.md │ ├── README_ch.md │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── matcher.cpython-37.pyc │ │ ├── matcher.cpython-39.pyc │ │ ├── predict_structure.cpython-37.pyc │ │ ├── predict_structure.cpython-39.pyc │ │ ├── predict_table.cpython-37.pyc │ │ ├── predict_table.cpython-39.pyc │ │ ├── table_master_match.cpython-37.pyc │ │ └── table_master_match.cpython-39.pyc │ ├── convert_label2html.py │ ├── eval_table.py │ ├── matcher.py │ ├── predict_structure.py │ ├── predict_table.py │ ├── table_master_match.py │ ├── table_metric │ │ ├── __init__.py │ │ ├── parallel.py │ │ └── table_metric.py │ └── tablepyxl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-39.pyc │ │ ├── style.cpython-39.pyc │ │ └── tablepyxl.cpython-39.pyc │ │ ├── style.py │ │ └── tablepyxl.py └── utility.py ├── qa_on_context.py ├── qa_on_image.py ├── qa_on_pic.py ├── requirements.txt ├── tools ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── infer_kie_token_ser.cpython-37.pyc │ ├── infer_kie_token_ser.cpython-39.pyc │ ├── infer_kie_token_ser_re.cpython-37.pyc │ ├── infer_kie_token_ser_re.cpython-39.pyc │ ├── program.cpython-37.pyc │ └── program.cpython-39.pyc ├── end2end │ ├── convert_ppocr_label.py │ ├── draw_html.py │ ├── eval_end2end.py │ └── readme.md ├── eval.py ├── export_center.py ├── export_model.py ├── infer │ ├── __pycache__ │ │ ├── predict_cls.cpython-37.pyc │ │ ├── predict_cls.cpython-39.pyc │ │ ├── predict_det.cpython-37.pyc │ │ ├── predict_det.cpython-39.pyc │ │ ├── predict_rec.cpython-37.pyc │ │ ├── predict_rec.cpython-39.pyc │ │ ├── predict_system.cpython-37.pyc │ │ ├── predict_system.cpython-39.pyc │ │ ├── utility.cpython-37.pyc │ │ └── utility.cpython-39.pyc │ ├── predict_cls.py │ ├── predict_det.py │ ├── predict_e2e.py │ ├── predict_rec.py │ ├── predict_sr.py │ ├── predict_system.py │ └── utility.py ├── infer_cls.py ├── infer_det.py ├── infer_e2e.py ├── infer_kie.py ├── infer_kie_token_ser.py ├── infer_kie_token_ser_re.py ├── infer_rec.py ├── infer_sr.py ├── infer_table.py ├── program.py ├── test_hubserving.py └── train.py └── zh_mt5_model.py /__pycache__/en_t2t_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/__pycache__/en_t2t_model.cpython-39.pyc -------------------------------------------------------------------------------- /__pycache__/qa_on_context.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/__pycache__/qa_on_context.cpython-39.pyc -------------------------------------------------------------------------------- /__pycache__/qa_on_image.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/__pycache__/qa_on_image.cpython-39.pyc -------------------------------------------------------------------------------- /__pycache__/qa_on_pic.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/__pycache__/qa_on_pic.cpython-39.pyc -------------------------------------------------------------------------------- /__pycache__/zh_mt5_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/__pycache__/zh_mt5_model.cpython-39.pyc -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- 1 | from qa_on_pic import * 2 | 3 | import gradio as gr 4 | 5 | def demo_func(input_img): 6 | img_path = "used.png" 7 | Image.fromarray(input_img).save(img_path) 8 | qa_df = generate_qa(img_path, ppstructure_bin_path, table_engine) 9 | return {"output": qa_df.values.tolist()} 10 | 11 | example_sample = [] 12 | for img_p in os.listdir("imgs/"): 13 | if img_p.endswith(".jpg"): 14 | img_p = os.path.join("imgs/" ,img_p) 15 | assert os.path.exists(img_p) 16 | example_sample.append(img_p) 17 | 18 | 19 | demo = gr.Interface( 20 | fn=demo_func, 21 | inputs="image", 22 | outputs="json", 23 | title=f"DocVQA dataset generate 🍩 demonstration", 24 | examples=example_sample if example_sample else None, 25 | cache_examples = False 26 | ) 27 | 28 | demo.launch(server_name=None, server_port=None) 29 | -------------------------------------------------------------------------------- /doc/PaddleOCR_log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/PaddleOCR_log.png -------------------------------------------------------------------------------- /doc/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/banner.png -------------------------------------------------------------------------------- /doc/datasets/ArT.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/ArT.jpg -------------------------------------------------------------------------------- /doc/datasets/CASIA_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/CASIA_0.jpg -------------------------------------------------------------------------------- /doc/datasets/CDLA_demo/val_0633.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/CDLA_demo/val_0633.jpg -------------------------------------------------------------------------------- /doc/datasets/CDLA_demo/val_0941.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/CDLA_demo/val_0941.jpg -------------------------------------------------------------------------------- /doc/datasets/LSVT_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/LSVT_1.jpg -------------------------------------------------------------------------------- /doc/datasets/LSVT_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/LSVT_2.jpg -------------------------------------------------------------------------------- /doc/datasets/VoTT.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/VoTT.jpg -------------------------------------------------------------------------------- /doc/datasets/captcha_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/captcha_demo.png -------------------------------------------------------------------------------- /doc/datasets/ccpd_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/ccpd_demo.png -------------------------------------------------------------------------------- /doc/datasets/ch_doc1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/ch_doc1.jpg -------------------------------------------------------------------------------- /doc/datasets/ch_doc3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/ch_doc3.jpg -------------------------------------------------------------------------------- /doc/datasets/ch_street_rec_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/ch_street_rec_1.png -------------------------------------------------------------------------------- /doc/datasets/ch_street_rec_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/ch_street_rec_2.png -------------------------------------------------------------------------------- /doc/datasets/cmb_demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/cmb_demo.jpg -------------------------------------------------------------------------------- /doc/datasets/crohme_demo/hme_00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/crohme_demo/hme_00.jpg -------------------------------------------------------------------------------- /doc/datasets/crohme_demo/hme_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/crohme_demo/hme_01.jpg -------------------------------------------------------------------------------- /doc/datasets/crohme_demo/hme_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/crohme_demo/hme_02.jpg -------------------------------------------------------------------------------- /doc/datasets/doc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/doc.jpg -------------------------------------------------------------------------------- /doc/datasets/funsd_demo/gt_train_00040534.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/funsd_demo/gt_train_00040534.jpg -------------------------------------------------------------------------------- /doc/datasets/funsd_demo/gt_train_00070353.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/funsd_demo/gt_train_00070353.jpg -------------------------------------------------------------------------------- /doc/datasets/ic15_location_download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/ic15_location_download.png -------------------------------------------------------------------------------- /doc/datasets/icdar_rec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/icdar_rec.png -------------------------------------------------------------------------------- /doc/datasets/labelimg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/labelimg.jpg -------------------------------------------------------------------------------- /doc/datasets/labelme.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/labelme.jpg -------------------------------------------------------------------------------- /doc/datasets/nist_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/nist_demo.png -------------------------------------------------------------------------------- /doc/datasets/publaynet_demo/gt_PMC3724501_00006.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/publaynet_demo/gt_PMC3724501_00006.jpg -------------------------------------------------------------------------------- /doc/datasets/publaynet_demo/gt_PMC5086060_00002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/publaynet_demo/gt_PMC5086060_00002.jpg -------------------------------------------------------------------------------- /doc/datasets/rctw.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/rctw.jpg -------------------------------------------------------------------------------- /doc/datasets/roLabelImg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/roLabelImg.png -------------------------------------------------------------------------------- /doc/datasets/table_PubTabNet_demo/PMC524509_007_00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/table_PubTabNet_demo/PMC524509_007_00.png -------------------------------------------------------------------------------- /doc/datasets/table_PubTabNet_demo/PMC535543_007_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/table_PubTabNet_demo/PMC535543_007_01.png -------------------------------------------------------------------------------- /doc/datasets/table_tal_demo/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/table_tal_demo/1.jpg -------------------------------------------------------------------------------- /doc/datasets/table_tal_demo/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/table_tal_demo/2.jpg -------------------------------------------------------------------------------- /doc/datasets/tablebank_demo/004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/tablebank_demo/004.png -------------------------------------------------------------------------------- /doc/datasets/tablebank_demo/005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/tablebank_demo/005.png -------------------------------------------------------------------------------- /doc/datasets/wildreceipt_demo/1bbe854b8817dedb8585e0732089fd1f752d2cec.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/wildreceipt_demo/1bbe854b8817dedb8585e0732089fd1f752d2cec.jpeg -------------------------------------------------------------------------------- /doc/datasets/wildreceipt_demo/2769.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/wildreceipt_demo/2769.jpeg -------------------------------------------------------------------------------- /doc/datasets/xfund_demo/gt_zh_train_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/xfund_demo/gt_zh_train_0.jpg -------------------------------------------------------------------------------- /doc/datasets/xfund_demo/gt_zh_train_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/datasets/xfund_demo/gt_zh_train_1.jpg -------------------------------------------------------------------------------- /doc/demo/build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/demo/build.png -------------------------------------------------------------------------------- /doc/demo/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/demo/error.png -------------------------------------------------------------------------------- /doc/demo/proxy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/demo/proxy.png -------------------------------------------------------------------------------- /doc/deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/deployment.png -------------------------------------------------------------------------------- /doc/deployment_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/deployment_en.png -------------------------------------------------------------------------------- /doc/doc_ch/clone.md: -------------------------------------------------------------------------------- 1 | # 项目克隆 2 | 3 | ## 1. 克隆PaddleOCR repo代码 4 | 5 | ``` 6 | 【推荐】git clone https://github.com/PaddlePaddle/PaddleOCR 7 | ``` 8 | 9 | 如果因为网络问题无法pull成功,也可选择使用码云上的托管: 10 | 11 | ``` 12 | git clone https://gitee.com/paddlepaddle/PaddleOCR 13 | ``` 14 | 15 | 注:码云托管代码可能无法实时同步本github项目更新,存在3~5天延时,请优先使用推荐方式。 16 | 17 | ## 2. 安装第三方库 18 | 19 | ``` 20 | cd PaddleOCR 21 | pip3 install -r requirements.txt 22 | ``` 23 | 24 | -------------------------------------------------------------------------------- /doc/doc_ch/data_annotation.md: -------------------------------------------------------------------------------- 1 | ## 数据标注工具 2 | 这里整理了常用的数据标注工具,持续更新中,欢迎各位小伙伴贡献工具~ 3 | 4 | 5 | ### 1. labelImg 6 | - 工具描述:矩形标注 7 | - 工具地址:https://github.com/tzutalin/labelImg 8 | - 示意图: 9 | ![](../datasets/labelimg.jpg) 10 | 11 | ### 2. roLabelImg 12 | - 工具描述:基于labelImg重写的标注工具,支持旋转矩形标注 13 | - 工具地址:https://github.com/cgvict/roLabelImg 14 | - 示意图: 15 | ![](../datasets/roLabelImg.png) 16 | 17 | ### 3. labelme 18 | - 工具描述:支持四点、多边形、圆形等多种标注 19 | - 工具地址:https://github.com/wkentaro/labelme 20 | - 示意图: 21 | ![](../datasets/labelme.jpg) 22 | 23 | ### 4. Vott 24 | - 工具描述:支持矩形,多边形等图片标注.支持视频标注.方便使用的快捷键以及比较好看的界面.同时支持导出多种标签格式. 25 | - 工具地址:https://github.com/microsoft/VoTT 26 | - 示意图: 27 | ![](../datasets/VoTT.jpg) 28 | -------------------------------------------------------------------------------- /doc/doc_ch/data_synthesis.md: -------------------------------------------------------------------------------- 1 | # 数据合成工具 2 | 除了开源数据,用户还可使用合成工具自行合成。这里整理了常用的数据合成工具,持续更新中,欢迎各位小伙伴贡献工具~ 3 | - [text_renderer](https://github.com/Sanster/text_renderer) 4 | - [SynthText](https://github.com/ankush-me/SynthText) 5 | - [SynthText_Chinese_version](https://github.com/JarveeLee/SynthText_Chinese_version) 6 | - [TextRecognitionDataGenerator](https://github.com/Belval/TextRecognitionDataGenerator) 7 | - [SynthText3D](https://github.com/MhLiao/SynthText3D) 8 | - [UnrealText](https://github.com/Jyouhou/UnrealText/) 9 | - [SynthTIGER](https://github.com/clovaai/synthtiger) -------------------------------------------------------------------------------- /doc/doc_ch/equation_a_ctc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/doc_ch/equation_a_ctc.png -------------------------------------------------------------------------------- /doc/doc_ch/equation_c_ctc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/doc_ch/equation_c_ctc.png -------------------------------------------------------------------------------- /doc/doc_ch/equation_ctcloss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/doc_ch/equation_ctcloss.png -------------------------------------------------------------------------------- /doc/doc_ch/equation_focal_ctc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/doc_ch/equation_focal_ctc.png -------------------------------------------------------------------------------- /doc/doc_ch/focal_loss_formula.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/doc_ch/focal_loss_formula.png -------------------------------------------------------------------------------- /doc/doc_ch/focal_loss_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/doc_ch/focal_loss_image.png -------------------------------------------------------------------------------- /doc/doc_ch/framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/doc_ch/framework.png -------------------------------------------------------------------------------- /doc/doc_ch/ocr_book.md: -------------------------------------------------------------------------------- 1 | # 《动手学OCR》电子书 2 | 3 | 《动手学OCR》是PaddleOCR团队携手复旦大学青年研究员陈智能、中国移动研究院视觉领域资深专家黄文辉等产学研同仁,以及OCR开发者共同打造的结合OCR前沿理论与代码实践的教材。主要特色如下: 4 | 5 | - 覆盖从文本检测识别到文档分析的OCR全栈技术 6 | - 紧密结合理论实践,跨越代码实现鸿沟,并配套教学视频 7 | - Notebook交互式学习,灵活修改代码,即刻获得结果 8 | 9 | 10 | ## 本书结构 11 | 12 | ![](https://ai-studio-static-online.cdn.bcebos.com/5e612d9079b84958940614d9613eb928f1a50fe21ba6446cb99186bf2d76fe3d) 13 | 14 | - 第一部分是本书的推荐序、序言与预备知识,包含本书的定位与使用书籍内容的过程中需要用到的知识索引、资源链接等 15 | - 第二部分是本书的4-8章,介绍与OCR核心的检测、识别能力相关的概念、应用与产业实践。在“OCR技术导论”中总括性的解释OCR的应用场景和挑战、技术基本概念以及在产业应用中的痛点问题。然后在 16 | “文本检测”与“文本识别”两章中介绍OCR的两个基本任务,并在每章中配套一个算法展开代码详解与实战练习。第6、7章是关于PP-OCR系列模型的详细介绍,PP-OCR是一套面向产业应用的OCR系统,在 17 | 基础检测和识别模型的基础之上经过一系列优化策略达到通用领域的产业级SOTA模型,同时打通多种预测部署方案,赋能企业快速落地OCR应用。 18 | - 第三部分是本书的9-12章,介绍两阶段OCR引擎之外的应用,包括数据合成、预处理算法、端到端模型,重点展开了OCR在文档场景下的版面分析、表格识别、视觉文档问答的能力,同样通过算法与代码结 19 | 合的方式使得读者能够深入理解并应用。 20 | 21 | 22 | ## 资料地址 23 | - 中文版电子书下载请扫描首页二维码入群后领取 24 | - [notebook教程](../../notebook/notebook_ch/) 25 | - [教学视频](https://aistudio.baidu.com/aistudio/education/group/info/25207) 26 | -------------------------------------------------------------------------------- /doc/doc_ch/rec_algo_compare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/doc_ch/rec_algo_compare.png -------------------------------------------------------------------------------- /doc/doc_en/clone_en.md: -------------------------------------------------------------------------------- 1 | # Project Clone 2 | 3 | ## 1. Clone PaddleOCR 4 | 5 | ```bash 6 | # Recommend 7 | git clone https://github.com/PaddlePaddle/PaddleOCR 8 | 9 | # If you cannot pull successfully due to network problems, you can switch to the mirror hosted on Gitee: 10 | 11 | git clone https://gitee.com/paddlepaddle/PaddleOCR 12 | 13 | # Note: The mirror on Gitee may not keep in synchronization with the latest project on GitHub. There might be a delay of 3-5 days. Please try GitHub at first. 14 | ``` 15 | 16 | ## 2. Install third-party libraries 17 | 18 | ```bash 19 | cd PaddleOCR 20 | pip3 install -r requirements.txt 21 | ``` 22 | 23 | If you getting this error `OSError: [WinError 126] The specified module could not be found` when you install shapely on windows. 24 | 25 | Please try to download Shapely whl file from [http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely](http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely). 26 | 27 | Reference: [Solve shapely installation on windows](https://stackoverflow.com/questions/44398265/install-shapely-oserror-winerror-126-the-specified-module-could-not-be-found) 28 | -------------------------------------------------------------------------------- /doc/doc_en/data_annotation_en.md: -------------------------------------------------------------------------------- 1 | # DATA ANNOTATION TOOLS 2 | There are the commonly used data annotation tools, which will be continuously updated. Welcome to contribute tools~ 3 | 4 | ### 1. labelImg 5 | - Tool description: Rectangular label 6 | - Tool address: https://github.com/tzutalin/labelImg 7 | - Sketch diagram: 8 | ![labelimg](../datasets/labelimg.jpg) 9 | 10 | ### 2. roLabelImg 11 | - Tool description: Label tool rewritten based on labelImg, supporting rotating rectangular label 12 | - Tool address: https://github.com/cgvict/roLabelImg 13 | - Sketch diagram: 14 | ![roLabelImg](../datasets/roLabelImg.png) 15 | 16 | ### 3. labelme 17 | - Tool description: Support four points, polygons, circles and other labels 18 | - Tool address: https://github.com/wkentaro/labelme 19 | - Sketch diagram: 20 | ![labelme](../datasets/labelme.jpg) 21 | -------------------------------------------------------------------------------- /doc/doc_en/data_synthesis_en.md: -------------------------------------------------------------------------------- 1 | # DATA SYNTHESIS TOOLS 2 | 3 | In addition to open source data, users can also use synthesis tools to synthesize data. 4 | There are the commonly used data synthesis tools, which will be continuously updated. Welcome to contribute tools~ 5 | 6 | * [Text_renderer](https://github.com/Sanster/text_renderer) 7 | * [SynthText](https://github.com/ankush-me/SynthText) 8 | * [SynthText_Chinese_version](https://github.com/JarveeLee/SynthText_Chinese_version) 9 | * [TextRecognitionDataGenerator](https://github.com/Belval/TextRecognitionDataGenerator) 10 | * [SynthText3D](https://github.com/MhLiao/SynthText3D) 11 | * [UnrealText](https://github.com/Jyouhou/UnrealText/) 12 | * [SynthTIGER](https://github.com/clovaai/synthtiger) -------------------------------------------------------------------------------- /doc/fonts/arabic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/arabic.ttf -------------------------------------------------------------------------------- /doc/fonts/chinese_cht.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/chinese_cht.ttf -------------------------------------------------------------------------------- /doc/fonts/cyrillic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/cyrillic.ttf -------------------------------------------------------------------------------- /doc/fonts/french.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/french.ttf -------------------------------------------------------------------------------- /doc/fonts/german.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/german.ttf -------------------------------------------------------------------------------- /doc/fonts/hindi.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/hindi.ttf -------------------------------------------------------------------------------- /doc/fonts/japan.ttc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/japan.ttc -------------------------------------------------------------------------------- /doc/fonts/kannada.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/kannada.ttf -------------------------------------------------------------------------------- /doc/fonts/korean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/korean.ttf -------------------------------------------------------------------------------- /doc/fonts/latin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/latin.ttf -------------------------------------------------------------------------------- /doc/fonts/marathi.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/marathi.ttf -------------------------------------------------------------------------------- /doc/fonts/nepali.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/nepali.ttf -------------------------------------------------------------------------------- /doc/fonts/persian.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/persian.ttf -------------------------------------------------------------------------------- /doc/fonts/simfang.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/simfang.ttf -------------------------------------------------------------------------------- /doc/fonts/spanish.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/spanish.ttf -------------------------------------------------------------------------------- /doc/fonts/tamil.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/tamil.ttf -------------------------------------------------------------------------------- /doc/fonts/telugu.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/telugu.ttf -------------------------------------------------------------------------------- /doc/fonts/urdu.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/urdu.ttf -------------------------------------------------------------------------------- /doc/fonts/uyghur.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/fonts/uyghur.ttf -------------------------------------------------------------------------------- /doc/imgs/00006737.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00006737.jpg -------------------------------------------------------------------------------- /doc/imgs/00009282.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00009282.jpg -------------------------------------------------------------------------------- /doc/imgs/00015504.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00015504.jpg -------------------------------------------------------------------------------- /doc/imgs/00018069.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00018069.jpg -------------------------------------------------------------------------------- /doc/imgs/00056221.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00056221.jpg -------------------------------------------------------------------------------- /doc/imgs/00057937.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00057937.jpg -------------------------------------------------------------------------------- /doc/imgs/00059985.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00059985.jpg -------------------------------------------------------------------------------- /doc/imgs/00077949.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00077949.jpg -------------------------------------------------------------------------------- /doc/imgs/00111002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00111002.jpg -------------------------------------------------------------------------------- /doc/imgs/00207393.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/00207393.jpg -------------------------------------------------------------------------------- /doc/imgs/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/1.jpg -------------------------------------------------------------------------------- /doc/imgs/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/11.jpg -------------------------------------------------------------------------------- /doc/imgs/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/12.jpg -------------------------------------------------------------------------------- /doc/imgs/french_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/french_0.jpg -------------------------------------------------------------------------------- /doc/imgs/ger_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/ger_1.jpg -------------------------------------------------------------------------------- /doc/imgs/ger_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/ger_2.jpg -------------------------------------------------------------------------------- /doc/imgs/japan_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/japan_1.jpg -------------------------------------------------------------------------------- /doc/imgs/japan_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/japan_2.jpg -------------------------------------------------------------------------------- /doc/imgs/korean_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/korean_1.jpg -------------------------------------------------------------------------------- /doc/imgs/model_prod_flow_ch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs/model_prod_flow_ch.png -------------------------------------------------------------------------------- /doc/imgs_en/254.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/254.jpg -------------------------------------------------------------------------------- /doc/imgs_en/img623.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/img623.jpg -------------------------------------------------------------------------------- /doc/imgs_en/img_10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/img_10.jpg -------------------------------------------------------------------------------- /doc/imgs_en/img_11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/img_11.jpg -------------------------------------------------------------------------------- /doc/imgs_en/img_12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/img_12.jpg -------------------------------------------------------------------------------- /doc/imgs_en/img_195.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/img_195.jpg -------------------------------------------------------------------------------- /doc/imgs_en/model_prod_flow_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/model_prod_flow_en.png -------------------------------------------------------------------------------- /doc/imgs_en/wandb_metrics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/wandb_metrics.png -------------------------------------------------------------------------------- /doc/imgs_en/wandb_models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_en/wandb_models.png -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv2/PP-OCRv2-pic001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv2/PP-OCRv2-pic001.jpg -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv2/PP-OCRv2-pic002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv2/PP-OCRv2-pic002.jpg -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv2/PP-OCRv2-pic003.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv2/PP-OCRv2-pic003.jpg -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/ch/PP-OCRv3-pic001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/ch/PP-OCRv3-pic001.jpg -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/ch/PP-OCRv3-pic002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/ch/PP-OCRv3-pic002.jpg -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/ch/PP-OCRv3-pic003.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/ch/PP-OCRv3-pic003.jpg -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/en/en_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/en/en_1.png -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/en/en_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/en/en_2.png -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/en/en_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/en/en_3.png -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/en/en_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/en/en_4.png -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/multi_lang/japan_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/multi_lang/japan_2.jpg -------------------------------------------------------------------------------- /doc/imgs_results/PP-OCRv3/multi_lang/korean_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/PP-OCRv3/multi_lang/korean_1.jpg -------------------------------------------------------------------------------- /doc/imgs_results/angle_class_example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/angle_class_example.jpg -------------------------------------------------------------------------------- /doc/imgs_results/ch_ppocr_mobile_v2.0/00006737.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/ch_ppocr_mobile_v2.0/00006737.jpg -------------------------------------------------------------------------------- /doc/imgs_results/ch_ppocr_mobile_v2.0/00009282.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/ch_ppocr_mobile_v2.0/00009282.jpg -------------------------------------------------------------------------------- /doc/imgs_results/ch_ppocr_mobile_v2.0/00015504.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/ch_ppocr_mobile_v2.0/00015504.jpg -------------------------------------------------------------------------------- /doc/imgs_results/ch_ppocr_mobile_v2.0/00059985.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/ch_ppocr_mobile_v2.0/00059985.jpg -------------------------------------------------------------------------------- /doc/imgs_results/ch_ppocr_mobile_v2.0/00111002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/ch_ppocr_mobile_v2.0/00111002.jpg -------------------------------------------------------------------------------- /doc/imgs_results/ch_ppocr_mobile_v2.0/img_12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/ch_ppocr_mobile_v2.0/img_12.jpg -------------------------------------------------------------------------------- /doc/imgs_results/ch_ppocr_mobile_v2.0/rotate_00052204.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/ch_ppocr_mobile_v2.0/rotate_00052204.jpg -------------------------------------------------------------------------------- /doc/imgs_results/ch_ppocr_mobile_v2.0/test_add_91.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/ch_ppocr_mobile_v2.0/test_add_91.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_00018069.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_00018069.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img623_ct.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img623_ct.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img623_fce.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img623_fce.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img623_sast.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img623_sast.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img_10_db.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img_10_db.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img_10_east.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img_10_east.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img_10_fce.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img_10_fce.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img_10_pse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img_10_pse.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img_10_pse_poly.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img_10_pse_poly.jpg -------------------------------------------------------------------------------- /doc/imgs_results/det_res_img_10_sast.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/det_res_img_10_sast.jpg -------------------------------------------------------------------------------- /doc/imgs_results/e2e_res_img293_pgnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/e2e_res_img293_pgnet.png -------------------------------------------------------------------------------- /doc/imgs_results/e2e_res_img295_pgnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/e2e_res_img295_pgnet.png -------------------------------------------------------------------------------- /doc/imgs_results/e2e_res_img623_pgnet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/e2e_res_img623_pgnet.jpg -------------------------------------------------------------------------------- /doc/imgs_results/e2e_res_img_10_pgnet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/e2e_res_img_10_pgnet.jpg -------------------------------------------------------------------------------- /doc/imgs_results/french_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/french_0.jpg -------------------------------------------------------------------------------- /doc/imgs_results/img_10_east_starnet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/img_10_east_starnet.jpg -------------------------------------------------------------------------------- /doc/imgs_results/korean.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/korean.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/arabic_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/arabic_0.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/en_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/en_1.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/en_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/en_2.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/en_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/en_3.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/french_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/french_0.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/img_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/img_01.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/img_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/img_02.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/img_12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/img_12.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/japan_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/japan_2.jpg -------------------------------------------------------------------------------- /doc/imgs_results/multi_lang/korean_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/multi_lang/korean_0.jpg -------------------------------------------------------------------------------- /doc/imgs_results/sr_word_52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/sr_word_52.png -------------------------------------------------------------------------------- /doc/imgs_results/system_res_00018069.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/system_res_00018069.jpg -------------------------------------------------------------------------------- /doc/imgs_results/system_res_00018069_v3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/system_res_00018069_v3.jpg -------------------------------------------------------------------------------- /doc/imgs_results/whl/11_det.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/whl/11_det.jpg -------------------------------------------------------------------------------- /doc/imgs_results/whl/11_det_rec.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/whl/11_det_rec.jpg -------------------------------------------------------------------------------- /doc/imgs_results/whl/12_det.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/whl/12_det.jpg -------------------------------------------------------------------------------- /doc/imgs_results/whl/12_det_rec.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_results/whl/12_det_rec.jpg -------------------------------------------------------------------------------- /doc/imgs_words/arabic/ar_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/arabic/ar_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/arabic/ar_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/arabic/ar_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/belarusian/be_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/belarusian/be_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/belarusian/be_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/belarusian/be_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/bulgarian/bg_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/bulgarian/bg_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/bulgarian/bg_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/bulgarian/bg_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/ch/word_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/ch/word_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/ch/word_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/ch/word_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/ch/word_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/ch/word_3.jpg -------------------------------------------------------------------------------- /doc/imgs_words/ch/word_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/ch/word_4.jpg -------------------------------------------------------------------------------- /doc/imgs_words/ch/word_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/ch/word_5.jpg -------------------------------------------------------------------------------- /doc/imgs_words/chinese_traditional/chinese_cht_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/chinese_traditional/chinese_cht_1.png -------------------------------------------------------------------------------- /doc/imgs_words/chinese_traditional/chinese_cht_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/chinese_traditional/chinese_cht_2.png -------------------------------------------------------------------------------- /doc/imgs_words/en/word_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/en/word_1.png -------------------------------------------------------------------------------- /doc/imgs_words/en/word_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/en/word_2.png -------------------------------------------------------------------------------- /doc/imgs_words/en/word_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/en/word_3.png -------------------------------------------------------------------------------- /doc/imgs_words/en/word_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/en/word_4.png -------------------------------------------------------------------------------- /doc/imgs_words/en/word_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/en/word_5.png -------------------------------------------------------------------------------- /doc/imgs_words/french/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/french/1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/french/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/french/2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/german/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/german/1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/hindi/hi_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/hindi/hi_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/hindi/hi_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/hindi/hi_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/italian/it_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/italian/it_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/italian/it_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/italian/it_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/japan/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/japan/1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/kannada/ka_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/kannada/ka_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/kannada/ka_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/kannada/ka_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/korean/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/korean/1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/korean/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/korean/2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/marathi/mr_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/marathi/mr_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/marathi/mr_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/marathi/mr_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/nepali/ne_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/nepali/ne_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/nepali/ne_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/nepali/ne_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/occitan/oc_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/occitan/oc_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/occitan/oc_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/occitan/oc_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/persian/fa_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/persian/fa_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/persian/fa_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/persian/fa_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/portuguese/pu_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/portuguese/pu_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/portuguese/pu_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/portuguese/pu_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/russia/ru_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/russia/ru_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/russia/ru_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/russia/ru_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/serbian_cyrillic/rsc_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/serbian_cyrillic/rsc_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/serbian_cyrillic/rsc_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/serbian_cyrillic/rsc_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/serbian_latin/rs_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/serbian_latin/rs_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/serbian_latin/rs_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/serbian_latin/rs_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/spanish/xi_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/spanish/xi_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/spanish/xi_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/spanish/xi_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/tamil/ta_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/tamil/ta_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/tamil/ta_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/tamil/ta_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/telugu/te_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/telugu/te_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/telugu/te_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/telugu/te_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/ukranian/uk_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/ukranian/uk_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/ukranian/uk_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/ukranian/uk_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/urdu/ur_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/urdu/ur_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/urdu/ur_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/urdu/ur_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words/uyghur/ug_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/uyghur/ug_1.jpg -------------------------------------------------------------------------------- /doc/imgs_words/uyghur/ug_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words/uyghur/ug_2.jpg -------------------------------------------------------------------------------- /doc/imgs_words_en/word_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_10.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_116.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_116.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_19.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_201.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_201.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_308.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_308.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_336.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_336.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_401.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_401.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_461.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_461.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_52.png -------------------------------------------------------------------------------- /doc/imgs_words_en/word_545.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/imgs_words_en/word_545.png -------------------------------------------------------------------------------- /doc/install/linux/anaconda_download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/linux/anaconda_download.png -------------------------------------------------------------------------------- /doc/install/linux/conda_create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/linux/conda_create.png -------------------------------------------------------------------------------- /doc/install/mac/anaconda_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/mac/anaconda_start.png -------------------------------------------------------------------------------- /doc/install/mac/conda_activate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/mac/conda_activate.png -------------------------------------------------------------------------------- /doc/install/mac/conda_create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/mac/conda_create.png -------------------------------------------------------------------------------- /doc/install/windows/Anaconda_download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/windows/Anaconda_download.png -------------------------------------------------------------------------------- /doc/install/windows/anaconda_install_env.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/windows/anaconda_install_env.png -------------------------------------------------------------------------------- /doc/install/windows/anaconda_install_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/windows/anaconda_install_folder.png -------------------------------------------------------------------------------- /doc/install/windows/anaconda_prompt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/windows/anaconda_prompt.png -------------------------------------------------------------------------------- /doc/install/windows/conda_list_env.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/windows/conda_list_env.png -------------------------------------------------------------------------------- /doc/install/windows/conda_new_env.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/install/windows/conda_new_env.png -------------------------------------------------------------------------------- /doc/joinus.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/joinus.PNG -------------------------------------------------------------------------------- /doc/pgnet_framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/pgnet_framework.png -------------------------------------------------------------------------------- /doc/ppocr_framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_framework.png -------------------------------------------------------------------------------- /doc/ppocr_v3/GTC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/GTC.png -------------------------------------------------------------------------------- /doc/ppocr_v3/GTC_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/GTC_en.png -------------------------------------------------------------------------------- /doc/ppocr_v3/LCNet_SVTR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/LCNet_SVTR.png -------------------------------------------------------------------------------- /doc/ppocr_v3/LCNet_SVTR_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/LCNet_SVTR_en.png -------------------------------------------------------------------------------- /doc/ppocr_v3/LKPAN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/LKPAN.png -------------------------------------------------------------------------------- /doc/ppocr_v3/RSEFPN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/RSEFPN.png -------------------------------------------------------------------------------- /doc/ppocr_v3/SSL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/SSL.png -------------------------------------------------------------------------------- /doc/ppocr_v3/UDML.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/UDML.png -------------------------------------------------------------------------------- /doc/ppocr_v3/UIM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/UIM.png -------------------------------------------------------------------------------- /doc/ppocr_v3/ppocrv3_det_cml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/ppocrv3_det_cml.png -------------------------------------------------------------------------------- /doc/ppocr_v3/recconaug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/recconaug.png -------------------------------------------------------------------------------- /doc/ppocr_v3/svtr_g2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/svtr_g2.png -------------------------------------------------------------------------------- /doc/ppocr_v3/svtr_g4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/svtr_g4.png -------------------------------------------------------------------------------- /doc/ppocr_v3/svtr_tiny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/svtr_tiny.png -------------------------------------------------------------------------------- /doc/ppocr_v3/teacher_dml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/teacher_dml.png -------------------------------------------------------------------------------- /doc/ppocr_v3/v3_rec_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocr_v3/v3_rec_pipeline.png -------------------------------------------------------------------------------- /doc/ppocrv2_framework.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocrv2_framework.jpg -------------------------------------------------------------------------------- /doc/ppocrv3_framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/ppocrv3_framework.png -------------------------------------------------------------------------------- /doc/pr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/pr.png -------------------------------------------------------------------------------- /doc/precommit_pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/precommit_pass.png -------------------------------------------------------------------------------- /doc/tricks/long_text_examples.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/doc/tricks/long_text_examples.jpg -------------------------------------------------------------------------------- /donut/__pycache__/lightning_module.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/donut/__pycache__/lightning_module.cpython-39.pyc -------------------------------------------------------------------------------- /donut/__pycache__/train.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/donut/__pycache__/train.cpython-39.pyc -------------------------------------------------------------------------------- /imgs/.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /imgs/en_context.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/en_context.jpg -------------------------------------------------------------------------------- /imgs/en_context.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/en_context.png -------------------------------------------------------------------------------- /imgs/en_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/en_img.jpg -------------------------------------------------------------------------------- /imgs/en_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/en_img.png -------------------------------------------------------------------------------- /imgs/en_nlp_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/en_nlp_input.png -------------------------------------------------------------------------------- /imgs/en_nlp_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/en_nlp_output.png -------------------------------------------------------------------------------- /imgs/en_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/en_output.png -------------------------------------------------------------------------------- /imgs/zh_context.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_context.jpg -------------------------------------------------------------------------------- /imgs/zh_context.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_context.png -------------------------------------------------------------------------------- /imgs/zh_context_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_context_1.jpg -------------------------------------------------------------------------------- /imgs/zh_context_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_context_1.png -------------------------------------------------------------------------------- /imgs/zh_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_img.jpg -------------------------------------------------------------------------------- /imgs/zh_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_img.png -------------------------------------------------------------------------------- /imgs/zh_nlp_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_nlp_input.png -------------------------------------------------------------------------------- /imgs/zh_nlp_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_nlp_output.png -------------------------------------------------------------------------------- /imgs/zh_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/imgs/zh_output.png -------------------------------------------------------------------------------- /model/.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/model/.txt -------------------------------------------------------------------------------- /packages.txt: -------------------------------------------------------------------------------- 1 | git-lfs 2 | libopenblas-dev 3 | libomp-dev 4 | -------------------------------------------------------------------------------- /ppocr/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /ppocr/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/lmdb_dataset.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/lmdb_dataset.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/lmdb_dataset.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/lmdb_dataset.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/pgnet_dataset.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/pgnet_dataset.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/pgnet_dataset.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/pgnet_dataset.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/pubtab_dataset.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/pubtab_dataset.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/pubtab_dataset.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/pubtab_dataset.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/simple_dataset.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/simple_dataset.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/__pycache__/simple_dataset.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/__pycache__/simple_dataset.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/ColorJitter.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | from paddle.vision.transforms import ColorJitter as pp_ColorJitter 15 | 16 | __all__ = ['ColorJitter'] 17 | 18 | class ColorJitter(object): 19 | def __init__(self, brightness=0, contrast=0, saturation=0, hue=0,**kwargs): 20 | self.aug = pp_ColorJitter(brightness, contrast, saturation, hue) 21 | 22 | def __call__(self, data): 23 | image = data['image'] 24 | image = self.aug(image) 25 | data['image'] = image 26 | return data 27 | -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/ColorJitter.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/ColorJitter.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/ColorJitter.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/ColorJitter.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/abinet_aug.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/abinet_aug.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/abinet_aug.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/abinet_aug.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/copy_paste.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/copy_paste.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/copy_paste.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/copy_paste.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/ct_process.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/ct_process.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/ct_process.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/ct_process.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/drrg_targets.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/drrg_targets.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/drrg_targets.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/drrg_targets.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/east_process.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/east_process.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/east_process.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/east_process.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/fce_aug.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/fce_aug.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/fce_aug.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/fce_aug.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/fce_targets.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/fce_targets.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/fce_targets.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/fce_targets.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/iaa_augment.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/iaa_augment.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/iaa_augment.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/iaa_augment.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/label_ops.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/label_ops.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/label_ops.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/label_ops.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/make_border_map.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/make_border_map.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/make_border_map.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/make_border_map.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/make_pse_gt.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/make_pse_gt.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/make_pse_gt.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/make_pse_gt.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/make_shrink_map.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/make_shrink_map.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/make_shrink_map.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/make_shrink_map.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/operators.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/operators.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/operators.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/operators.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/pg_process.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/pg_process.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/pg_process.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/pg_process.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/randaugment.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/randaugment.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/randaugment.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/randaugment.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/random_crop_data.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/random_crop_data.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/random_crop_data.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/random_crop_data.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/rec_img_aug.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/rec_img_aug.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/rec_img_aug.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/rec_img_aug.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/sast_process.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/sast_process.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/sast_process.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/sast_process.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/ssl_img_aug.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/ssl_img_aug.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/ssl_img_aug.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/ssl_img_aug.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/table_ops.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/table_ops.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/__pycache__/table_ops.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/__pycache__/table_ops.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/text_image_aug/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | from .augment import tia_perspective, tia_distort, tia_stretch 16 | 17 | __all__ = ['tia_distort', 'tia_stretch', 'tia_perspective'] 18 | -------------------------------------------------------------------------------- /ppocr/data/imaug/text_image_aug/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/text_image_aug/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/text_image_aug/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/text_image_aug/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/text_image_aug/__pycache__/augment.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/text_image_aug/__pycache__/augment.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/text_image_aug/__pycache__/augment.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/text_image_aug/__pycache__/augment.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/text_image_aug/__pycache__/warp_mls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/text_image_aug/__pycache__/warp_mls.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/text_image_aug/__pycache__/warp_mls.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/text_image_aug/__pycache__/warp_mls.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | from .token import VQATokenPad, VQASerTokenChunk, VQAReTokenChunk, VQAReTokenRelation, TensorizeEntitiesRelations 16 | 17 | __all__ = [ 18 | 'VQATokenPad', 'VQASerTokenChunk', 'VQAReTokenChunk', 'VQAReTokenRelation', 19 | 'TensorizeEntitiesRelations' 20 | ] 21 | -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/__pycache__/augment.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/__pycache__/augment.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/__pycache__/augment.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/__pycache__/augment.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | from .vqa_token_chunk import VQASerTokenChunk, VQAReTokenChunk 16 | from .vqa_token_pad import VQATokenPad 17 | from .vqa_token_relation import VQAReTokenRelation 18 | from .vqa_re_convert import TensorizeEntitiesRelations -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/vqa_re_convert.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/vqa_re_convert.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/vqa_re_convert.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/vqa_re_convert.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/vqa_token_chunk.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/vqa_token_chunk.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/vqa_token_chunk.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/vqa_token_chunk.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/vqa_token_pad.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/vqa_token_pad.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/vqa_token_pad.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/vqa_token_pad.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/vqa_token_relation.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/vqa_token_relation.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/data/imaug/vqa/token/__pycache__/vqa_token_relation.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/data/imaug/vqa/token/__pycache__/vqa_token_relation.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/ext_op/__init__.py: -------------------------------------------------------------------------------- 1 | from .roi_align_rotated.roi_align_rotated import RoIAlignRotated 2 | -------------------------------------------------------------------------------- /ppocr/losses/cls_loss.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2019 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | from __future__ import absolute_import 16 | from __future__ import division 17 | from __future__ import print_function 18 | 19 | from paddle import nn 20 | 21 | 22 | class ClsLoss(nn.Layer): 23 | def __init__(self, **kwargs): 24 | super(ClsLoss, self).__init__() 25 | self.loss_func = nn.CrossEntropyLoss(reduction='mean') 26 | 27 | def forward(self, predicts, batch): 28 | label = batch[1].astype("int64") 29 | loss = self.loss_func(input=predicts, label=label) 30 | return {'loss': loss} 31 | -------------------------------------------------------------------------------- /ppocr/modeling/architectures/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/architectures/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/modeling/architectures/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/architectures/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/modeling/architectures/__pycache__/base_model.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/architectures/__pycache__/base_model.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/modeling/architectures/__pycache__/base_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/architectures/__pycache__/base_model.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/modeling/architectures/__pycache__/distillation_model.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/architectures/__pycache__/distillation_model.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/modeling/architectures/__pycache__/distillation_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/architectures/__pycache__/distillation_model.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/modeling/backbones/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/backbones/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/modeling/backbones/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/backbones/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/modeling/heads/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/heads/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/modeling/heads/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/heads/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/modeling/necks/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/necks/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/modeling/necks/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/necks/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/modeling/transforms/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/transforms/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/modeling/transforms/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/modeling/transforms/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/cls_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/cls_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/cls_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/cls_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/ct_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/ct_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/ct_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/ct_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/db_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/db_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/db_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/db_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/drrg_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/drrg_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/drrg_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/drrg_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/east_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/east_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/east_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/east_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/fce_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/fce_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/fce_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/fce_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/locality_aware_nms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/locality_aware_nms.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/locality_aware_nms.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/locality_aware_nms.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/pg_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/pg_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/pg_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/pg_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/picodet_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/picodet_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/picodet_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/picodet_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/rec_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/rec_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/rec_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/rec_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/sast_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/sast_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/sast_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/sast_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/table_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/table_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/table_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/table_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/vqa_token_re_layoutlm_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/vqa_token_re_layoutlm_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/vqa_token_re_layoutlm_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/vqa_token_re_layoutlm_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/vqa_token_ser_layoutlm_postprocess.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/vqa_token_ser_layoutlm_postprocess.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/__pycache__/vqa_token_ser_layoutlm_postprocess.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/postprocess/__pycache__/vqa_token_ser_layoutlm_postprocess.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/postprocess/pse_postprocess/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | from .pse_postprocess import PSEPostProcess -------------------------------------------------------------------------------- /ppocr/postprocess/pse_postprocess/pse/README.md: -------------------------------------------------------------------------------- 1 | ## 编译 2 | This code is refer from: 3 | https://github.com/whai362/PSENet/blob/python3/models/post_processing/pse 4 | ```python 5 | python3 setup.py build_ext --inplace 6 | ``` 7 | -------------------------------------------------------------------------------- /ppocr/postprocess/pse_postprocess/pse/setup.py: -------------------------------------------------------------------------------- 1 | from distutils.core import setup, Extension 2 | from Cython.Build import cythonize 3 | import numpy 4 | 5 | setup(ext_modules=cythonize(Extension( 6 | 'pse', 7 | sources=['pse.pyx'], 8 | language='c++', 9 | include_dirs=[numpy.get_include()], 10 | library_dirs=[], 11 | libraries=[], 12 | extra_compile_args=['-O3'], 13 | extra_link_args=[] 14 | ))) 15 | -------------------------------------------------------------------------------- /ppocr/utils/EN_symbol_dict.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | a 12 | b 13 | c 14 | d 15 | e 16 | f 17 | g 18 | h 19 | i 20 | j 21 | k 22 | l 23 | m 24 | n 25 | o 26 | p 27 | q 28 | r 29 | s 30 | t 31 | u 32 | v 33 | w 34 | x 35 | y 36 | z 37 | A 38 | B 39 | C 40 | D 41 | E 42 | F 43 | G 44 | H 45 | I 46 | J 47 | K 48 | L 49 | M 50 | N 51 | O 52 | P 53 | Q 54 | R 55 | S 56 | T 57 | U 58 | V 59 | W 60 | X 61 | Y 62 | Z 63 | ! 64 | " 65 | # 66 | $ 67 | % 68 | & 69 | ' 70 | ( 71 | ) 72 | * 73 | + 74 | , 75 | - 76 | . 77 | / 78 | : 79 | ; 80 | < 81 | = 82 | > 83 | ? 84 | @ 85 | [ 86 | \ 87 | ] 88 | ^ 89 | _ 90 | ` 91 | { 92 | | 93 | } 94 | ~ -------------------------------------------------------------------------------- /ppocr/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/logging.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/logging.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/logging.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/logging.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/network.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/network.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/network.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/network.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/poly_nms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/poly_nms.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/poly_nms.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/poly_nms.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/profiler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/profiler.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/profiler.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/profiler.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/save_load.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/save_load.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/save_load.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/save_load.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/stats.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/stats.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/stats.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/stats.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/utility.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/utility.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/utility.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/utility.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/visual.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/visual.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/__pycache__/visual.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/__pycache__/visual.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/dict/ar_dict.txt: -------------------------------------------------------------------------------- 1 | a 2 | r 3 | b 4 | i 5 | c 6 | _ 7 | m 8 | g 9 | / 10 | 1 11 | 0 12 | I 13 | L 14 | S 15 | V 16 | R 17 | C 18 | 2 19 | v 20 | l 21 | 6 22 | 3 23 | 9 24 | . 25 | j 26 | p 27 | ا 28 | ل 29 | م 30 | ر 31 | ج 32 | و 33 | ح 34 | ي 35 | ة 36 | 5 37 | 8 38 | 7 39 | أ 40 | ب 41 | ض 42 | 4 43 | ك 44 | س 45 | ه 46 | ث 47 | ن 48 | ط 49 | ع 50 | ت 51 | غ 52 | خ 53 | ف 54 | ئ 55 | ز 56 | إ 57 | د 58 | ص 59 | ظ 60 | ذ 61 | ش 62 | ى 63 | ق 64 | ؤ 65 | آ 66 | ء 67 | s 68 | e 69 | n 70 | w 71 | t 72 | u 73 | z 74 | d 75 | A 76 | N 77 | G 78 | h 79 | o 80 | E 81 | T 82 | H 83 | O 84 | B 85 | y 86 | F 87 | U 88 | J 89 | X 90 | W 91 | P 92 | Z 93 | M 94 | k 95 | q 96 | Y 97 | Q 98 | D 99 | f 100 | K 101 | x 102 | ' 103 | % 104 | - 105 | # 106 | @ 107 | ! 108 | & 109 | $ 110 | , 111 | : 112 | é 113 | ? 114 | + 115 | É 116 | ( 117 | 118 | -------------------------------------------------------------------------------- /ppocr/utils/dict/be_dict.txt: -------------------------------------------------------------------------------- 1 | b 2 | e 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 2 9 | 0 10 | I 11 | L 12 | S 13 | V 14 | R 15 | C 16 | 1 17 | v 18 | a 19 | l 20 | 6 21 | 9 22 | 4 23 | 3 24 | . 25 | j 26 | p 27 | п 28 | а 29 | з 30 | б 31 | у 32 | г 33 | н 34 | ц 35 | ь 36 | 8 37 | м 38 | л 39 | і 40 | о 41 | ў 42 | ы 43 | 7 44 | 5 45 | М 46 | х 47 | с 48 | р 49 | ф 50 | я 51 | е 52 | д 53 | ж 54 | ю 55 | ч 56 | й 57 | к 58 | Д 59 | в 60 | Б 61 | т 62 | І 63 | ш 64 | ё 65 | э 66 | К 67 | Л 68 | Н 69 | А 70 | Ж 71 | Г 72 | В 73 | П 74 | З 75 | Е 76 | О 77 | Р 78 | С 79 | У 80 | Ё 81 | Й 82 | Т 83 | Ч 84 | Э 85 | Ц 86 | Ю 87 | Ш 88 | Ф 89 | Х 90 | Я 91 | Ь 92 | Ы 93 | Ў 94 | s 95 | c 96 | n 97 | w 98 | M 99 | o 100 | t 101 | T 102 | E 103 | A 104 | B 105 | u 106 | h 107 | y 108 | k 109 | r 110 | H 111 | d 112 | Y 113 | O 114 | U 115 | F 116 | f 117 | x 118 | D 119 | G 120 | N 121 | K 122 | P 123 | z 124 | J 125 | X 126 | W 127 | Z 128 | Q 129 | % 130 | - 131 | q 132 | @ 133 | ' 134 | ! 135 | # 136 | & 137 | , 138 | : 139 | $ 140 | ( 141 | ? 142 | é 143 | + 144 | É 145 | 146 | -------------------------------------------------------------------------------- /ppocr/utils/dict/bg_dict.txt: -------------------------------------------------------------------------------- 1 | ! 2 | # 3 | $ 4 | % 5 | & 6 | ' 7 | ( 8 | + 9 | , 10 | - 11 | . 12 | / 13 | 0 14 | 1 15 | 2 16 | 3 17 | 4 18 | 5 19 | 6 20 | 7 21 | 8 22 | 9 23 | : 24 | ? 25 | @ 26 | A 27 | B 28 | C 29 | D 30 | E 31 | F 32 | G 33 | H 34 | I 35 | J 36 | K 37 | L 38 | M 39 | N 40 | O 41 | P 42 | Q 43 | R 44 | S 45 | T 46 | U 47 | V 48 | W 49 | X 50 | Y 51 | Z 52 | _ 53 | a 54 | b 55 | c 56 | d 57 | e 58 | f 59 | g 60 | h 61 | i 62 | j 63 | k 64 | l 65 | m 66 | n 67 | o 68 | p 69 | q 70 | r 71 | s 72 | t 73 | u 74 | v 75 | w 76 | x 77 | y 78 | z 79 | É 80 | é 81 | А 82 | Б 83 | В 84 | Г 85 | Д 86 | Е 87 | Ж 88 | З 89 | И 90 | Й 91 | К 92 | Л 93 | М 94 | Н 95 | О 96 | П 97 | Р 98 | С 99 | Т 100 | У 101 | Ф 102 | Х 103 | Ц 104 | Ч 105 | Ш 106 | Щ 107 | Ъ 108 | Ю 109 | Я 110 | а 111 | б 112 | в 113 | г 114 | д 115 | е 116 | ж 117 | з 118 | и 119 | й 120 | к 121 | л 122 | м 123 | н 124 | о 125 | п 126 | р 127 | с 128 | т 129 | у 130 | ф 131 | х 132 | ц 133 | ч 134 | ш 135 | щ 136 | ъ 137 | ь 138 | ю 139 | я 140 | 141 | -------------------------------------------------------------------------------- /ppocr/utils/dict/confuse.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/dict/confuse.pkl -------------------------------------------------------------------------------- /ppocr/utils/dict/en_dict.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | a 12 | b 13 | c 14 | d 15 | e 16 | f 17 | g 18 | h 19 | i 20 | j 21 | k 22 | l 23 | m 24 | n 25 | o 26 | p 27 | q 28 | r 29 | s 30 | t 31 | u 32 | v 33 | w 34 | x 35 | y 36 | z 37 | A 38 | B 39 | C 40 | D 41 | E 42 | F 43 | G 44 | H 45 | I 46 | J 47 | K 48 | L 49 | M 50 | N 51 | O 52 | P 53 | Q 54 | R 55 | S 56 | T 57 | U 58 | V 59 | W 60 | X 61 | Y 62 | Z 63 | 64 | -------------------------------------------------------------------------------- /ppocr/utils/dict/fa_dict.txt: -------------------------------------------------------------------------------- 1 | f 2 | a 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 1 9 | 3 10 | I 11 | L 12 | S 13 | V 14 | R 15 | C 16 | 2 17 | 0 18 | v 19 | l 20 | 6 21 | 8 22 | 5 23 | . 24 | j 25 | p 26 | و 27 | د 28 | ر 29 | ك 30 | ن 31 | ش 32 | ه 33 | ا 34 | 4 35 | 9 36 | ی 37 | ج 38 | ِ 39 | 7 40 | غ 41 | ل 42 | س 43 | ز 44 | ّ 45 | ت 46 | ک 47 | گ 48 | ي 49 | م 50 | ب 51 | ف 52 | چ 53 | خ 54 | ق 55 | ژ 56 | آ 57 | ص 58 | پ 59 | َ 60 | ع 61 | ئ 62 | ح 63 | ٔ 64 | ض 65 | ُ 66 | ذ 67 | أ 68 | ى 69 | ط 70 | ظ 71 | ث 72 | ة 73 | ً 74 | ء 75 | ؤ 76 | ْ 77 | ۀ 78 | إ 79 | ٍ 80 | ٌ 81 | ٰ 82 | ٓ 83 | ٱ 84 | s 85 | c 86 | e 87 | n 88 | w 89 | N 90 | E 91 | W 92 | Y 93 | D 94 | O 95 | H 96 | A 97 | d 98 | z 99 | r 100 | T 101 | G 102 | o 103 | t 104 | x 105 | h 106 | b 107 | B 108 | M 109 | Z 110 | u 111 | P 112 | F 113 | y 114 | q 115 | U 116 | K 117 | k 118 | J 119 | Q 120 | ' 121 | X 122 | # 123 | ? 124 | % 125 | $ 126 | , 127 | : 128 | & 129 | ! 130 | - 131 | ( 132 | É 133 | @ 134 | é 135 | + 136 | 137 | -------------------------------------------------------------------------------- /ppocr/utils/dict/french_dict.txt: -------------------------------------------------------------------------------- 1 | f 2 | e 3 | n 4 | c 5 | h 6 | _ 7 | i 8 | m 9 | g 10 | / 11 | r 12 | v 13 | a 14 | l 15 | t 16 | w 17 | o 18 | d 19 | 6 20 | 1 21 | . 22 | p 23 | B 24 | u 25 | 2 26 | à 27 | 3 28 | R 29 | y 30 | 4 31 | U 32 | E 33 | A 34 | 5 35 | P 36 | O 37 | S 38 | T 39 | D 40 | 7 41 | Z 42 | 8 43 | I 44 | N 45 | L 46 | G 47 | M 48 | H 49 | 0 50 | J 51 | K 52 | - 53 | 9 54 | F 55 | C 56 | V 57 | é 58 | X 59 | ' 60 | s 61 | Q 62 | : 63 | è 64 | x 65 | b 66 | Y 67 | Œ 68 | É 69 | z 70 | W 71 | Ç 72 | È 73 | k 74 | Ô 75 | ô 76 | € 77 | À 78 | Ê 79 | q 80 | ù 81 | ° 82 | ê 83 | î 84 | * 85 |  86 | j 87 | " 88 | , 89 | â 90 | % 91 | û 92 | ç 93 | ü 94 | ? 95 | ! 96 | ; 97 | ö 98 | ( 99 | ) 100 | ï 101 | º 102 | ó 103 | ø 104 | å 105 | + 106 | ™ 107 | á 108 | Ë 109 | < 110 | ² 111 | Á 112 | Î 113 | & 114 | @ 115 | œ 116 | ε 117 | Ü 118 | ë 119 | [ 120 | ] 121 | í 122 | ò 123 | Ö 124 | ä 125 | ß 126 | « 127 | » 128 | ú 129 | ñ 130 | æ 131 | µ 132 | ³ 133 | Å 134 | $ 135 | # 136 | 137 | -------------------------------------------------------------------------------- /ppocr/utils/dict/german_dict.txt: -------------------------------------------------------------------------------- 1 | 2 | ! 3 | " 4 | # 5 | $ 6 | % 7 | & 8 | ' 9 | ( 10 | ) 11 | * 12 | + 13 | , 14 | - 15 | . 16 | / 17 | 0 18 | 1 19 | 2 20 | 3 21 | 4 22 | 5 23 | 6 24 | 7 25 | 8 26 | 9 27 | : 28 | ; 29 | = 30 | > 31 | ? 32 | @ 33 | A 34 | B 35 | C 36 | D 37 | E 38 | F 39 | G 40 | H 41 | I 42 | J 43 | K 44 | L 45 | M 46 | N 47 | O 48 | P 49 | Q 50 | R 51 | S 52 | T 53 | U 54 | V 55 | W 56 | X 57 | Y 58 | Z 59 | [ 60 | ] 61 | _ 62 | a 63 | b 64 | c 65 | d 66 | e 67 | f 68 | g 69 | h 70 | i 71 | j 72 | k 73 | l 74 | m 75 | n 76 | o 77 | p 78 | q 79 | r 80 | s 81 | t 82 | u 83 | v 84 | w 85 | x 86 | y 87 | z 88 | £ 89 | § 90 | ­ 91 | ° 92 | ´ 93 | µ 94 | · 95 | º 96 | ¿ 97 | Á 98 | Ä 99 | Å 100 | É 101 | Ï 102 | Ô 103 | Ö 104 | Ü 105 | ß 106 | à 107 | á 108 | â 109 | ã 110 | ä 111 | å 112 | æ 113 | ç 114 | è 115 | é 116 | ê 117 | ë 118 | í 119 | ï 120 | ñ 121 | ò 122 | ó 123 | ô 124 | ö 125 | ø 126 | ù 127 | ú 128 | û 129 | ü 130 | ō 131 | Š 132 | Ÿ 133 | ʒ 134 | β 135 | δ 136 | з 137 | Ṡ 138 | ‘ 139 | € 140 | © 141 | ª 142 | « 143 | ¬ 144 | -------------------------------------------------------------------------------- /ppocr/utils/dict/it_dict.txt: -------------------------------------------------------------------------------- 1 | i 2 | t 3 | _ 4 | m 5 | g 6 | / 7 | 5 8 | I 9 | L 10 | S 11 | V 12 | R 13 | C 14 | 2 15 | 0 16 | 1 17 | v 18 | a 19 | l 20 | 7 21 | 8 22 | 9 23 | 6 24 | . 25 | j 26 | p 27 | 28 | e 29 | r 30 | o 31 | d 32 | s 33 | n 34 | 3 35 | 4 36 | P 37 | u 38 | c 39 | A 40 | - 41 | , 42 | " 43 | z 44 | h 45 | f 46 | b 47 | q 48 | ì 49 | ' 50 | à 51 | O 52 | è 53 | G 54 | ù 55 | é 56 | ò 57 | ; 58 | F 59 | E 60 | B 61 | N 62 | H 63 | k 64 | : 65 | U 66 | T 67 | X 68 | D 69 | K 70 | ? 71 | [ 72 | M 73 | ­ 74 | x 75 | y 76 | ( 77 | ) 78 | W 79 | ö 80 | º 81 | w 82 | ] 83 | Q 84 | J 85 | + 86 | ü 87 | ! 88 | È 89 | á 90 | % 91 | = 92 | » 93 | ñ 94 | Ö 95 | Y 96 | ä 97 | í 98 | Z 99 | « 100 | @ 101 | ó 102 | ø 103 | ï 104 | ú 105 | ê 106 | ç 107 | Á 108 | É 109 | Å 110 | ß 111 | { 112 | } 113 | & 114 | ` 115 | û 116 | î 117 | # 118 | $ 119 | -------------------------------------------------------------------------------- /ppocr/utils/dict/ka_dict.txt: -------------------------------------------------------------------------------- 1 | k 2 | a 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 1 9 | 2 10 | I 11 | L 12 | S 13 | V 14 | R 15 | C 16 | 0 17 | v 18 | l 19 | 6 20 | 4 21 | 8 22 | . 23 | j 24 | p 25 | ಗ 26 | ು 27 | ಣ 28 | ಪ 29 | ಡ 30 | ಿ 31 | ಸ 32 | ಲ 33 | ಾ 34 | ದ 35 | ್ 36 | 7 37 | 5 38 | 3 39 | ವ 40 | ಷ 41 | ಬ 42 | ಹ 43 | ೆ 44 | 9 45 | ಅ 46 | ಳ 47 | ನ 48 | ರ 49 | ಉ 50 | ಕ 51 | ಎ 52 | ೇ 53 | ಂ 54 | ೈ 55 | ೊ 56 | ೀ 57 | ಯ 58 | ೋ 59 | ತ 60 | ಶ 61 | ಭ 62 | ಧ 63 | ಚ 64 | ಜ 65 | ೂ 66 | ಮ 67 | ಒ 68 | ೃ 69 | ಥ 70 | ಇ 71 | ಟ 72 | ಖ 73 | ಆ 74 | ಞ 75 | ಫ 76 | - 77 | ಢ 78 | ಊ 79 | ಓ 80 | ಐ 81 | ಃ 82 | ಘ 83 | ಝ 84 | ೌ 85 | ಠ 86 | ಛ 87 | ಔ 88 | ಏ 89 | ಈ 90 | ಋ 91 | ೨ 92 | ೦ 93 | ೧ 94 | ೮ 95 | ೯ 96 | ೪ 97 | , 98 | ೫ 99 | ೭ 100 | ೩ 101 | ೬ 102 | ಙ 103 | s 104 | c 105 | e 106 | n 107 | w 108 | o 109 | u 110 | t 111 | d 112 | E 113 | A 114 | T 115 | B 116 | Z 117 | N 118 | G 119 | O 120 | q 121 | z 122 | r 123 | x 124 | P 125 | K 126 | M 127 | J 128 | U 129 | D 130 | f 131 | F 132 | h 133 | b 134 | W 135 | Y 136 | y 137 | H 138 | X 139 | Q 140 | ' 141 | # 142 | & 143 | ! 144 | @ 145 | $ 146 | : 147 | % 148 | é 149 | É 150 | ( 151 | ? 152 | + 153 | 154 | -------------------------------------------------------------------------------- /ppocr/utils/dict/kie_dict/xfund_class_list.txt: -------------------------------------------------------------------------------- 1 | OTHER 2 | QUESTION 3 | ANSWER 4 | HEADER 5 | -------------------------------------------------------------------------------- /ppocr/utils/dict/latex_symbol_dict.txt: -------------------------------------------------------------------------------- 1 | eos 2 | sos 3 | ! 4 | ' 5 | ( 6 | ) 7 | + 8 | , 9 | - 10 | . 11 | / 12 | 0 13 | 1 14 | 2 15 | 3 16 | 4 17 | 5 18 | 6 19 | 7 20 | 8 21 | 9 22 | < 23 | = 24 | > 25 | A 26 | B 27 | C 28 | E 29 | F 30 | G 31 | H 32 | I 33 | L 34 | M 35 | N 36 | P 37 | R 38 | S 39 | T 40 | V 41 | X 42 | Y 43 | [ 44 | \Delta 45 | \alpha 46 | \beta 47 | \cdot 48 | \cdots 49 | \cos 50 | \div 51 | \exists 52 | \forall 53 | \frac 54 | \gamma 55 | \geq 56 | \in 57 | \infty 58 | \int 59 | \lambda 60 | \ldots 61 | \leq 62 | \lim 63 | \log 64 | \mu 65 | \neq 66 | \phi 67 | \pi 68 | \pm 69 | \prime 70 | \rightarrow 71 | \sigma 72 | \sin 73 | \sqrt 74 | \sum 75 | \tan 76 | \theta 77 | \times 78 | ] 79 | a 80 | b 81 | c 82 | d 83 | e 84 | f 85 | g 86 | h 87 | i 88 | j 89 | k 90 | l 91 | m 92 | n 93 | o 94 | p 95 | q 96 | r 97 | s 98 | t 99 | u 100 | v 101 | w 102 | x 103 | y 104 | z 105 | \{ 106 | | 107 | \} 108 | { 109 | } 110 | ^ 111 | _ -------------------------------------------------------------------------------- /ppocr/utils/dict/layout_dict/layout_cdla_dict.txt: -------------------------------------------------------------------------------- 1 | text 2 | title 3 | figure 4 | figure_caption 5 | table 6 | table_caption 7 | header 8 | footer 9 | reference 10 | equation -------------------------------------------------------------------------------- /ppocr/utils/dict/layout_dict/layout_publaynet_dict.txt: -------------------------------------------------------------------------------- 1 | text 2 | title 3 | list 4 | table 5 | figure -------------------------------------------------------------------------------- /ppocr/utils/dict/layout_dict/layout_table_dict.txt: -------------------------------------------------------------------------------- 1 | table -------------------------------------------------------------------------------- /ppocr/utils/dict/mr_dict.txt: -------------------------------------------------------------------------------- 1 | 2 | ! 3 | # 4 | $ 5 | % 6 | & 7 | ' 8 | ( 9 | + 10 | , 11 | - 12 | . 13 | / 14 | 0 15 | 1 16 | 2 17 | 3 18 | 4 19 | 5 20 | 6 21 | 7 22 | 8 23 | 9 24 | : 25 | ? 26 | @ 27 | A 28 | B 29 | C 30 | D 31 | E 32 | F 33 | G 34 | H 35 | I 36 | J 37 | K 38 | L 39 | M 40 | N 41 | O 42 | P 43 | Q 44 | R 45 | S 46 | T 47 | U 48 | V 49 | W 50 | X 51 | Y 52 | Z 53 | _ 54 | a 55 | b 56 | c 57 | d 58 | e 59 | f 60 | g 61 | h 62 | i 63 | j 64 | k 65 | l 66 | m 67 | n 68 | o 69 | p 70 | q 71 | r 72 | s 73 | t 74 | u 75 | v 76 | w 77 | x 78 | y 79 | z 80 | É 81 | é 82 | ँ 83 | ं 84 | ः 85 | अ 86 | आ 87 | इ 88 | ई 89 | उ 90 | ऊ 91 | ए 92 | ऐ 93 | ऑ 94 | ओ 95 | औ 96 | क 97 | ख 98 | ग 99 | घ 100 | च 101 | छ 102 | ज 103 | झ 104 | ञ 105 | ट 106 | ठ 107 | ड 108 | ढ 109 | ण 110 | त 111 | थ 112 | द 113 | ध 114 | न 115 | प 116 | फ 117 | ब 118 | भ 119 | म 120 | य 121 | र 122 | ऱ 123 | ल 124 | ळ 125 | व 126 | श 127 | ष 128 | स 129 | ह 130 | ़ 131 | ा 132 | ि 133 | ी 134 | ु 135 | ू 136 | ृ 137 | ॅ 138 | े 139 | ै 140 | ॉ 141 | ो 142 | ौ 143 | ् 144 | ० 145 | १ 146 | २ 147 | ३ 148 | ४ 149 | ५ 150 | ६ 151 | ७ 152 | ८ 153 | ९ 154 | -------------------------------------------------------------------------------- /ppocr/utils/dict/oc_dict.txt: -------------------------------------------------------------------------------- 1 | o 2 | c 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 2 9 | 0 10 | I 11 | L 12 | S 13 | V 14 | R 15 | C 16 | 1 17 | v 18 | a 19 | l 20 | 4 21 | 3 22 | . 23 | j 24 | p 25 | r 26 | e 27 | è 28 | t 29 | 9 30 | 7 31 | 5 32 | 8 33 | n 34 | ' 35 | b 36 | s 37 | 6 38 | q 39 | u 40 | á 41 | d 42 | ò 43 | à 44 | h 45 | z 46 | f 47 | ï 48 | í 49 | A 50 | ç 51 | x 52 | ó 53 | é 54 | P 55 | O 56 | Ò 57 | ü 58 | k 59 | À 60 | F 61 | - 62 | ú 63 | ­ 64 | æ 65 | Á 66 | D 67 | E 68 | w 69 | K 70 | T 71 | N 72 | y 73 | U 74 | Z 75 | G 76 | B 77 | J 78 | H 79 | M 80 | W 81 | Y 82 | X 83 | Q 84 | % 85 | $ 86 | , 87 | @ 88 | & 89 | ! 90 | : 91 | ( 92 | # 93 | ? 94 | + 95 | É 96 | 97 | -------------------------------------------------------------------------------- /ppocr/utils/dict/pu_dict.txt: -------------------------------------------------------------------------------- 1 | p 2 | u 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 8 9 | I 10 | L 11 | S 12 | V 13 | R 14 | C 15 | 2 16 | 0 17 | 1 18 | v 19 | a 20 | l 21 | 6 22 | 7 23 | 4 24 | 5 25 | . 26 | j 27 | 28 | q 29 | e 30 | s 31 | t 32 | ã 33 | o 34 | x 35 | 9 36 | c 37 | n 38 | r 39 | z 40 | ç 41 | õ 42 | 3 43 | A 44 | U 45 | d 46 | º 47 | ô 48 | ­ 49 | , 50 | E 51 | ; 52 | ó 53 | á 54 | b 55 | D 56 | ? 57 | ú 58 | ê 59 | - 60 | h 61 | P 62 | f 63 | à 64 | N 65 | í 66 | O 67 | M 68 | G 69 | É 70 | é 71 | â 72 | F 73 | : 74 | T 75 | Á 76 | " 77 | Q 78 | ) 79 | W 80 | J 81 | B 82 | H 83 | ( 84 | ö 85 | % 86 | Ö 87 | « 88 | w 89 | K 90 | y 91 | ! 92 | k 93 | ] 94 | ' 95 | Z 96 | + 97 | Ç 98 | Õ 99 | Y 100 | À 101 | X 102 | µ 103 | » 104 | ª 105 | Í 106 | ü 107 | ä 108 | ´ 109 | è 110 | ñ 111 | ß 112 | ï 113 | Ú 114 | ë 115 | Ô 116 | Ï 117 | Ó 118 | [ 119 | Ì 120 | < 121 |  122 | ò 123 | § 124 | ³ 125 | ø 126 | å 127 | # 128 | $ 129 | & 130 | @ 131 | -------------------------------------------------------------------------------- /ppocr/utils/dict/rs_dict.txt: -------------------------------------------------------------------------------- 1 | r 2 | s 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 1 9 | I 10 | L 11 | S 12 | V 13 | R 14 | C 15 | 2 16 | 0 17 | v 18 | a 19 | l 20 | 7 21 | 5 22 | 8 23 | 6 24 | . 25 | j 26 | p 27 | 28 | t 29 | d 30 | 9 31 | 3 32 | e 33 | š 34 | 4 35 | k 36 | u 37 | ć 38 | c 39 | n 40 | đ 41 | o 42 | z 43 | č 44 | b 45 | ž 46 | f 47 | Z 48 | T 49 | h 50 | M 51 | F 52 | O 53 | Š 54 | B 55 | H 56 | A 57 | E 58 | Đ 59 | Ž 60 | D 61 | P 62 | G 63 | Č 64 | K 65 | U 66 | N 67 | J 68 | Ć 69 | w 70 | y 71 | W 72 | x 73 | Y 74 | X 75 | q 76 | Q 77 | # 78 | & 79 | $ 80 | , 81 | - 82 | % 83 | ' 84 | @ 85 | ! 86 | : 87 | ? 88 | ( 89 | É 90 | é 91 | + 92 | -------------------------------------------------------------------------------- /ppocr/utils/dict/rsc_dict.txt: -------------------------------------------------------------------------------- 1 | r 2 | s 3 | c 4 | _ 5 | i 6 | m 7 | g 8 | / 9 | 5 10 | I 11 | L 12 | S 13 | V 14 | R 15 | C 16 | 2 17 | 0 18 | 1 19 | v 20 | a 21 | l 22 | 9 23 | 7 24 | 8 25 | . 26 | j 27 | p 28 | м 29 | а 30 | с 31 | и 32 | р 33 | ћ 34 | е 35 | ш 36 | 3 37 | 4 38 | о 39 | г 40 | н 41 | з 42 | в 43 | л 44 | 6 45 | т 46 | ж 47 | у 48 | к 49 | п 50 | њ 51 | д 52 | ч 53 | С 54 | ј 55 | ф 56 | ц 57 | љ 58 | х 59 | О 60 | И 61 | А 62 | б 63 | Ш 64 | К 65 | ђ 66 | џ 67 | М 68 | В 69 | З 70 | Д 71 | Р 72 | У 73 | Н 74 | Т 75 | Б 76 | ? 77 | П 78 | Х 79 | Ј 80 | Ц 81 | Г 82 | Љ 83 | Л 84 | Ф 85 | e 86 | n 87 | w 88 | E 89 | F 90 | A 91 | N 92 | f 93 | o 94 | b 95 | M 96 | G 97 | t 98 | y 99 | W 100 | k 101 | P 102 | u 103 | H 104 | B 105 | T 106 | z 107 | h 108 | O 109 | Y 110 | d 111 | U 112 | K 113 | D 114 | x 115 | X 116 | J 117 | Z 118 | Q 119 | q 120 | ' 121 | - 122 | @ 123 | é 124 | # 125 | ! 126 | , 127 | % 128 | $ 129 | : 130 | & 131 | + 132 | ( 133 | É 134 | 135 | -------------------------------------------------------------------------------- /ppocr/utils/dict/ru_dict.txt: -------------------------------------------------------------------------------- 1 | к 2 | в 3 | а 4 | з 5 | и 6 | у 7 | р 8 | о 9 | н 10 | я 11 | х 12 | п 13 | л 14 | ы 15 | г 16 | е 17 | т 18 | м 19 | д 20 | ж 21 | ш 22 | ь 23 | с 24 | ё 25 | б 26 | й 27 | ч 28 | ю 29 | ц 30 | щ 31 | М 32 | э 33 | ф 34 | А 35 | ъ 36 | С 37 | Ф 38 | Ю 39 | В 40 | К 41 | Т 42 | Н 43 | О 44 | Э 45 | У 46 | И 47 | Г 48 | Л 49 | Р 50 | Д 51 | Б 52 | Ш 53 | П 54 | З 55 | Х 56 | Е 57 | Ж 58 | Я 59 | Ц 60 | Ч 61 | Й 62 | Щ 63 | 0 64 | 1 65 | 2 66 | 3 67 | 4 68 | 5 69 | 6 70 | 7 71 | 8 72 | 9 73 | a 74 | b 75 | c 76 | d 77 | e 78 | f 79 | g 80 | h 81 | i 82 | j 83 | k 84 | l 85 | m 86 | n 87 | o 88 | p 89 | q 90 | r 91 | s 92 | t 93 | u 94 | v 95 | w 96 | x 97 | y 98 | z 99 | A 100 | B 101 | C 102 | D 103 | E 104 | F 105 | G 106 | H 107 | I 108 | J 109 | K 110 | L 111 | M 112 | N 113 | O 114 | P 115 | Q 116 | R 117 | S 118 | T 119 | U 120 | V 121 | W 122 | X 123 | Y 124 | Z 125 | 126 | -------------------------------------------------------------------------------- /ppocr/utils/dict/spin_dict.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | a 12 | b 13 | c 14 | d 15 | e 16 | f 17 | g 18 | h 19 | i 20 | j 21 | k 22 | l 23 | m 24 | n 25 | o 26 | p 27 | q 28 | r 29 | s 30 | t 31 | u 32 | v 33 | w 34 | x 35 | y 36 | z 37 | : 38 | ( 39 | ' 40 | - 41 | , 42 | % 43 | > 44 | . 45 | [ 46 | ? 47 | ) 48 | " 49 | = 50 | _ 51 | * 52 | ] 53 | ; 54 | & 55 | + 56 | $ 57 | @ 58 | / 59 | | 60 | ! 61 | < 62 | # 63 | ` 64 | { 65 | ~ 66 | \ 67 | } 68 | ^ -------------------------------------------------------------------------------- /ppocr/utils/dict/ta_dict.txt: -------------------------------------------------------------------------------- 1 | t 2 | a 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 3 9 | I 10 | L 11 | S 12 | V 13 | R 14 | C 15 | 2 16 | 0 17 | 1 18 | v 19 | l 20 | 9 21 | 7 22 | 8 23 | . 24 | j 25 | p 26 | ப 27 | ூ 28 | த 29 | ம 30 | ி 31 | வ 32 | ர 33 | ் 34 | ந 35 | ோ 36 | ன 37 | 6 38 | ஆ 39 | ற 40 | ல 41 | 5 42 | ள 43 | ா 44 | ொ 45 | ழ 46 | ு 47 | 4 48 | ெ 49 | ண 50 | க 51 | ட 52 | ை 53 | ே 54 | ச 55 | ய 56 | ஒ 57 | இ 58 | அ 59 | ங 60 | உ 61 | ீ 62 | ஞ 63 | எ 64 | ஓ 65 | ஃ 66 | ஜ 67 | ஷ 68 | ஸ 69 | ஏ 70 | ஊ 71 | ஹ 72 | ஈ 73 | ஐ 74 | ௌ 75 | ஔ 76 | s 77 | c 78 | e 79 | n 80 | w 81 | F 82 | T 83 | O 84 | P 85 | K 86 | A 87 | N 88 | G 89 | Y 90 | E 91 | M 92 | H 93 | U 94 | B 95 | o 96 | b 97 | D 98 | d 99 | r 100 | W 101 | u 102 | y 103 | f 104 | X 105 | k 106 | q 107 | h 108 | J 109 | z 110 | Z 111 | Q 112 | x 113 | - 114 | ' 115 | $ 116 | , 117 | % 118 | @ 119 | é 120 | ! 121 | # 122 | + 123 | É 124 | & 125 | : 126 | ( 127 | ? 128 | 129 | -------------------------------------------------------------------------------- /ppocr/utils/dict/table_master_structure_dict.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | colspan="2" 14 | colspan="3" 15 | 16 | 17 | rowspan="2" 18 | colspan="4" 19 | colspan="6" 20 | rowspan="3" 21 | colspan="9" 22 | colspan="10" 23 | colspan="7" 24 | rowspan="4" 25 | rowspan="5" 26 | rowspan="9" 27 | colspan="8" 28 | rowspan="8" 29 | rowspan="6" 30 | rowspan="7" 31 | rowspan="10" 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /ppocr/utils/dict/table_structure_dict.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | colspan="2" 13 | colspan="3" 14 | rowspan="2" 15 | colspan="4" 16 | colspan="6" 17 | rowspan="3" 18 | colspan="9" 19 | colspan="10" 20 | colspan="7" 21 | rowspan="4" 22 | rowspan="5" 23 | rowspan="9" 24 | colspan="8" 25 | rowspan="8" 26 | rowspan="6" 27 | rowspan="7" 28 | rowspan="10" -------------------------------------------------------------------------------- /ppocr/utils/dict/table_structure_dict_ch.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 11 | colspan="2" 12 | colspan="3" 13 | colspan="4" 14 | colspan="5" 15 | colspan="6" 16 | colspan="7" 17 | colspan="8" 18 | colspan="9" 19 | colspan="10" 20 | colspan="11" 21 | colspan="12" 22 | colspan="13" 23 | colspan="14" 24 | colspan="15" 25 | colspan="16" 26 | colspan="17" 27 | colspan="18" 28 | colspan="19" 29 | colspan="20" 30 | rowspan="2" 31 | rowspan="3" 32 | rowspan="4" 33 | rowspan="5" 34 | rowspan="6" 35 | rowspan="7" 36 | rowspan="8" 37 | rowspan="9" 38 | rowspan="10" 39 | rowspan="11" 40 | rowspan="12" 41 | rowspan="13" 42 | rowspan="14" 43 | rowspan="15" 44 | rowspan="16" 45 | rowspan="17" 46 | rowspan="18" 47 | rowspan="19" 48 | rowspan="20" 49 | -------------------------------------------------------------------------------- /ppocr/utils/dict/te_dict.txt: -------------------------------------------------------------------------------- 1 | t 2 | e 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 5 9 | I 10 | L 11 | S 12 | V 13 | R 14 | C 15 | 2 16 | 0 17 | 1 18 | v 19 | a 20 | l 21 | 3 22 | 4 23 | 8 24 | 9 25 | . 26 | j 27 | p 28 | త 29 | ె 30 | ర 31 | క 32 | ్ 33 | ి 34 | ం 35 | చ 36 | ే 37 | ద 38 | ు 39 | 7 40 | 6 41 | ఉ 42 | ా 43 | మ 44 | ట 45 | ో 46 | వ 47 | ప 48 | ల 49 | శ 50 | ఆ 51 | య 52 | ై 53 | భ 54 | ' 55 | ీ 56 | గ 57 | ూ 58 | డ 59 | ధ 60 | హ 61 | న 62 | జ 63 | స 64 | [ 65 | ‌ 66 | ష 67 | అ 68 | ణ 69 | ఫ 70 | బ 71 | ఎ 72 | ; 73 | ళ 74 | థ 75 | ొ 76 | ఠ 77 | ృ 78 | ఒ 79 | ఇ 80 | ః 81 | ఊ 82 | ఖ 83 | - 84 | ఐ 85 | ఘ 86 | ౌ 87 | ఏ 88 | ఈ 89 | ఛ 90 | , 91 | ఓ 92 | ఞ 93 | | 94 | ? 95 | : 96 | ఢ 97 | " 98 | ( 99 | ” 100 | ! 101 | + 102 | ) 103 | * 104 | = 105 | & 106 | “ 107 | € 108 | ] 109 | £ 110 | $ 111 | s 112 | c 113 | n 114 | w 115 | k 116 | J 117 | G 118 | u 119 | d 120 | r 121 | E 122 | o 123 | h 124 | y 125 | b 126 | f 127 | B 128 | M 129 | O 130 | T 131 | N 132 | D 133 | P 134 | A 135 | F 136 | x 137 | W 138 | Y 139 | U 140 | H 141 | K 142 | X 143 | z 144 | Z 145 | Q 146 | q 147 | É 148 | % 149 | # 150 | @ 151 | é 152 | -------------------------------------------------------------------------------- /ppocr/utils/dict/ug_dict.txt: -------------------------------------------------------------------------------- 1 | u 2 | g 3 | _ 4 | i 5 | m 6 | / 7 | 1 8 | I 9 | L 10 | S 11 | V 12 | R 13 | C 14 | 2 15 | 0 16 | v 17 | a 18 | l 19 | 8 20 | 5 21 | 3 22 | 6 23 | 9 24 | . 25 | j 26 | p 27 | 28 | ق 29 | ا 30 | پ 31 | ل 32 | 4 33 | 7 34 | ئ 35 | ى 36 | ش 37 | ت 38 | ي 39 | ك 40 | د 41 | ف 42 | ر 43 | و 44 | ن 45 | ب 46 | ە 47 | خ 48 | ې 49 | چ 50 | ۇ 51 | ز 52 | س 53 | م 54 | ۋ 55 | گ 56 | ڭ 57 | ۆ 58 | ۈ 59 | ج 60 | غ 61 | ھ 62 | ژ 63 | s 64 | c 65 | e 66 | n 67 | w 68 | P 69 | E 70 | D 71 | U 72 | d 73 | r 74 | b 75 | y 76 | B 77 | o 78 | O 79 | Y 80 | N 81 | T 82 | k 83 | t 84 | h 85 | A 86 | H 87 | F 88 | z 89 | W 90 | K 91 | G 92 | M 93 | f 94 | Z 95 | X 96 | Q 97 | J 98 | x 99 | q 100 | - 101 | ! 102 | % 103 | # 104 | ? 105 | : 106 | $ 107 | , 108 | & 109 | ' 110 | É 111 | @ 112 | é 113 | ( 114 | + 115 | -------------------------------------------------------------------------------- /ppocr/utils/dict/uk_dict.txt: -------------------------------------------------------------------------------- 1 | u 2 | k 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 1 9 | 6 10 | I 11 | L 12 | S 13 | V 14 | R 15 | C 16 | 2 17 | 0 18 | v 19 | a 20 | l 21 | 7 22 | 9 23 | . 24 | j 25 | p 26 | в 27 | і 28 | д 29 | п 30 | о 31 | н 32 | с 33 | т 34 | ю 35 | 4 36 | 5 37 | 3 38 | а 39 | и 40 | м 41 | е 42 | р 43 | ч 44 | у 45 | Б 46 | з 47 | л 48 | к 49 | 8 50 | А 51 | В 52 | г 53 | є 54 | б 55 | ь 56 | х 57 | ґ 58 | ш 59 | ц 60 | ф 61 | я 62 | щ 63 | ж 64 | Г 65 | Х 66 | У 67 | Т 68 | Е 69 | І 70 | Н 71 | П 72 | З 73 | Л 74 | Ю 75 | С 76 | Д 77 | М 78 | К 79 | Р 80 | Ф 81 | О 82 | Ц 83 | И 84 | Я 85 | Ч 86 | Ш 87 | Ж 88 | Є 89 | Ґ 90 | Ь 91 | s 92 | c 93 | e 94 | n 95 | w 96 | A 97 | P 98 | r 99 | E 100 | t 101 | o 102 | h 103 | d 104 | y 105 | M 106 | G 107 | N 108 | F 109 | B 110 | T 111 | D 112 | U 113 | O 114 | W 115 | Z 116 | f 117 | H 118 | Y 119 | b 120 | K 121 | z 122 | x 123 | Q 124 | X 125 | q 126 | J 127 | $ 128 | - 129 | ' 130 | # 131 | & 132 | % 133 | ? 134 | : 135 | ! 136 | , 137 | + 138 | @ 139 | ( 140 | é 141 | É 142 | 143 | -------------------------------------------------------------------------------- /ppocr/utils/dict/ur_dict.txt: -------------------------------------------------------------------------------- 1 | u 2 | r 3 | _ 4 | i 5 | m 6 | g 7 | / 8 | 3 9 | I 10 | L 11 | S 12 | V 13 | R 14 | C 15 | 2 16 | 0 17 | 1 18 | v 19 | a 20 | l 21 | 9 22 | 7 23 | 8 24 | . 25 | j 26 | p 27 | 28 | چ 29 | ٹ 30 | پ 31 | ا 32 | ئ 33 | ی 34 | ے 35 | 4 36 | 6 37 | و 38 | ل 39 | ن 40 | ڈ 41 | ھ 42 | ک 43 | ت 44 | ش 45 | ف 46 | ق 47 | ر 48 | د 49 | 5 50 | ب 51 | ج 52 | خ 53 | ہ 54 | س 55 | ز 56 | غ 57 | ڑ 58 | ں 59 | آ 60 | م 61 | ؤ 62 | ط 63 | ص 64 | ح 65 | ع 66 | گ 67 | ث 68 | ض 69 | ذ 70 | ۓ 71 | ِ 72 | ء 73 | ظ 74 | ً 75 | ي 76 | ُ 77 | ۃ 78 | أ 79 | ٰ 80 | ە 81 | ژ 82 | ۂ 83 | ة 84 | ّ 85 | ك 86 | ه 87 | s 88 | c 89 | e 90 | n 91 | w 92 | o 93 | d 94 | t 95 | D 96 | M 97 | T 98 | U 99 | E 100 | b 101 | P 102 | h 103 | y 104 | W 105 | H 106 | A 107 | x 108 | B 109 | O 110 | N 111 | G 112 | Y 113 | Q 114 | F 115 | k 116 | K 117 | q 118 | J 119 | Z 120 | f 121 | z 122 | X 123 | ' 124 | @ 125 | & 126 | ! 127 | , 128 | : 129 | $ 130 | - 131 | # 132 | ? 133 | % 134 | é 135 | + 136 | ( 137 | É 138 | -------------------------------------------------------------------------------- /ppocr/utils/dict/xi_dict.txt: -------------------------------------------------------------------------------- 1 | x 2 | i 3 | _ 4 | m 5 | g 6 | / 7 | 1 8 | 0 9 | I 10 | L 11 | S 12 | V 13 | R 14 | C 15 | 2 16 | v 17 | a 18 | l 19 | 3 20 | 6 21 | 4 22 | 5 23 | . 24 | j 25 | p 26 | 27 | Q 28 | u 29 | e 30 | r 31 | o 32 | 8 33 | 7 34 | n 35 | c 36 | 9 37 | t 38 | b 39 | é 40 | q 41 | d 42 | ó 43 | y 44 | F 45 | s 46 | , 47 | O 48 | í 49 | T 50 | f 51 | " 52 | U 53 | M 54 | h 55 | : 56 | P 57 | H 58 | A 59 | E 60 | D 61 | z 62 | N 63 | á 64 | ñ 65 | ú 66 | % 67 | ; 68 | è 69 | + 70 | Y 71 | - 72 | B 73 | G 74 | ( 75 | ) 76 | ¿ 77 | ? 78 | w 79 | ¡ 80 | ! 81 | X 82 | É 83 | K 84 | k 85 | Á 86 | ü 87 | Ú 88 | « 89 | » 90 | J 91 | ' 92 | ö 93 | W 94 | Z 95 | º 96 | Ö 97 | ­ 98 | [ 99 | ] 100 | Ç 101 | ç 102 | à 103 | ä 104 | û 105 | ò 106 | Í 107 | ê 108 | ô 109 | ø 110 | ª 111 | -------------------------------------------------------------------------------- /ppocr/utils/dict90.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | a 12 | b 13 | c 14 | d 15 | e 16 | f 17 | g 18 | h 19 | i 20 | j 21 | k 22 | l 23 | m 24 | n 25 | o 26 | p 27 | q 28 | r 29 | s 30 | t 31 | u 32 | v 33 | w 34 | x 35 | y 36 | z 37 | A 38 | B 39 | C 40 | D 41 | E 42 | F 43 | G 44 | H 45 | I 46 | J 47 | K 48 | L 49 | M 50 | N 51 | O 52 | P 53 | Q 54 | R 55 | S 56 | T 57 | U 58 | V 59 | W 60 | X 61 | Y 62 | Z 63 | ! 64 | " 65 | # 66 | $ 67 | % 68 | & 69 | ' 70 | ( 71 | ) 72 | * 73 | + 74 | , 75 | - 76 | . 77 | / 78 | : 79 | ; 80 | < 81 | = 82 | > 83 | ? 84 | @ 85 | [ 86 | \ 87 | ] 88 | _ 89 | ` 90 | ~ -------------------------------------------------------------------------------- /ppocr/utils/e2e_utils/__pycache__/extract_textpoint_fast.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/e2e_utils/__pycache__/extract_textpoint_fast.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/e2e_utils/__pycache__/extract_textpoint_fast.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/e2e_utils/__pycache__/extract_textpoint_fast.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/e2e_utils/__pycache__/extract_textpoint_slow.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/e2e_utils/__pycache__/extract_textpoint_slow.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/e2e_utils/__pycache__/extract_textpoint_slow.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/e2e_utils/__pycache__/extract_textpoint_slow.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/e2e_utils/__pycache__/pgnet_pp_utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/e2e_utils/__pycache__/pgnet_pp_utils.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/e2e_utils/__pycache__/pgnet_pp_utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/e2e_utils/__pycache__/pgnet_pp_utils.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/en_dict.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | : 12 | ; 13 | < 14 | = 15 | > 16 | ? 17 | @ 18 | A 19 | B 20 | C 21 | D 22 | E 23 | F 24 | G 25 | H 26 | I 27 | J 28 | K 29 | L 30 | M 31 | N 32 | O 33 | P 34 | Q 35 | R 36 | S 37 | T 38 | U 39 | V 40 | W 41 | X 42 | Y 43 | Z 44 | [ 45 | \ 46 | ] 47 | ^ 48 | _ 49 | ` 50 | a 51 | b 52 | c 53 | d 54 | e 55 | f 56 | g 57 | h 58 | i 59 | j 60 | k 61 | l 62 | m 63 | n 64 | o 65 | p 66 | q 67 | r 68 | s 69 | t 70 | u 71 | v 72 | w 73 | x 74 | y 75 | z 76 | { 77 | | 78 | } 79 | ~ 80 | ! 81 | " 82 | # 83 | $ 84 | % 85 | & 86 | ' 87 | ( 88 | ) 89 | * 90 | + 91 | , 92 | - 93 | . 94 | / 95 | 96 | -------------------------------------------------------------------------------- /ppocr/utils/ic15_dict.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | a 12 | b 13 | c 14 | d 15 | e 16 | f 17 | g 18 | h 19 | i 20 | j 21 | k 22 | l 23 | m 24 | n 25 | o 26 | p 27 | q 28 | r 29 | s 30 | t 31 | u 32 | v 33 | w 34 | x 35 | y 36 | z -------------------------------------------------------------------------------- /ppocr/utils/loggers/__init__.py: -------------------------------------------------------------------------------- 1 | from .vdl_logger import VDLLogger 2 | from .wandb_logger import WandbLogger 3 | from .loggers import Loggers 4 | -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/base_logger.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/base_logger.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/base_logger.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/base_logger.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/loggers.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/loggers.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/loggers.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/loggers.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/vdl_logger.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/vdl_logger.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/vdl_logger.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/vdl_logger.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/wandb_logger.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/wandb_logger.cpython-37.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/__pycache__/wandb_logger.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppocr/utils/loggers/__pycache__/wandb_logger.cpython-39.pyc -------------------------------------------------------------------------------- /ppocr/utils/loggers/base_logger.py: -------------------------------------------------------------------------------- 1 | import os 2 | from abc import ABC, abstractmethod 3 | 4 | class BaseLogger(ABC): 5 | def __init__(self, save_dir): 6 | self.save_dir = save_dir 7 | os.makedirs(self.save_dir, exist_ok=True) 8 | 9 | @abstractmethod 10 | def log_metrics(self, metrics, prefix=None): 11 | pass 12 | 13 | @abstractmethod 14 | def close(self): 15 | pass -------------------------------------------------------------------------------- /ppocr/utils/loggers/loggers.py: -------------------------------------------------------------------------------- 1 | from .wandb_logger import WandbLogger 2 | 3 | class Loggers(object): 4 | def __init__(self, loggers): 5 | super().__init__() 6 | self.loggers = loggers 7 | 8 | def log_metrics(self, metrics, prefix=None, step=None): 9 | for logger in self.loggers: 10 | logger.log_metrics(metrics, prefix=prefix, step=step) 11 | 12 | def log_model(self, is_best, prefix, metadata=None): 13 | for logger in self.loggers: 14 | logger.log_model(is_best=is_best, prefix=prefix, metadata=metadata) 15 | 16 | def close(self): 17 | for logger in self.loggers: 18 | logger.close() -------------------------------------------------------------------------------- /ppocr/utils/loggers/vdl_logger.py: -------------------------------------------------------------------------------- 1 | from .base_logger import BaseLogger 2 | from visualdl import LogWriter 3 | 4 | class VDLLogger(BaseLogger): 5 | def __init__(self, save_dir): 6 | super().__init__(save_dir) 7 | self.vdl_writer = LogWriter(logdir=save_dir) 8 | 9 | def log_metrics(self, metrics, prefix=None, step=None): 10 | if not prefix: 11 | prefix = "" 12 | updated_metrics = {prefix + "/" + k: v for k, v in metrics.items()} 13 | 14 | for k, v in updated_metrics.items(): 15 | self.vdl_writer.add_scalar(k, v, step) 16 | 17 | def log_model(self, is_best, prefix, metadata=None): 18 | pass 19 | 20 | def close(self): 21 | self.vdl_writer.close() -------------------------------------------------------------------------------- /ppstructure/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/.DS_Store -------------------------------------------------------------------------------- /ppstructure/.ipynb_checkpoints/Untitled-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 5 6 | } 7 | -------------------------------------------------------------------------------- /ppstructure/.ipynb_checkpoints/Untitled2-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 5 6 | } 7 | -------------------------------------------------------------------------------- /ppstructure/.ipynb_checkpoints/Untitled3-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 5 6 | } 7 | -------------------------------------------------------------------------------- /ppstructure/.ipynb_checkpoints/Untitled4-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 5 6 | } 7 | -------------------------------------------------------------------------------- /ppstructure/.ipynb_checkpoints/Untitled5-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 5 6 | } 7 | -------------------------------------------------------------------------------- /ppstructure/.ipynb_checkpoints/Untitled6-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 5 6 | } 7 | -------------------------------------------------------------------------------- /ppstructure/.ipynb_checkpoints/Untitled7-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [], 3 | "metadata": {}, 4 | "nbformat": 4, 5 | "nbformat_minor": 5 6 | } 7 | -------------------------------------------------------------------------------- /ppstructure/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /ppstructure/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/en_t2t_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/en_t2t_model.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/mt5_qa_on_context.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/mt5_qa_on_context.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/predict_system.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/predict_system.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/predict_system.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/predict_system.cpython-38.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/predict_system.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/predict_system.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/qa_on_context.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/qa_on_context.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/qa_on_image.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/qa_on_image.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/qa_on_pic.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/qa_on_pic.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/utility.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/utility.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/utility.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/utility.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/__pycache__/zh_mt5_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/__pycache__/zh_mt5_model.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/docs/imgs/sdmgr_result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/imgs/sdmgr_result.png -------------------------------------------------------------------------------- /ppstructure/docs/imgs/slanet_result.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/imgs/slanet_result.jpg -------------------------------------------------------------------------------- /ppstructure/docs/imgs/table_ch_result1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/imgs/table_ch_result1.jpg -------------------------------------------------------------------------------- /ppstructure/docs/imgs/table_ch_result2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/imgs/table_ch_result2.jpg -------------------------------------------------------------------------------- /ppstructure/docs/imgs/table_ch_result3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/imgs/table_ch_result3.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/input/zh_val_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/input/zh_val_0.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/input/zh_val_21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/input/zh_val_21.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/input/zh_val_40.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/input/zh_val_40.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/input/zh_val_42.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/input/zh_val_42.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/result_re/zh_val_21_re.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/result_re/zh_val_21_re.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/result_re/zh_val_40_re.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/result_re/zh_val_40_re.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/result_re/zh_val_42_re.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/result_re/zh_val_42_re.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/result_re_with_gt_ocr/zh_val_42_re.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/result_re_with_gt_ocr/zh_val_42_re.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/result_ser/zh_val_0_ser.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/result_ser/zh_val_0_ser.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/result_ser/zh_val_42_ser.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/result_ser/zh_val_42_ser.jpg -------------------------------------------------------------------------------- /ppstructure/docs/kie/result_ser_with_gt_ocr/zh_val_42_ser.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/kie/result_ser_with_gt_ocr/zh_val_42_ser.jpg -------------------------------------------------------------------------------- /ppstructure/docs/layout/layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/layout/layout.png -------------------------------------------------------------------------------- /ppstructure/docs/layout/layout_res.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/layout/layout_res.jpg -------------------------------------------------------------------------------- /ppstructure/docs/recovery/UnrealText.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/recovery/UnrealText.pdf -------------------------------------------------------------------------------- /ppstructure/docs/recovery/recovery.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/recovery/recovery.jpg -------------------------------------------------------------------------------- /ppstructure/docs/recovery/recovery_ch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/recovery/recovery_ch.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/1.png -------------------------------------------------------------------------------- /ppstructure/docs/table/layout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/layout.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/paper-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/paper-image.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/pipeline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/pipeline.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/pipeline_en.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/pipeline_en.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/ppstructure.GIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/ppstructure.GIF -------------------------------------------------------------------------------- /ppstructure/docs/table/result_all.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/result_all.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/result_text.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/result_text.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/table.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/table.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/tableocr_pipeline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/tableocr_pipeline.jpg -------------------------------------------------------------------------------- /ppstructure/docs/table/tableocr_pipeline_en.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/docs/table/tableocr_pipeline_en.jpg -------------------------------------------------------------------------------- /ppstructure/inference/.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/inference/.txt -------------------------------------------------------------------------------- /ppstructure/kie/__pycache__/predict_kie_token_ser.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/kie/__pycache__/predict_kie_token_ser.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/kie/__pycache__/predict_kie_token_ser.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/kie/__pycache__/predict_kie_token_ser.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/kie/__pycache__/predict_kie_token_ser_re.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/kie/__pycache__/predict_kie_token_ser_re.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/kie/__pycache__/predict_kie_token_ser_re.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/kie/__pycache__/predict_kie_token_ser_re.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/kie/requirements.txt: -------------------------------------------------------------------------------- 1 | sentencepiece 2 | yacs 3 | seqeval 4 | pypandoc 5 | attrdict 6 | python_docx 7 | paddlenlp>=2.4.1 8 | -------------------------------------------------------------------------------- /ppstructure/layout/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /ppstructure/layout/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/layout/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/layout/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/layout/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/layout/__pycache__/predict_layout.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/layout/__pycache__/predict_layout.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/layout/__pycache__/predict_layout.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/layout/__pycache__/predict_layout.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/pdf2word/icons/chinese.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/pdf2word/icons/chinese.png -------------------------------------------------------------------------------- /ppstructure/pdf2word/icons/english.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/pdf2word/icons/english.png -------------------------------------------------------------------------------- /ppstructure/pdf2word/icons/folder-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/pdf2word/icons/folder-open.png -------------------------------------------------------------------------------- /ppstructure/pdf2word/icons/folder-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/pdf2word/icons/folder-plus.png -------------------------------------------------------------------------------- /ppstructure/recovery/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /ppstructure/recovery/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/recovery/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/recovery/__pycache__/table_process.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/recovery/__pycache__/table_process.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/recovery/requirements.txt: -------------------------------------------------------------------------------- 1 | python-docx 2 | beautifulsoup4 3 | fonttools>=4.24.0 4 | fire>=0.3.0 5 | pdf2docx -------------------------------------------------------------------------------- /ppstructure/table/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/matcher.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/matcher.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/matcher.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/matcher.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/predict_structure.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/predict_structure.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/predict_structure.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/predict_structure.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/predict_table.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/predict_table.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/predict_table.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/predict_table.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/table_master_match.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/table_master_match.cpython-37.pyc -------------------------------------------------------------------------------- /ppstructure/table/__pycache__/table_master_match.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/__pycache__/table_master_match.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/table/table_metric/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | __all__ = ['TEDS'] 16 | from .table_metric import TEDS -------------------------------------------------------------------------------- /ppstructure/table/tablepyxl/__init__.py: -------------------------------------------------------------------------------- 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. -------------------------------------------------------------------------------- /ppstructure/table/tablepyxl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/tablepyxl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/table/tablepyxl/__pycache__/style.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/tablepyxl/__pycache__/style.cpython-39.pyc -------------------------------------------------------------------------------- /ppstructure/table/tablepyxl/__pycache__/tablepyxl.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/ppstructure/table/tablepyxl/__pycache__/tablepyxl.cpython-39.pyc -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | text2text 2 | faiss-cpu 3 | easynmt 4 | paddlepaddle==2.2.0 5 | paddlenlp 6 | paddleocr 7 | #opencv-python 8 | opencv-python==4.6.0.66 9 | datasets 10 | Polygon3 11 | sconf 12 | lanms-neo 13 | donut-python 14 | transformers==4.11.3 15 | 16 | spacy>=3.0.0,<4.0.0 17 | en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.0/en_core_web_sm-3.4.0-py3-none-any.whl 18 | zh_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/zh_core_web_sm-3.4.0/zh_core_web_sm-3.4.0-py3-none-any.whl 19 | -------------------------------------------------------------------------------- /tools/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. 2 | # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | -------------------------------------------------------------------------------- /tools/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /tools/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /tools/__pycache__/infer_kie_token_ser.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/__pycache__/infer_kie_token_ser.cpython-37.pyc -------------------------------------------------------------------------------- /tools/__pycache__/infer_kie_token_ser.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/__pycache__/infer_kie_token_ser.cpython-39.pyc -------------------------------------------------------------------------------- /tools/__pycache__/infer_kie_token_ser_re.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/__pycache__/infer_kie_token_ser_re.cpython-37.pyc -------------------------------------------------------------------------------- /tools/__pycache__/infer_kie_token_ser_re.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/__pycache__/infer_kie_token_ser_re.cpython-39.pyc -------------------------------------------------------------------------------- /tools/__pycache__/program.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/__pycache__/program.cpython-37.pyc -------------------------------------------------------------------------------- /tools/__pycache__/program.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/__pycache__/program.cpython-39.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/predict_cls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/predict_cls.cpython-37.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/predict_cls.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/predict_cls.cpython-39.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/predict_det.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/predict_det.cpython-37.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/predict_det.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/predict_det.cpython-39.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/predict_rec.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/predict_rec.cpython-37.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/predict_rec.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/predict_rec.cpython-39.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/predict_system.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/predict_system.cpython-37.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/predict_system.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/predict_system.cpython-39.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/utility.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/utility.cpython-37.pyc -------------------------------------------------------------------------------- /tools/infer/__pycache__/utility.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svjack/docvqa-gen/ca992b701450070989aafd3fad3ee21c4f434cc7/tools/infer/__pycache__/utility.cpython-39.pyc --------------------------------------------------------------------------------