125 Commits
Author SHA1 Message Date
b03f46425e [Feat] Support PP-OCRv6 (#18104)
* Fix bugs

* Fix for python3.8

* Fix mcp server

* Optimize

* Fix bugs

* Refactor

* Fix MCP

* Bump MCP to 0.8.1

* Fix bugs

* Bump version to 0.8.2

* Fix bugs and update docs

* Update docs and fix bugs

* Fix bugs

* update pp-ocrv6

* update pp-ocrv6

# Conflicts:
#	docs/version3.x/module_usage/text_detection.md
#	docs/version3.x/module_usage/text_recognition.md
#	docs/version3.x/pipeline_usage/OCR.md
#	paddleocr/_api_client/models.py
#	paddleocr/_pipelines/ocr.py

* Bump paddleocr version

* update PP-OCRv6 docs: add model metrics, fix sizes, update language count to 50

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update PP-OCRv6: add model metrics/sizes to docs, support az/ku languages

- Add PP-OCRv6 model precision, sizes, descriptions to doc tables
- Add OCR pipeline introduction for PP-OCRv6
- Remove az/ku from unsupported latin langs (dict covers them)
- Update language count: 48->50 (medium/small), 47->49 (tiny)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Change languages

* Bump js version

* add PP-OCRv6 English docs: algorithm doc + update model tables

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Use default model

* Update doc

* Update mcp docs

* update PP-OCRv6 algorithm docs and mkdocs nav: sync speed table with paper

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Support more params

* Fix MCP

* update READMEs and index docs: PP-OCRv5 -> PP-OCRv6 features

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update sdk

* Fix bugs

* Fix unsaved

* Bump versions

* Fix bugs

* updata readme

---------

Co-authored-by: weixin_46524038 <weixin_46524038@noreply.gitcode.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: zhangyubo0722 <zhangyubo0722@163.com>
2026-06-11 19:27:04 +08:00
99b5c76057 fix: correct typo 'deteciton' to 'detection' in parameter documentation (#17677)
This PR fixes a minor typo in the documentation string for the `text_det_limit_type` parameter. The word "detection" was misspelled as "deteciton".

Co-authored-by: Tao Luo <luotao02@baidu.com>
Co-authored-by: Lin Manhui <mhlin425@whu.edu.cn>
2026-02-27 10:18:41 +08:00
co63oc dfd8efa04f fix typos (#16374) 2025-09-15 14:59:03 +08:00
guoshengjianandzhangyue66 4a5c9f702d update cpp local deployment docs and mkdocs (#16310)
* fix bug

* update docs and mkdocs

* update ocr.en.md

* update md

* update en docs

* [skip ci]

---------

Co-authored-by: zhangyue66 <zhangyue66@baidu.com>
2025-08-22 15:00:30 +08:00
guoshengjianandzhangyue66 074689eee2 add multi_languages rec (#16305)
* modify rec_predictor

* update [skip ci]

* update [skip ci]

---------

Co-authored-by: zhangyue66 <zhangyue66@baidu.com>
2025-08-21 19:05:32 +08:00
guoshengjianandzhangyue66 38ea6347fa [WIP] Update cpp_infer cli and docs (#16291)
* update cpp_infer cli and docs

* modify cli.cc

* add OCR.md

* update description

* update

* update

* update

* update

* update

* update

* update

* update windows doc

* update windows doc

* update windows doc

* delete readme

* modify build.sh

* [skip ci]

---------

Co-authored-by: zhangyue66 <zhangyue66@baidu.com>
2025-08-21 16:50:44 +08:00
guoshengjianandzhangyue66 ceae91ab80 update cpp_infer code and docs (#16288)
* update cpp_infer code

* update

* update

* update

* update

* update mkdocs

* update

* update

* update mkdocs

---------

Co-authored-by: zhangyue66 <zhangyue66@baidu.com>
2025-08-20 23:27:20 +08:00
guoshengjianandzhangyue66 d824b5ad75 [Feat] Modify cpp_infer (#16265)
* modify cpp_infer

* modify cpp_infer

* modify cpp_infer

* modify file name

* delete origin file

* delete paddleocr

* modify cli

* rename threads to thread_num

* refactor code

* refactor code

* delete CLI.cc

* modify cmake

* modify tools/build.sh

* code style

* code style

---------

Co-authored-by: zhangyue66 <zhangyue66@baidu.com>
2025-08-20 19:30:49 +08:00
try112 d7ac87f37d docs: correct gpu_mem parameter description (#15773) 2025-06-18 23:37:02 +08:00
Liang Xianwei f6abe0355e Replace border padding color from black to gray for improved OCR accuracy (#15476)
* Improve recognition rate

* 精确解决了 Windows 下静态链接 YAML-CPP 的问题

* Update CMakeLists.txt
2025-06-05 10:04:42 +08:00
zhang-prog 9f01c8402d update inference scripts (#15043)
* update inference scripts

* update load_config

* update

* extend to all inference scripts

* update error message

* fix

* to decouple the cpu_threads setting from mkldnn option and fix the deault action for mkldnn

* update --enable_mkldnn default value

* update enable_mkldnn option

* rerun CI
2025-05-20 15:59:59 +08:00
co63oc 534e66506f Fix typos in several files (#14812)
* Fix typos in several files

* Fix
2025-03-06 10:34:46 +08:00
co63oc e061055808 Fix typos (#14808) 2025-03-05 19:09:08 +08:00
co63oc de12ece0aa Fix (#14798) 2025-03-04 11:04:41 +08:00
co63oc f35dfef921 Fix (#14795) 2025-03-04 09:38:37 +08:00
nonwill ff0509379c cpp infer: using vector initialize list constructor (#14656) 2025-02-11 11:15:53 +08:00
nonwill 02f106d668 CPP: codes view and some minimum fix (compiler warning...) (#14635)
* CPP: minimum fix (compiler warning...)

* Codes Review
2025-02-08 11:09:24 +08:00
nonwill ebd08eb385 CPP: tidied file header includes (#14621) 2025-02-05 21:24:44 +08:00
nonwill ea710300b1 Make functions mostly noexcept to improve runtime performance (#14613) 2025-02-05 18:17:18 +08:00
nonwill 42a3c77309 CPP: emplace_back() replaces many push_back()...to improve performance (#14610) 2025-02-03 19:35:16 +08:00
hiroi-sora 192300837f Fix cpp_infer "--enable_mkldnn=false" not effective (#13539)
* Fix "--enable_mkldnn=false" not effective

When using the --enable_mkldnn command line option, MKLDNN should be enabled when set to true and disabled when set to false. But, using the PaddlePaddle v3.0.0-beta1 inference library, the --enable_mkldnn=false option did not work as expected, causing MKLDNN to remain enabled regardless of the setting.

This commit adds a call to `config.DisableMKLDNN()` in the else branch to explicitly disable MKLDNN when `--enable_mkldnn=false` is set.

* fix code style: clang-format
2024-07-29 17:01:40 +08:00
jzhang533 24f06d1a1b update common pre-commit configs and commit the results of running pre-commit run -a (#12516) 2024-05-29 15:26:09 +08:00
Wang Xin 045e5f6ac7 add pre-commit workflow (#11973)
* add pre-commit workflow

* run 'pre-commit run --all-files'

* setup python version
2024-04-21 21:46:20 +08:00
moehuster 549376ead5 [Cherry-pick] #10441 #10512 (#10593)
* fix memory leak (#10441)

* fix memory leak

* update: Using smart pointers instead of raw pointers

* update: Usinig intuitive initialization of duration (#10512)
2023-08-14 10:14:43 +08:00
yunyaoXYY 5aff7e6362 Fix padding value in rec model, and box sort in det model (#8552) 2022-12-26 10:51:22 +08:00
Double_V 5cac747656 [bug] fix issues about sort_function and DB Head (#8580)
* support min_area_rect crop

* add check_install

* fix requirement.txt

* fix check_install

* add lanms-neo for drrg

* fix

* fix doc

* fix
2022-12-13 16:26:42 +08:00
WenmuZhou 2c1747b638 fix cls diff with python 2022-10-25 08:38:42 +00:00
WenmuZhou dd9f48da2e fix bug 2022-09-20 03:40:05 +00:00
WenmuZhou 43838e3e9f add trt shape file to table and layout model 2022-09-19 11:39:22 +00:00
WenmuZhou bb0955dd95 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into cpp_infer 2022-09-19 10:58:31 +00:00
WenmuZhou 603f234bcc add layout 2022-09-19 09:37:41 +00:00
LDOUBLEV 1b07e42912 fix trt 2022-09-16 20:11:18 +08:00
LDOUBLEV 31a84a33d8 support dynamic trt 2022-09-16 15:01:32 +08:00
zhoujun 2cfb23cf05 fix table cpp infer bug (#7550)
* fix table cpp infer bug

* change default tale dict to ch

* update doc

* update vis
2022-09-10 22:45:35 +08:00
WenmuZhou bb97ad182d update vis 2022-09-09 12:31:58 +00:00
WenmuZhou 4fa4f22e7b fix table cpp infer bug 2022-09-09 12:24:08 +00:00
WenmuZhou 1566694145 Fix boundary problems 2022-08-26 07:29:13 +00:00
WenmuZhou ce321153e7 rm unused code 2022-08-14 09:01:49 +00:00
WenmuZhou 24d917d210 update cpp infer doc 2022-08-10 06:27:21 +00:00
WenmuZhou 3867c8cc87 add table cpp infer 2022-08-10 06:05:02 +00:00
tink2123 c367e4159a update doc for issues 2022-05-31 15:36:04 +08:00
andyjpaddle e37fbd1380 update doc for quickstart 2022-05-30 08:10:37 +00:00
andyjpaddle 01aeda4f6b add ppocrv3 tipc & test=document_fix 2022-05-12 11:59:02 +00:00
andyjpaddle 369889b6e0 fix rec v3 mkldnn irpass in cpp infer (#6154)
* fix rec v3 mkldnn irpass

* fix rec v3 mkldnn irpass
2022-05-06 21:57:41 +08:00
andyjpaddle a9c0cab75d Merge pull request #6042 from andyjpaddle/dygraph
update cpp infer for rec
2022-04-24 20:31:35 +08:00
WenmuZhou 8abef5a190 fix mkdir error 2022-04-22 13:31:57 +00:00
WenmuZhou 93f5f47344 rename PaddleOCR to PPOCR 2022-04-22 13:26:15 +00:00
andyjpaddle 36358fdf64 update cpp infer for rec 2022-04-22 09:08:01 +00:00
WenmuZhou 202fa42854 adatator tipc 2022-04-11 07:24:17 +00:00
WenmuZhou 41c6025462 Refactor the code to keep the logic consistent with the whl package 2022-04-10 13:28:27 +00:00