paddleocr 3.0.2__tar.gz → 3.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. paddleocr-3.1.0/PKG-INFO +377 -0
  2. paddleocr-3.0.2/README_en.md → paddleocr-3.1.0/README.md +42 -20
  3. paddleocr-3.1.0/README_ar.md +413 -0
  4. paddleocr-3.0.2/paddleocr.egg-info/PKG-INFO → paddleocr-3.1.0/README_cn.md +30 -35
  5. paddleocr-3.1.0/README_es.md +343 -0
  6. paddleocr-3.1.0/README_fr.md +342 -0
  7. paddleocr-3.1.0/README_ja.md +340 -0
  8. paddleocr-3.1.0/README_ko.md +340 -0
  9. paddleocr-3.1.0/README_ru.md +348 -0
  10. paddleocr-3.1.0/README_tcn.md +345 -0
  11. {paddleocr-3.0.2 → paddleocr-3.1.0}/awesome_projects.md +1 -0
  12. paddleocr-3.1.0/mcp_server/README.md +5 -0
  13. paddleocr-3.1.0/mcp_server/README_en.md +5 -0
  14. paddleocr-3.1.0/mcp_server/paddleocr_mcp/__init__.py +15 -0
  15. paddleocr-3.1.0/mcp_server/paddleocr_mcp/__main__.py +188 -0
  16. paddleocr-3.1.0/mcp_server/paddleocr_mcp/pipelines.py +882 -0
  17. paddleocr-3.1.0/mcp_server/paddleocr_mcp/py.typed +0 -0
  18. paddleocr-3.1.0/mcp_server/pyproject.toml +20 -0
  19. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/__init__.py +2 -0
  20. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_cli.py +2 -0
  21. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_common_args.py +2 -1
  22. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/_image_classification.py +6 -0
  23. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/_object_detection.py +4 -4
  24. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/__init__.py +2 -0
  25. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/ocr.py +20 -4
  26. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/pp_chatocrv4_doc.py +2 -2
  27. paddleocr-3.1.0/paddleocr/_pipelines/pp_doctranslation.py +936 -0
  28. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/pp_structurev3.py +2 -0
  29. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/table_recognition_v2.py +2 -0
  30. paddleocr-3.1.0/paddleocr.egg-info/PKG-INFO +377 -0
  31. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr.egg-info/SOURCES.txt +19 -1
  32. paddleocr-3.1.0/paddleocr.egg-info/requires.txt +3 -0
  33. paddleocr-3.1.0/ppocr/utils/dict/ppocrv5_eslav_dict.txt +517 -0
  34. paddleocr-3.1.0/ppocr/utils/dict/ppocrv5_korean_dict.txt +11945 -0
  35. paddleocr-3.1.0/ppocr/utils/dict/ppocrv5_latin_dict.txt +502 -0
  36. {paddleocr-3.0.2 → paddleocr-3.1.0}/pyproject.toml +1 -1
  37. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer/predict_det.py +4 -1
  38. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer/predict_rec.py +4 -1
  39. paddleocr-3.0.2/PKG-INFO +0 -349
  40. paddleocr-3.0.2/README.md +0 -325
  41. paddleocr-3.0.2/paddleocr.egg-info/requires.txt +0 -3
  42. {paddleocr-3.0.2 → paddleocr-3.1.0}/LICENSE +0 -0
  43. {paddleocr-3.0.2 → paddleocr-3.1.0}/MANIFEST.in +0 -0
  44. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/__main__.py +0 -0
  45. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_abstract.py +0 -0
  46. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_constants.py +0 -0
  47. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_env.py +0 -0
  48. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/__init__.py +0 -0
  49. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/_text_detection.py +0 -0
  50. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/base.py +0 -0
  51. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/doc_img_orientation_classification.py +0 -0
  52. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/doc_vlm.py +0 -0
  53. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/formula_recognition.py +0 -0
  54. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/layout_detection.py +0 -0
  55. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/seal_text_detection.py +0 -0
  56. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/table_cells_detection.py +0 -0
  57. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/table_classification.py +0 -0
  58. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/table_structure_recognition.py +0 -0
  59. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/text_detection.py +0 -0
  60. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/text_image_unwarping.py +0 -0
  61. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/text_recognition.py +0 -0
  62. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_models/textline_orientation_classification.py +0 -0
  63. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/base.py +0 -0
  64. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/doc_preprocessor.py +0 -0
  65. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/doc_understanding.py +0 -0
  66. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/formula_recognition.py +0 -0
  67. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/seal_recognition.py +0 -0
  68. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_pipelines/utils.py +0 -0
  69. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_utils/__init__.py +0 -0
  70. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_utils/cli.py +0 -0
  71. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_utils/deprecation.py +0 -0
  72. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_utils/logging.py +0 -0
  73. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr/_version.py +0 -0
  74. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr.egg-info/dependency_links.txt +0 -0
  75. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr.egg-info/entry_points.txt +0 -0
  76. {paddleocr-3.0.2 → paddleocr-3.1.0}/paddleocr.egg-info/top_level.txt +0 -0
  77. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/__init__.py +0 -0
  78. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/__init__.py +0 -0
  79. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/collate_fn.py +0 -0
  80. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/ColorJitter.py +0 -0
  81. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/__init__.py +0 -0
  82. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/abinet_aug.py +0 -0
  83. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/copy_paste.py +0 -0
  84. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/ct_process.py +0 -0
  85. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/drrg_targets.py +0 -0
  86. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/east_process.py +0 -0
  87. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/fce_aug.py +0 -0
  88. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/fce_targets.py +0 -0
  89. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/frost_img/frost1.jpg +0 -0
  90. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/frost_img/frost2.png +0 -0
  91. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/frost_img/frost3.png +0 -0
  92. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/frost_img/frost4.jpg +0 -0
  93. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/frost_img/frost5.jpg +0 -0
  94. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/frost_img/frost6.jpg +0 -0
  95. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/iaa_augment.py +0 -0
  96. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/label_ops.py +0 -0
  97. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/latex_ocr_aug.py +0 -0
  98. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/make_border_map.py +0 -0
  99. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/make_pse_gt.py +0 -0
  100. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/make_shrink_map.py +0 -0
  101. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/operators.py +0 -0
  102. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/pg_process.py +0 -0
  103. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/randaugment.py +0 -0
  104. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/random_crop_data.py +0 -0
  105. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/rec_img_aug.py +0 -0
  106. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/sast_process.py +0 -0
  107. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/ssl_img_aug.py +0 -0
  108. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/table_ops.py +0 -0
  109. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/text_image_aug/__init__.py +0 -0
  110. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/text_image_aug/augment.py +0 -0
  111. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/text_image_aug/warp_mls.py +0 -0
  112. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/unimernet_aug.py +0 -0
  113. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/vqa/__init__.py +0 -0
  114. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/vqa/augment.py +0 -0
  115. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/vqa/token/__init__.py +0 -0
  116. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/vqa/token/vqa_re_convert.py +0 -0
  117. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/vqa/token/vqa_token_chunk.py +0 -0
  118. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/vqa/token/vqa_token_pad.py +0 -0
  119. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/imaug/vqa/token/vqa_token_relation.py +0 -0
  120. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/latexocr_dataset.py +0 -0
  121. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/lmdb_dataset.py +0 -0
  122. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/multi_scale_sampler.py +0 -0
  123. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/pgnet_dataset.py +0 -0
  124. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/pubtab_dataset.py +0 -0
  125. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/data/simple_dataset.py +0 -0
  126. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/__init__.py +0 -0
  127. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/cls_postprocess.py +0 -0
  128. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/ct_postprocess.py +0 -0
  129. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/db_postprocess.py +0 -0
  130. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/drrg_postprocess.py +0 -0
  131. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/east_postprocess.py +0 -0
  132. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/fce_postprocess.py +0 -0
  133. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/locality_aware_nms.py +0 -0
  134. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/pg_postprocess.py +0 -0
  135. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/picodet_postprocess.py +0 -0
  136. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/pse_postprocess/__init__.py +0 -0
  137. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/pse_postprocess/pse/README.md +0 -0
  138. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/pse_postprocess/pse/__init__.py +0 -0
  139. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/pse_postprocess/pse/pse.pyx +0 -0
  140. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/pse_postprocess/pse/setup.py +0 -0
  141. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/pse_postprocess/pse_postprocess.py +0 -0
  142. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/rec_postprocess.py +0 -0
  143. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/sast_postprocess.py +0 -0
  144. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/table_postprocess.py +0 -0
  145. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py +0 -0
  146. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py +0 -0
  147. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/EN_symbol_dict.txt +0 -0
  148. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/__init__.py +0 -0
  149. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/README.md +0 -0
  150. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ar_dict.txt +0 -0
  151. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/arabic_dict.txt +0 -0
  152. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/be_dict.txt +0 -0
  153. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/bengali_dict.txt +0 -0
  154. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/bg_dict.txt +0 -0
  155. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/bm_dict.txt +0 -0
  156. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/bm_dict_add.txt +0 -0
  157. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/bn_dict.txt +0 -0
  158. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/chinese_cht_dict.txt +0 -0
  159. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/confuse.pkl +0 -0
  160. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/cyrillic_dict.txt +0 -0
  161. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/devanagari_dict.txt +0 -0
  162. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/en_dict.txt +0 -0
  163. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/fa_dict.txt +0 -0
  164. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/french_dict.txt +0 -0
  165. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/german_dict.txt +0 -0
  166. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/gujarati_dict.txt +0 -0
  167. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/hebrew_dict.txt +0 -0
  168. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/hi_dict.txt +0 -0
  169. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/it_dict.txt +0 -0
  170. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/japan_dict.txt +0 -0
  171. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ka_dict.txt +0 -0
  172. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/kazakh_dict.txt +0 -0
  173. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/kie_dict/xfund_class_list.txt +0 -0
  174. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/korean_dict.txt +0 -0
  175. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/latex_ocr_tokenizer.json +0 -0
  176. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/latex_symbol_dict.txt +0 -0
  177. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/latin_dict.txt +0 -0
  178. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/layout_dict/layout_cdla_dict.txt +0 -0
  179. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/layout_dict/layout_publaynet_dict.txt +0 -0
  180. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/layout_dict/layout_table_dict.txt +0 -0
  181. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/mr_dict.txt +0 -0
  182. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ne_dict.txt +0 -0
  183. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/oc_dict.txt +0 -0
  184. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/parseq_dict.txt +0 -0
  185. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ppocrv4_doc_dict.txt +0 -0
  186. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ppocrv5_dict.txt +0 -0
  187. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/pu_dict.txt +0 -0
  188. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/rs_dict.txt +0 -0
  189. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/rsc_dict.txt +0 -0
  190. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ru_dict.txt +0 -0
  191. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/samaritan_dict.txt +0 -0
  192. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/spin_dict.txt +0 -0
  193. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/syriac_dict.txt +0 -0
  194. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ta_dict.txt +0 -0
  195. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/table_dict.txt +0 -0
  196. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/table_master_structure_dict.txt +0 -0
  197. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/table_structure_dict.txt +0 -0
  198. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/table_structure_dict_ch.txt +0 -0
  199. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/te_dict.txt +0 -0
  200. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/th_dict.txt +0 -0
  201. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ug_dict.txt +0 -0
  202. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/uk_dict.txt +0 -0
  203. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/unimernet_tokenizer/tokenizer.json +0 -0
  204. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/unimernet_tokenizer/tokenizer_config.json +0 -0
  205. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/ur_dict.txt +0 -0
  206. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/vi_dict.txt +0 -0
  207. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict/xi_dict.txt +0 -0
  208. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/dict90.txt +0 -0
  209. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/e2e_metric/Deteval.py +0 -0
  210. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/e2e_metric/polygon_fast.py +0 -0
  211. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/e2e_utils/extract_batchsize.py +0 -0
  212. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/e2e_utils/extract_textpoint_fast.py +0 -0
  213. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/e2e_utils/extract_textpoint_slow.py +0 -0
  214. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/e2e_utils/pgnet_pp_utils.py +0 -0
  215. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/e2e_utils/visual.py +0 -0
  216. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/en_dict.txt +0 -0
  217. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/export_model.py +0 -0
  218. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/formula_utils/math_txt2pkl.py +0 -0
  219. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/formula_utils/unimernet_data_convert.py +0 -0
  220. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/gen_label.py +0 -0
  221. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/ic15_dict.txt +0 -0
  222. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/iou.py +0 -0
  223. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/loggers/__init__.py +0 -0
  224. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/loggers/base_logger.py +0 -0
  225. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/loggers/loggers.py +0 -0
  226. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/loggers/wandb_logger.py +0 -0
  227. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/logging.py +0 -0
  228. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/network.py +0 -0
  229. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/poly_nms.py +0 -0
  230. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/ppocr_keys_v1.txt +0 -0
  231. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/profiler.py +0 -0
  232. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/save_load.py +0 -0
  233. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/stats.py +0 -0
  234. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/utility.py +0 -0
  235. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppocr/utils/visual.py +0 -0
  236. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/README.md +0 -0
  237. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/__init__.py +0 -0
  238. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/README.md +0 -0
  239. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/README_ch.md +0 -0
  240. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/how_to_do_kie.md +0 -0
  241. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/how_to_do_kie_en.md +0 -0
  242. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/predict_kie_token_ser.py +0 -0
  243. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/predict_kie_token_ser_re.py +0 -0
  244. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/requirements.txt +0 -0
  245. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/tools/eval_with_label_end2end.py +0 -0
  246. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/tools/trans_funsd_label.py +0 -0
  247. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/kie/tools/trans_xfun_data.py +0 -0
  248. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/layout/README.md +0 -0
  249. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/layout/README_ch.md +0 -0
  250. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/layout/__init__.py +0 -0
  251. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/layout/predict_layout.py +0 -0
  252. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/pdf2word/README.md +0 -0
  253. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/pdf2word/icons/chinese.png +0 -0
  254. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/pdf2word/icons/english.png +0 -0
  255. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/pdf2word/icons/folder-open.png +0 -0
  256. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/pdf2word/icons/folder-plus.png +0 -0
  257. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/pdf2word/pdf2word.py +0 -0
  258. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/predict_system.py +0 -0
  259. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/recovery/README.md +0 -0
  260. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/recovery/README_ch.md +0 -0
  261. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/recovery/__init__.py +0 -0
  262. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/recovery/recovery_to_doc.py +0 -0
  263. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/recovery/recovery_to_markdown.py +0 -0
  264. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/recovery/requirements.txt +0 -0
  265. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/recovery/table_process.py +0 -0
  266. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/README.md +0 -0
  267. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/README_ch.md +0 -0
  268. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/__init__.py +0 -0
  269. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/convert_label2html.py +0 -0
  270. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/eval_table.py +0 -0
  271. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/matcher.py +0 -0
  272. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/predict_structure.py +0 -0
  273. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/predict_table.py +0 -0
  274. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/table_master_match.py +0 -0
  275. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/table_metric/__init__.py +0 -0
  276. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/table_metric/parallel.py +0 -0
  277. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/table_metric/table_metric.py +0 -0
  278. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/tablepyxl/__init__.py +0 -0
  279. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/tablepyxl/style.py +0 -0
  280. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/table/tablepyxl/tablepyxl.py +0 -0
  281. {paddleocr-3.0.2 → paddleocr-3.1.0}/ppstructure/utility.py +0 -0
  282. {paddleocr-3.0.2 → paddleocr-3.1.0}/requirements.txt +0 -0
  283. {paddleocr-3.0.2 → paddleocr-3.1.0}/setup.cfg +0 -0
  284. {paddleocr-3.0.2 → paddleocr-3.1.0}/setup.py +0 -0
  285. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/__init__.py +0 -0
  286. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/end2end/convert_ppocr_label.py +0 -0
  287. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/end2end/draw_html.py +0 -0
  288. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/end2end/eval_end2end.py +0 -0
  289. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/end2end/readme.md +0 -0
  290. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/eval.py +0 -0
  291. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/export_center.py +0 -0
  292. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/export_model.py +0 -0
  293. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer/predict_cls.py +0 -0
  294. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer/predict_e2e.py +0 -0
  295. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer/predict_sr.py +0 -0
  296. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer/predict_system.py +0 -0
  297. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer/utility.py +0 -0
  298. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_cls.py +0 -0
  299. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_det.py +0 -0
  300. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_e2e.py +0 -0
  301. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_kie.py +0 -0
  302. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_kie_token_ser.py +0 -0
  303. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_kie_token_ser_re.py +0 -0
  304. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_rec.py +0 -0
  305. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_sr.py +0 -0
  306. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/infer_table.py +0 -0
  307. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/naive_sync_bn.py +0 -0
  308. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/program.py +0 -0
  309. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/test_hubserving.py +0 -0
  310. {paddleocr-3.0.2 → paddleocr-3.1.0}/tools/train.py +0 -0
@@ -0,0 +1,377 @@
1
+ Metadata-Version: 2.1
2
+ Name: paddleocr
3
+ Version: 3.1.0
4
+ Summary: Awesome multilingual OCR and document parsing toolkits based on PaddlePaddle
5
+ Author-email: PaddlePaddle <Paddle-better@baidu.com>
6
+ Maintainer-email: PaddlePaddle <Paddle-better@baidu.com>
7
+ License: Apache License 2.0
8
+ Project-URL: homepage, https://github.com/PaddlePaddle/PaddleOCR
9
+ Project-URL: documentation, https://github.com/PaddlePaddle/PaddleOCR/blob/main/README.md
10
+ Project-URL: repository, https://github.com/PaddlePaddle/PaddleOCR.git
11
+ Project-URL: issues, https://github.com/PaddlePaddle/PaddleOCR/issues
12
+ Keywords: ocr,textdetection,textrecognition,paddleocr,crnn,east,star-net,rosetta,ocrlite,db,chineseocr,chinesetextdetection,chinesetextrecognition
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Natural Language :: Chinese (Simplified)
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Topic :: Utilities
18
+ Requires-Python: >=3.8
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: paddlex[ie,multimodal,ocr,trans]>=3.1.0
22
+ Requires-Dist: PyYAML>=6
23
+ Requires-Dist: typing-extensions>=4.12
24
+
25
+ <div align="center">
26
+ <p>
27
+ <img width="100%" src="./docs/images/Banner.png" alt="PaddleOCR Banner">
28
+ </p>
29
+
30
+ <!-- language -->
31
+ English | [简体中文](./README_cn.md) | [繁體中文](./README_tcn.md) | [日本語](./README_ja.md) | [한국어](./README_ko.md) | [Français](./README_fr.md) | [Русский](./README_ru.md) | [Español](./README_es.md) | [العربية](./README_ar.md)
32
+
33
+ <!-- icon -->
34
+
35
+ [![stars](https://img.shields.io/github/stars/PaddlePaddle/PaddleOCR?color=ccf)](https://github.com/PaddlePaddle/PaddleOCR)
36
+ [![Downloads](https://img.shields.io/pypi/dm/paddleocr)](https://pypi.org/project/PaddleOCR/)
37
+ ![python](https://img.shields.io/badge/python-3.8~3.12-aff.svg)
38
+ ![os](https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-pink.svg)
39
+ ![hardware](https://img.shields.io/badge/hardware-cpu%2C%20gpu%2C%20xpu%2C%20npu-yellow.svg)
40
+
41
+
42
+ [![AI Studio](https://img.shields.io/badge/PP_OCRv5-AI_Studio-green)](https://aistudio.baidu.com/community/app/91660/webUI)
43
+ [![AI Studio](https://img.shields.io/badge/PP_StructureV3-AI_Studio-green)](https://aistudio.baidu.com/community/app/518494/webUI)
44
+ [![AI Studio](https://img.shields.io/badge/PP_ChatOCRv4-AI_Studio-green)](https://aistudio.baidu.com/community/app/518493/webUI)
45
+
46
+ </div>
47
+
48
+ ## 🚀 Introduction
49
+ Since its initial release, PaddleOCR has gained widespread acclaim across academia, industry, and research communities, thanks to its cutting-edge algorithms and proven performance in real-world applications. It's already powering popular open-source projects like Umi-OCR, OmniParser, MinerU, and RAGFlow, making it the go-to OCR toolkit for developers worldwide.
50
+
51
+ On May 20, 2025, the PaddlePaddle team unveiled PaddleOCR 3.0, fully compatible with the official release of the **PaddlePaddle 3.0** framework. This update further **boosts text-recognition accuracy**, adds support for **multiple text-type recognition** and **handwriting recognition**, and meets the growing demand from large-model applications for **high-precision parsing of complex documents**. When combined with the **ERNIE 4.5 Turbo**, it significantly enhances key-information extraction accuracy. PaddleOCR 3.0 also introduces support for Chinese Heterogeneous AI Accelerators such as **KUNLUNXIN** and **Ascend**. For the complete usage documentation, please refer to the [PaddleOCR 3.0 Documentation](https://paddlepaddle.github.io/PaddleOCR/latest/en/index.html).
52
+
53
+ Three Major New Features in PaddleOCR 3.0:
54
+ - Universal-Scene Text Recognition Model [PP-OCRv5](./docs/version3.x/algorithm/PP-OCRv5/PP-OCRv5.en.md): A single model that handles five different text types plus complex handwriting. Overall recognition accuracy has increased by 13 percentage points over the previous generation. [Online Demo](https://aistudio.baidu.com/community/app/91660/webUI)
55
+
56
+ - General Document-Parsing Solution [PP-StructureV3](./docs/version3.x/algorithm/PP-StructureV3/PP-StructureV3.en.md): Delivers high-precision parsing of multi-layout, multi-scene PDFs, outperforming many open- and closed-source solutions on public benchmarks. [Online Demo](https://aistudio.baidu.com/community/app/518494/webUI)
57
+
58
+ - Intelligent Document-Understanding Solution [PP-ChatOCRv4](./docs/version3.x/algorithm/PP-ChatOCRv4/PP-ChatOCRv4.en.md): Natively powered by the ERNIE 4.5 Turbo, achieving 15 percentage points higher accuracy than its predecessor. [Online Demo](https://aistudio.baidu.com/community/app/518493/webUI)
59
+
60
+ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers user-friendly tools covering model training, inference, and service deployment, so developers can rapidly bring AI applications to production.
61
+ <div align="center">
62
+ <p>
63
+ <img width="100%" src="./docs/images/Arch.png" alt="PaddleOCR Architecture">
64
+ </p>
65
+ </div>
66
+
67
+
68
+
69
+ ## 📣 Recent updates
70
+
71
+
72
+ #### **2025.06.29: Release of PaddleOCR 3.1.0**, includes:
73
+
74
+ - **Key Models and Pipelines:**
75
+ - **Added PP-OCRv5 Multilingual Text Recognition Model**, which supports the training and inference process for text recognition models in 37 languages, including French, Spanish, Portuguese, Russian, Korean, etc. **Average accuracy improved by over 30%.** [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/algorithm/PP-OCRv5/PP-OCRv5_multi_languages.html)
76
+ - Upgraded the **PP-Chart2Table model** in PP-StructureV3, further enhancing the capability of converting charts to tables. On internal custom evaluation sets, the metric (RMS-F1) **increased by 9.36 percentage points (71.24% -> 80.60%).**
77
+ - Newly launched **document translation pipeline, PP-DocTranslation, based on PP-StructureV3 and ERNIE 4.5 Turbo**, which supports the translation of Markdown format documents, various complex-layout PDF documents, and document images, with the results saved as Markdown format documents. [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/pipeline_usage/PP-DocTranslation.html)
78
+
79
+
80
+ - **New MCP server:** [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/mcp_server.html)
81
+ - **Supports both OCR and PP-StructureV3 pipelines.**
82
+ - Supports three working modes: local Python library, AIStudio Community Cloud Service, and self-hosted service.
83
+ - Supports invoking local services via stdio and remote services via Streamable HTTP.
84
+
85
+ - **Documentation Optimization:** Improved the descriptions in some user guides for a smoother reading experience.
86
+
87
+ #### **2025.06.26: Release of PaddleOCR 3.0.3**, includes:
88
+
89
+ - Bug Fix: Resolved the issue where the `enable_mkldnn` parameter was not effective, restoring the default behavior of using MKL-DNN for CPU inference.
90
+
91
+ #### 🔥🔥 **2025.06.19: Release of PaddleOCR 3.0.2**, includes:
92
+
93
+ - **New Features:**
94
+
95
+ - The default download source has been changed from `BOS` to `HuggingFace`. Users can also change the environment variable `PADDLE_PDX_MODEL_SOURCE` to `BOS` to set the model download source back to Baidu Object Storage (BOS).
96
+ - Added service invocation examples for six languages—C++, Java, Go, C#, Node.js, and PHP—for pipelines like PP-OCRv5, PP-StructureV3, and PP-ChatOCRv4.
97
+ - Improved the layout partition sorting algorithm in the PP-StructureV3 pipeline, enhancing the sorting logic for complex vertical layouts to deliver better results.
98
+ - Enhanced model selection logic: when a language is specified but a model version is not, the system will automatically select the latest model version supporting that language.
99
+ - Set a default upper limit for MKL-DNN cache size to prevent unlimited growth, while also allowing users to configure cache capacity.
100
+ - Updated default configurations for high-performance inference to support Paddle MKL-DNN acceleration and optimized the logic for automatic configuration selection for smarter choices.
101
+ - Adjusted the logic for obtaining the default device to consider the actual support for computing devices by the installed Paddle framework, making program behavior more intuitive.
102
+ - Added Android example for PP-OCRv5. [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/on_device_deployment.html).
103
+
104
+ - **Bug Fixes:**
105
+
106
+ - Fixed an issue with some CLI parameters in PP-StructureV3 not taking effect.
107
+ - Resolved an issue where `export_paddlex_config_to_yaml` would not function correctly in certain cases.
108
+ - Corrected the discrepancy between the actual behavior of `save_path` and its documentation description.
109
+ - Fixed potential multithreading errors when using MKL-DNN in basic service deployment.
110
+ - Corrected channel order errors in image preprocessing for the Latex-OCR model.
111
+ - Fixed channel order errors in saving visualized images within the text recognition module.
112
+ - Resolved channel order errors in visualized table results within PP-StructureV3 pipeline.
113
+ - Fixed an overflow issue in the calculation of `overlap_ratio` under extremely special circumstances in the PP-StructureV3 pipeline.
114
+
115
+ - **Documentation Improvements:**
116
+
117
+ - Updated the description of the `enable_mkldnn` parameter in the documentation to accurately reflect the program's actual behavior.
118
+ - Fixed errors in the documentation regarding the `lang` and `ocr_version` parameters.
119
+ - Added instructions for exporting production line configuration files via CLI.
120
+ - Fixed missing columns in the performance data table for PP-OCRv5.
121
+ - Refined benchmark metrics for PP-StructureV3 across different configurations.
122
+
123
+ - **Others:**
124
+
125
+ - Relaxed version restrictions on dependencies like numpy and pandas, restoring support for Python 3.12.
126
+
127
+ <details>
128
+ <summary><strong>History Log</strong></summary>
129
+
130
+ #### **🔥🔥 2025.06.05: Release of PaddleOCR 3.0.1, includes:**
131
+
132
+ - **Optimisation of certain models and model configurations:**
133
+ - Updated the default model configuration for PP-OCRv5, changing both detection and recognition from mobile to server models. To improve default performance in most scenarios, the parameter `limit_side_len` in the configuration has been changed from 736 to 64.
134
+ - Added a new text line orientation classification model `PP-LCNet_x1_0_textline_ori` with an accuracy of 99.42%. The default text line orientation classifier for OCR, PP-StructureV3, and PP-ChatOCRv4 pipelines has been updated to this model.
135
+ - Optimised the text line orientation classification model `PP-LCNet_x0_25_textline_ori`, improving accuracy by 3.3 percentage points to a current accuracy of 98.85%.
136
+
137
+ - **Optimizations and fixes for some issues in version 3.0.0, [details](https://paddlepaddle.github.io/PaddleOCR/latest/en/update/update.html)**
138
+
139
+ 🔥🔥2025.05.20: Official Release of **PaddleOCR v3.0**, including:
140
+ - **PP-OCRv5**: High-Accuracy Text Recognition Model for All Scenarios - Instant Text from Images/PDFs.
141
+ 1. 🌐 Single-model support for **five** text types - Seamlessly process **Simplified Chinese, Traditional Chinese, Simplified Chinese Pinyin, English** and **Japanese** within a single model.
142
+ 2. ✍️ Improved **handwriting recognition**: Significantly better at complex cursive scripts and non-standard handwriting.
143
+ 3. 🎯 **13-point accuracy gain** over PP-OCRv4, achieving state-of-the-art performance across a variety of real-world scenarios.
144
+
145
+ - **PP-StructureV3**: General-Purpose Document Parsing – Unleash SOTA Images/PDFs Parsing for Real-World Scenarios!
146
+ 1. 🧮 **High-Accuracy multi-scene PDF parsing**, leading both open- and closed-source solutions on the OmniDocBench benchmark.
147
+ 2. 🧠 Specialized capabilities include **seal recognition**, **chart-to-table conversion**, **table recognition with nested formulas/images**, **vertical text document parsing**, and **complex table structure analysis**.
148
+
149
+ - **PP-ChatOCRv4**: Intelligent Document Understanding – Extract Key Information, not just text from Images/PDFs.
150
+ 1. 🔥 **15-point accuracy gain** in key-information extraction on PDF/PNG/JPG files over the previous generation.
151
+ 2. 💻 Native support for **ERNIE 4.5 Turbo**, with compatibility for large-model deployments via PaddleNLP, Ollama, vLLM, and more.
152
+ 3. 🤝 Integrated [PP-DocBee2](https://github.com/PaddlePaddle/PaddleMIX/tree/develop/paddlemix/examples/ppdocbee2), enabling extraction and understanding of printed text, handwriting, seals, tables, charts, and other common elements in complex documents.
153
+
154
+ [History Log](https://paddlepaddle.github.io/PaddleOCR/latest/en/update/update.html)
155
+
156
+ </details>
157
+
158
+ ## ⚡ Quick Start
159
+ ### 1. Run online demo
160
+ [![AI Studio](https://img.shields.io/badge/PP_OCRv5-AI_Studio-green)](https://aistudio.baidu.com/community/app/91660/webUI)
161
+ [![AI Studio](https://img.shields.io/badge/PP_StructureV3-AI_Studio-green)](https://aistudio.baidu.com/community/app/518494/webUI)
162
+ [![AI Studio](https://img.shields.io/badge/PP_ChatOCRv4-AI_Studio-green)](https://aistudio.baidu.com/community/app/518493/webUI)
163
+
164
+ ### 2. Installation
165
+
166
+ Install PaddlePaddle refer to [Installation Guide](https://www.paddlepaddle.org.cn/en/install/quick?docurl=/documentation/docs/en/develop/install/pip/linux-pip_en.html), after then, install the PaddleOCR toolkit.
167
+
168
+ ```bash
169
+ # Install paddleocr
170
+ pip install paddleocr
171
+ ```
172
+
173
+ ### 3. Run inference by CLI
174
+ ```bash
175
+ # Run PP-OCRv5 inference
176
+ paddleocr ocr -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png --use_doc_orientation_classify False --use_doc_unwarping False --use_textline_orientation False
177
+
178
+ # Run PP-StructureV3 inference
179
+ paddleocr pp_structurev3 -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/pp_structure_v3_demo.png --use_doc_orientation_classify False --use_doc_unwarping False
180
+
181
+ # Get the Qianfan API Key at first, and then run PP-ChatOCRv4 inference
182
+ paddleocr pp_chatocrv4_doc -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/vehicle_certificate-1.png -k 驾驶室准乘人数 --qianfan_api_key your_api_key --use_doc_orientation_classify False --use_doc_unwarping False
183
+
184
+ # Get more information about "paddleocr ocr"
185
+ paddleocr ocr --help
186
+ ```
187
+
188
+ ### 4. Run inference by API
189
+ **4.1 PP-OCRv5 Example**
190
+ ```python
191
+ # Initialize PaddleOCR instance
192
+ from paddleocr import PaddleOCR
193
+ ocr = PaddleOCR(
194
+ use_doc_orientation_classify=False,
195
+ use_doc_unwarping=False,
196
+ use_textline_orientation=False)
197
+
198
+ # Run OCR inference on a sample image
199
+ result = ocr.predict(
200
+ input="https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png")
201
+
202
+ # Visualize the results and save the JSON results
203
+ for res in result:
204
+ res.print()
205
+ res.save_to_img("output")
206
+ res.save_to_json("output")
207
+ ```
208
+
209
+ <details>
210
+ <summary><strong>4.2 PP-StructureV3 Example</strong></summary>
211
+
212
+ ```python
213
+ from pathlib import Path
214
+ from paddleocr import PPStructureV3
215
+
216
+ pipeline = PPStructureV3(
217
+ use_doc_orientation_classify=False,
218
+ use_doc_unwarping=False
219
+ )
220
+
221
+ # For Image
222
+ output = pipeline.predict(
223
+ input="https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/pp_structure_v3_demo.png",
224
+ )
225
+
226
+ # Visualize the results and save the JSON results
227
+ for res in output:
228
+ res.print()
229
+ res.save_to_json(save_path="output")
230
+ res.save_to_markdown(save_path="output")
231
+ ```
232
+
233
+ </details>
234
+
235
+ <details>
236
+ <summary><strong>4.3 PP-ChatOCRv4 Example</strong></summary>
237
+
238
+ ```python
239
+ from paddleocr import PPChatOCRv4Doc
240
+
241
+ chat_bot_config = {
242
+ "module_name": "chat_bot",
243
+ "model_name": "ernie-3.5-8k",
244
+ "base_url": "https://qianfan.baidubce.com/v2",
245
+ "api_type": "openai",
246
+ "api_key": "api_key", # your api_key
247
+ }
248
+
249
+ retriever_config = {
250
+ "module_name": "retriever",
251
+ "model_name": "embedding-v1",
252
+ "base_url": "https://qianfan.baidubce.com/v2",
253
+ "api_type": "qianfan",
254
+ "api_key": "api_key", # your api_key
255
+ }
256
+
257
+ pipeline = PPChatOCRv4Doc(
258
+ use_doc_orientation_classify=False,
259
+ use_doc_unwarping=False
260
+ )
261
+
262
+ visual_predict_res = pipeline.visual_predict(
263
+ input="https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/vehicle_certificate-1.png",
264
+ use_common_ocr=True,
265
+ use_seal_recognition=True,
266
+ use_table_recognition=True,
267
+ )
268
+
269
+ mllm_predict_info = None
270
+ use_mllm = False
271
+ # If a multimodal large model is used, the local mllm service needs to be started. You can refer to the documentation: https://github.com/PaddlePaddle/PaddleX/blob/release/3.0/docs/pipeline_usage/tutorials/vlm_pipelines/doc_understanding.en.md performs deployment and updates the mllm_chat_bot_config configuration.
272
+ if use_mllm:
273
+ mllm_chat_bot_config = {
274
+ "module_name": "chat_bot",
275
+ "model_name": "PP-DocBee",
276
+ "base_url": "http://127.0.0.1:8080/", # your local mllm service url
277
+ "api_type": "openai",
278
+ "api_key": "api_key", # your api_key
279
+ }
280
+
281
+ mllm_predict_res = pipeline.mllm_pred(
282
+ input="https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/vehicle_certificate-1.png",
283
+ key_list=["驾驶室准乘人数"],
284
+ mllm_chat_bot_config=mllm_chat_bot_config,
285
+ )
286
+ mllm_predict_info = mllm_predict_res["mllm_res"]
287
+
288
+ visual_info_list = []
289
+ for res in visual_predict_res:
290
+ visual_info_list.append(res["visual_info"])
291
+ layout_parsing_result = res["layout_parsing_result"]
292
+
293
+ vector_info = pipeline.build_vector(
294
+ visual_info_list, flag_save_bytes_vector=True, retriever_config=retriever_config
295
+ )
296
+ chat_result = pipeline.chat(
297
+ key_list=["驾驶室准乘人数"],
298
+ visual_info=visual_info_list,
299
+ vector_info=vector_info,
300
+ mllm_predict_info=mllm_predict_info,
301
+ chat_bot_config=chat_bot_config,
302
+ retriever_config=retriever_config,
303
+ )
304
+ print(chat_result)
305
+ ```
306
+
307
+ </details>
308
+
309
+ ### 5. Chinese Heterogeneous AI Accelerators
310
+ - [Huawei Ascend](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_NPU.html)
311
+ - [KUNLUNXIN](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_XPU.html)
312
+
313
+ ## ⛰️ Advanced Tutorials
314
+ - [PP-OCRv5 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/OCR.html)
315
+ - [PP-StructureV3 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-StructureV3.html)
316
+ - [PP-ChatOCRv4 Tutorial](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/pipeline_usage/PP-ChatOCRv4.html)
317
+
318
+ ## 🔄 Quick Overview of Execution Results
319
+
320
+ <div align="center">
321
+ <p>
322
+ <img width="100%" src="./docs/images/demo.gif" alt="PP-OCRv5 Demo">
323
+ </p>
324
+ </div>
325
+
326
+ <div align="center">
327
+ <p>
328
+ <img width="100%" src="./docs/images/blue_v3.gif" alt="PP-StructureV3 Demo">
329
+ </p>
330
+ </div>
331
+
332
+ ## 👩‍👩‍👧‍👦 Community
333
+
334
+ | PaddlePaddle WeChat official account | Join the tech discussion group |
335
+ | :---: | :---: |
336
+ | <img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr/README/qrcode_for_paddlepaddle_official_account.jpg" width="150"> | <img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/refs/heads/main/images/paddleocr/README/qr_code_for_the_questionnaire.jpg" width="150"> |
337
+
338
+
339
+ ## 😃 Awesome Projects Leveraging PaddleOCR
340
+ PaddleOCR wouldn't be where it is today without its incredible community! 💗 A massive thank you to all our longtime partners, new collaborators, and everyone who's poured their passion into PaddleOCR — whether we've named you or not. Your support fuels our fire!
341
+
342
+ | Project Name | Description |
343
+ | ------------ | ----------- |
344
+ | [RAGFlow](https://github.com/infiniflow/ragflow) <a href="https://github.com/infiniflow/ragflow"><img src="https://img.shields.io/github/stars/infiniflow/ragflow"></a>|RAG engine based on deep document understanding.|
345
+ | [MinerU](https://github.com/opendatalab/MinerU) <a href="https://github.com/opendatalab/MinerU"><img src="https://img.shields.io/github/stars/opendatalab/MinerU"></a>|Multi-type Document to Markdown Conversion Tool|
346
+ | [Umi-OCR](https://github.com/hiroi-sora/Umi-OCR) <a href="https://github.com/hiroi-sora/Umi-OCR"><img src="https://img.shields.io/github/stars/hiroi-sora/Umi-OCR"></a>|Free, Open-source, Batch Offline OCR Software.|
347
+ | [OmniParser](https://github.com/microsoft/OmniParser)<a href="https://github.com/microsoft/OmniParser"><img src="https://img.shields.io/github/stars/microsoft/OmniParser"></a> |OmniParser: Screen Parsing tool for Pure Vision Based GUI Agent.|
348
+ | [QAnything](https://github.com/netease-youdao/QAnything)<a href="https://github.com/netease-youdao/QAnything"><img src="https://img.shields.io/github/stars/netease-youdao/QAnything"></a> |Question and Answer based on Anything.|
349
+ | [PDF-Extract-Kit](https://github.com/opendatalab/PDF-Extract-Kit) <a href="https://github.com/opendatalab/PDF-Extract-Kit"><img src="https://img.shields.io/github/stars/opendatalab/PDF-Extract-Kit"></a>|A powerful open-source toolkit designed to efficiently extract high-quality content from complex and diverse PDF documents.|
350
+ | [Dango-Translator](https://github.com/PantsuDango/Dango-Translator)<a href="https://github.com/PantsuDango/Dango-Translator"><img src="https://img.shields.io/github/stars/PantsuDango/Dango-Translator"></a> |Recognize text on the screen, translate it and show the translation results in real time.|
351
+ | [Learn more projects](./awesome_projects.md) | [More projects based on PaddleOCR](./awesome_projects.md)|
352
+
353
+ ## 👩‍👩‍👧‍👦 Contributors
354
+
355
+ <a href="https://github.com/PaddlePaddle/PaddleOCR/graphs/contributors">
356
+ <img src="https://contrib.rocks/image?repo=PaddlePaddle/PaddleOCR&max=400&columns=20" width="800"/>
357
+ </a>
358
+
359
+
360
+ ## 🌟 Star
361
+
362
+ [![Star History Chart](https://api.star-history.com/svg?repos=PaddlePaddle/PaddleOCR&type=Date)](https://star-history.com/#PaddlePaddle/PaddleOCR&Date)
363
+
364
+
365
+ ## 📄 License
366
+ This project is released under the [Apache 2.0 license](LICENSE).
367
+
368
+ ## 🎓 Citation
369
+
370
+ ```
371
+ @misc{paddleocr2020,
372
+ title={PaddleOCR, Awesome multilingual OCR toolkits based on PaddlePaddle.},
373
+ author={PaddlePaddle Authors},
374
+ howpublished = {\url{https://github.com/PaddlePaddle/PaddleOCR}},
375
+ year={2020}
376
+ }
377
+ ```
@@ -1,10 +1,10 @@
1
1
  <div align="center">
2
2
  <p>
3
- <img width="100%" src="./docs/images/Banner.png" alt="PaddleOCR Banner"></a>
3
+ <img width="100%" src="./docs/images/Banner.png" alt="PaddleOCR Banner">
4
4
  </p>
5
5
 
6
6
  <!-- language -->
7
- [中文](./readme_c.md)| English
7
+ English | [简体中文](./README_cn.md) | [繁體中文](./README_tcn.md) | [日本語](./README_ja.md) | [한국어](./README_ko.md) | [Français](./README_fr.md) | [Русский](./README_ru.md) | [Español](./README_es.md) | [العربية](./README_ar.md)
8
8
 
9
9
  <!-- icon -->
10
10
 
@@ -14,7 +14,7 @@
14
14
  ![os](https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-pink.svg)
15
15
  ![hardware](https://img.shields.io/badge/hardware-cpu%2C%20gpu%2C%20xpu%2C%20npu-yellow.svg)
16
16
 
17
- [![Website](https://img.shields.io/badge/Website-PaddleOCR-blue?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmmRkdj0AAAAASUVORK5CYII=)](https://www.paddleocr.ai/)
17
+
18
18
  [![AI Studio](https://img.shields.io/badge/PP_OCRv5-AI_Studio-green)](https://aistudio.baidu.com/community/app/91660/webUI)
19
19
  [![AI Studio](https://img.shields.io/badge/PP_StructureV3-AI_Studio-green)](https://aistudio.baidu.com/community/app/518494/webUI)
20
20
  [![AI Studio](https://img.shields.io/badge/PP_ChatOCRv4-AI_Studio-green)](https://aistudio.baidu.com/community/app/518493/webUI)
@@ -22,21 +22,21 @@
22
22
  </div>
23
23
 
24
24
  ## 🚀 Introduction
25
- Since its initial release, PaddleOCR has gained widespread acclaim across academia, industry, and research communities, thanks to its cutting-edge algorithms and proven performance in real-world applications. It’s already powering popular open-source projects like Umi-OCR, OmniParser, MinerU, and RAGFlow, making it the go-to OCR toolkit for developers worldwide.
25
+ Since its initial release, PaddleOCR has gained widespread acclaim across academia, industry, and research communities, thanks to its cutting-edge algorithms and proven performance in real-world applications. It's already powering popular open-source projects like Umi-OCR, OmniParser, MinerU, and RAGFlow, making it the go-to OCR toolkit for developers worldwide.
26
26
 
27
- On May 20, 2025, the PaddlePaddle team unveiled PaddleOCR 3.0, fully compatible with the official release of the **PaddlePaddle 3.0** framework. This update further **boosts text-recognition accuracy**, adds support for **multiple text-type recognition** and **handwriting recognition**, and meets the growing demand from large-model applications for **high-precision parsing of complex documents**. When combined with the **ERNIE 4.5T**, it significantly enhances key-information extraction accuracy. PaddleOCR 3.0 also introduces support for domestic hardware platforms such as **KUNLUNXIN** and **Ascend**. For the complete usage documentation, please refer to the [PaddleOCR 3.0 Documentation](https://paddlepaddle.github.io/PaddleOCR/latest/en/index.html).
27
+ On May 20, 2025, the PaddlePaddle team unveiled PaddleOCR 3.0, fully compatible with the official release of the **PaddlePaddle 3.0** framework. This update further **boosts text-recognition accuracy**, adds support for **multiple text-type recognition** and **handwriting recognition**, and meets the growing demand from large-model applications for **high-precision parsing of complex documents**. When combined with the **ERNIE 4.5 Turbo**, it significantly enhances key-information extraction accuracy. PaddleOCR 3.0 also introduces support for Chinese Heterogeneous AI Accelerators such as **KUNLUNXIN** and **Ascend**. For the complete usage documentation, please refer to the [PaddleOCR 3.0 Documentation](https://paddlepaddle.github.io/PaddleOCR/latest/en/index.html).
28
28
 
29
29
  Three Major New Features in PaddleOCR 3.0:
30
30
  - Universal-Scene Text Recognition Model [PP-OCRv5](./docs/version3.x/algorithm/PP-OCRv5/PP-OCRv5.en.md): A single model that handles five different text types plus complex handwriting. Overall recognition accuracy has increased by 13 percentage points over the previous generation. [Online Demo](https://aistudio.baidu.com/community/app/91660/webUI)
31
31
 
32
32
  - General Document-Parsing Solution [PP-StructureV3](./docs/version3.x/algorithm/PP-StructureV3/PP-StructureV3.en.md): Delivers high-precision parsing of multi-layout, multi-scene PDFs, outperforming many open- and closed-source solutions on public benchmarks. [Online Demo](https://aistudio.baidu.com/community/app/518494/webUI)
33
33
 
34
- - Intelligent Document-Understanding Solution [PP-ChatOCRv4](./docs/version3.x/algorithm/PP-ChatOCRv4/PP-ChatOCRv4.en.md): Natively powered by the WenXin large model 4.5T, achieving 15 percentage points higher accuracy than its predecessor. [Online Demo](https://aistudio.baidu.com/community/app/518493/webUI)
34
+ - Intelligent Document-Understanding Solution [PP-ChatOCRv4](./docs/version3.x/algorithm/PP-ChatOCRv4/PP-ChatOCRv4.en.md): Natively powered by the ERNIE 4.5 Turbo, achieving 15 percentage points higher accuracy than its predecessor. [Online Demo](https://aistudio.baidu.com/community/app/518493/webUI)
35
35
 
36
36
  In addition to providing an outstanding model library, PaddleOCR 3.0 also offers user-friendly tools covering model training, inference, and service deployment, so developers can rapidly bring AI applications to production.
37
37
  <div align="center">
38
38
  <p>
39
- <img width="100%" src="./docs/images/Arch.png" alt="PaddleOCR Architecture"></a>
39
+ <img width="100%" src="./docs/images/Arch.png" alt="PaddleOCR Architecture">
40
40
  </p>
41
41
  </div>
42
42
 
@@ -44,7 +44,27 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
44
44
 
45
45
  ## 📣 Recent updates
46
46
 
47
- #### 🔥🔥**2025.06.19: Release of PaddleOCR 3.0.2, includes:**
47
+
48
+ #### **2025.06.29: Release of PaddleOCR 3.1.0**, includes:
49
+
50
+ - **Key Models and Pipelines:**
51
+ - **Added PP-OCRv5 Multilingual Text Recognition Model**, which supports the training and inference process for text recognition models in 37 languages, including French, Spanish, Portuguese, Russian, Korean, etc. **Average accuracy improved by over 30%.** [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/algorithm/PP-OCRv5/PP-OCRv5_multi_languages.html)
52
+ - Upgraded the **PP-Chart2Table model** in PP-StructureV3, further enhancing the capability of converting charts to tables. On internal custom evaluation sets, the metric (RMS-F1) **increased by 9.36 percentage points (71.24% -> 80.60%).**
53
+ - Newly launched **document translation pipeline, PP-DocTranslation, based on PP-StructureV3 and ERNIE 4.5 Turbo**, which supports the translation of Markdown format documents, various complex-layout PDF documents, and document images, with the results saved as Markdown format documents. [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/pipeline_usage/PP-DocTranslation.html)
54
+
55
+
56
+ - **New MCP server:** [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/deployment/mcp_server.html)
57
+ - **Supports both OCR and PP-StructureV3 pipelines.**
58
+ - Supports three working modes: local Python library, AIStudio Community Cloud Service, and self-hosted service.
59
+ - Supports invoking local services via stdio and remote services via Streamable HTTP.
60
+
61
+ - **Documentation Optimization:** Improved the descriptions in some user guides for a smoother reading experience.
62
+
63
+ #### **2025.06.26: Release of PaddleOCR 3.0.3**, includes:
64
+
65
+ - Bug Fix: Resolved the issue where the `enable_mkldnn` parameter was not effective, restoring the default behavior of using MKL-DNN for CPU inference.
66
+
67
+ #### 🔥🔥 **2025.06.19: Release of PaddleOCR 3.0.2**, includes:
48
68
 
49
69
  - **New Features:**
50
70
 
@@ -83,7 +103,7 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
83
103
  <details>
84
104
  <summary><strong>History Log</strong></summary>
85
105
 
86
- #### **2025.06.05: Release of PaddleOCR 3.0.1, includes:**
106
+ #### **🔥🔥 2025.06.05: Release of PaddleOCR 3.0.1, includes:**
87
107
 
88
108
  - **Optimisation of certain models and model configurations:**
89
109
  - Updated the default model configuration for PP-OCRv5, changing both detection and recognition from mobile to server models. To improve default performance in most scenarios, the parameter `limit_side_len` in the configuration has been changed from 736 to 64.
@@ -94,7 +114,7 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
94
114
 
95
115
  🔥🔥2025.05.20: Official Release of **PaddleOCR v3.0**, including:
96
116
  - **PP-OCRv5**: High-Accuracy Text Recognition Model for All Scenarios - Instant Text from Images/PDFs.
97
- 1. 🌐 Single-model support for **five** text types - Seamlessly process **Simplified Chinese, Traditional Chinese, Simplified Chinese Pinyin, English** and **Japanse** within a single model.
117
+ 1. 🌐 Single-model support for **five** text types - Seamlessly process **Simplified Chinese, Traditional Chinese, Simplified Chinese Pinyin, English** and **Japanese** within a single model.
98
118
  2. ✍️ Improved **handwriting recognition**: Significantly better at complex cursive scripts and non-standard handwriting.
99
119
  3. 🎯 **13-point accuracy gain** over PP-OCRv4, achieving state-of-the-art performance across a variety of real-world scenarios.
100
120
 
@@ -104,7 +124,7 @@ In addition to providing an outstanding model library, PaddleOCR 3.0 also offers
104
124
 
105
125
  - **PP-ChatOCRv4**: Intelligent Document Understanding – Extract Key Information, not just text from Images/PDFs.
106
126
  1. 🔥 **15-point accuracy gain** in key-information extraction on PDF/PNG/JPG files over the previous generation.
107
- 2. 💻 Native support for **ERINE4.5 Turbo**, with compatibility for large-model deployments via PaddleNLP, Ollama, vLLM, and more.
127
+ 2. 💻 Native support for **ERNIE 4.5 Turbo**, with compatibility for large-model deployments via PaddleNLP, Ollama, vLLM, and more.
108
128
  3. 🤝 Integrated [PP-DocBee2](https://github.com/PaddlePaddle/PaddleMIX/tree/develop/paddlemix/examples/ppdocbee2), enabling extraction and understanding of printed text, handwriting, seals, tables, charts, and other common elements in complex documents.
109
129
 
110
130
  [History Log](https://paddlepaddle.github.io/PaddleOCR/latest/en/update/update.html)
@@ -145,6 +165,7 @@ paddleocr ocr --help
145
165
  **4.1 PP-OCRv5 Example**
146
166
  ```python
147
167
  # Initialize PaddleOCR instance
168
+ from paddleocr import PaddleOCR
148
169
  ocr = PaddleOCR(
149
170
  use_doc_orientation_classify=False,
150
171
  use_doc_unwarping=False,
@@ -168,14 +189,15 @@ for res in result:
168
189
  from pathlib import Path
169
190
  from paddleocr import PPStructureV3
170
191
 
171
- pipeline = PPStructureV3()
192
+ pipeline = PPStructureV3(
193
+ use_doc_orientation_classify=False,
194
+ use_doc_unwarping=False
195
+ )
172
196
 
173
197
  # For Image
174
198
  output = pipeline.predict(
175
199
  input="https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/pp_structure_v3_demo.png",
176
- use_doc_orientation_classify=False,
177
- use_doc_unwarping=False
178
- )
200
+ )
179
201
 
180
202
  # Visualize the results and save the JSON results
181
203
  for res in output:
@@ -222,7 +244,7 @@ visual_predict_res = pipeline.visual_predict(
222
244
 
223
245
  mllm_predict_info = None
224
246
  use_mllm = False
225
- # If a multimodal large model is used, the local mllm service needs to be started. You can refer to the documentation: https://github.com/PaddlePaddle/PaddleX/blob/release/3.0/docs/pipeline_usage/tutorials/vlm_pipelines/doc_understanding.m d performs deployment and updates the mllm_chat_bot_config configuration.
247
+ # If a multimodal large model is used, the local mllm service needs to be started. You can refer to the documentation: https://github.com/PaddlePaddle/PaddleX/blob/release/3.0/docs/pipeline_usage/tutorials/vlm_pipelines/doc_understanding.en.md performs deployment and updates the mllm_chat_bot_config configuration.
226
248
  if use_mllm:
227
249
  mllm_chat_bot_config = {
228
250
  "module_name": "chat_bot",
@@ -260,7 +282,7 @@ print(chat_result)
260
282
 
261
283
  </details>
262
284
 
263
- ### 5. Domestic AI Accelerators
285
+ ### 5. Chinese Heterogeneous AI Accelerators
264
286
  - [Huawei Ascend](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_NPU.html)
265
287
  - [KUNLUNXIN](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/other_devices_support/paddlepaddle_install_XPU.html)
266
288
 
@@ -273,13 +295,13 @@ print(chat_result)
273
295
 
274
296
  <div align="center">
275
297
  <p>
276
- <img width="100%" src="./docs/images/demo.gif" alt="PP-OCRv5 Demo"></a>
298
+ <img width="100%" src="./docs/images/demo.gif" alt="PP-OCRv5 Demo">
277
299
  </p>
278
300
  </div>
279
301
 
280
302
  <div align="center">
281
303
  <p>
282
- <img width="100%" src="./docs/images/blue_v3.gif" alt="PP-StructureV3 Demo"></a>
304
+ <img width="100%" src="./docs/images/blue_v3.gif" alt="PP-StructureV3 Demo">
283
305
  </p>
284
306
  </div>
285
307
 
@@ -291,7 +313,7 @@ print(chat_result)
291
313
 
292
314
 
293
315
  ## 😃 Awesome Projects Leveraging PaddleOCR
294
- PaddleOCR wouldn’t be where it is today without its incredible community! 💗 A massive thank you to all our longtime partners, new collaborators, and everyone who’s poured their passion into PaddleOCR — whether we’ve named you or not. Your support fuels our fire!
316
+ PaddleOCR wouldn't be where it is today without its incredible community! 💗 A massive thank you to all our longtime partners, new collaborators, and everyone who's poured their passion into PaddleOCR — whether we've named you or not. Your support fuels our fire!
295
317
 
296
318
  | Project Name | Description |
297
319
  | ------------ | ----------- |