Lin Manhui
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
lw
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
fyf
ada7398f9d
Refactor CMakeLists.txt: move cmake_minimum_required() before project() ( #16996 )
2025-11-25 12:05:17 +08:00
Chris Chow
7069e78b0a
fix: correct macro to replace /MD with /MT in CMakeLists.txt ( #16443 )
...
* fix: correct macro to replace /MD with /MT in CMakeLists.txt
* Fix code style
2025-09-19 18:29:10 +08:00
co63oc
dfd8efa04f
fix typos ( #16374 )
2025-09-15 14:59:03 +08:00
guoshengjian
35c1ed56fd
[docs] Modify OCR_windows.md ( #16356 )
...
* modify OCR_windows.md
* modify OCR_windows.md
2025-08-29 16:53:41 +08:00
guoshengjian
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
guoshengjian
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
guoshengjian
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
guoshengjian
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
guoshengjian
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
zhang-prog
e992b00831
enhance and update deployment docs ( #15596 )
...
* enhance and update deployment docs
* update
* add example image for PP-OCRv5_mobile edge deployment
* update
2025-06-06 17:25:55 +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
97d9728a1d
cpp_infer and python_infer support PP-OCRv5 models ( #15410 )
...
* cpp_infer support PP-OCRv5 models
* python_infer support PP-OCRv5 models
* update version2.x model_list
* rollback version2.x model_list
* update
* update
2025-05-27 12:01:53 +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
timminator
2376b03ede
Add english docu for CMAKE compilation on windows ( #14641 )
...
Add english docu for CMAKE compilation on windows
Add english docu for CMAKE compilation on windows
Add english docu for CMAKE compilation on windows
2025-02-09 19:34:09 +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
Hiro Wong
4f625dc28b
Fix CMAKE_CXX_FLAGS optimize flag ( #14059 )
2024-10-21 23:32:27 +08:00
achieve_dream
e9fca96d4f
rename MKLDNN to OneDNN ( #13757 )
...
[Windows Inference Library (version 3.0.0-beta1) - MKL](https://www.paddlepaddle.org.cn/inference/master/guides/install/download_lib.html#windows ) renames the mkldnn folder to onednn.
2024-08-27 12:52:00 +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
jzhang533
19144429e6
update link mentioned at #11763 ( #11764 )
2024-03-27 17:29:47 +08:00
shiyutang
e3fc6393e0
[Cherry-pick] Cherry-pick from release/2.6 ( #11092 )
...
* Update recognition_en.md (#10059 )
ic15_dict.txt only have 36 digits
* Update ocr_rec.h (#9469 )
It is enough to include preprocess_op.h, we do not need to include ocr_cls.h.
* 补充num_classes注释说明 (#10073 )
ser_vi_layoutxlm_xfund_zh.yml中的Architecture.Backbone.num_classes所赋值会设置给Loss.num_classes,
由于采用BIO标注,假设字典中包含n个字段(包含other)时,则类别数为2n-1;假设字典中包含n个字段(不含other)时,则类别数为2n+1。
* Update algorithm_overview_en.md (#9747 )
Fix links to super-resolution algorithm docs
* 改进文档`deploy/hubserving/readme.md`和`doc/doc_ch/models_list.md` (#9110 )
* Update readme.md
* Update readme.md
* Update readme.md
* Update models_list.md
* trim trailling spaces @ `deploy/hubserving/readme_en.md`
* `s/shell/bash/` @ `deploy/hubserving/readme_en.md`
* Update `deploy/hubserving/readme_en.md` to sync with `deploy/hubserving/readme.md`
* Update deploy/hubserving/readme_en.md to sync with `deploy/hubserving/readme.md`
* Update deploy/hubserving/readme_en.md to sync with `deploy/hubserving/readme.md`
* Update `doc/doc_en/models_list_en.md` to sync with `doc/doc_ch/models_list_en.md`
* using Grammarly to weak `deploy/hubserving/readme_en.md`
* using Grammarly to tweak `doc/doc_en/models_list_en.md`
* `ocr_system` module will return with values of field `confidence`
* Update README_CN.md
* 修复测试服务中图片转Base64的引用地址错误。 (#8334 )
* Update application.md
* [Doc] Fix 404 link. (#10318 )
* Update PP-OCRv3_det_train.md
* Update knowledge_distillation.md
* Update config.md
* Fix fitz camelCase deprecation and .PDF not being recognized as pdf file (#10181 )
* Fix fitz camelCase deprecation and .PDF not being recognized as pdf file
* refactor get_image_file_list function
* Update customize.md (#10325 )
* Update FAQ.md (#10345 )
* Update FAQ.md (#10349 )
* Don't break overall processing on a bad image (#10216 )
* Add preprocessing common to OCR tasks (#10217 )
Add preprocessing to options
* [MLU] add mlu device for infer (#10249 )
* Create newfeature.md
* Update newfeature.md
* remove unused imported module, so can avoid PyInstaller packaged binary's start-time not found module error. (#10502 )
* CV套件建设专项活动 - 文字识别返回单字识别坐标 (#10515 )
* modification of return word box
* update_implements
* Update rec_postprocess.py
* Update utility.py
* Update README_ch.md
* revert README_ch.md update
* Fixed Layout recovery README file (#10493 )
Co-authored-by: Shubham Chambhare <shubhamchambhare@zoop.one >
* update_doc
* bugfix
---------
Co-authored-by: ChuongLoc <89434232+ChuongLoc@users.noreply.github.com >
Co-authored-by: Wang Xin <xinwang614@gmail.com >
Co-authored-by: tanjh <dtdhinjapan@gmail.com >
Co-authored-by: Louis Maddox <lmmx@users.noreply.github.com >
Co-authored-by: n0099 <n@n0099.net >
Co-authored-by: zhenliang li <37922155+shouyong@users.noreply.github.com >
Co-authored-by: itasli <ilyas.tasli@outlook.fr >
Co-authored-by: UserUnknownFactor <63057995+UserUnknownFactor@users.noreply.github.com >
Co-authored-by: PeiyuLau <135964669+PeiyuLau@users.noreply.github.com >
Co-authored-by: kerneltravel <kjpioo2006@gmail.com >
Co-authored-by: ToddBear <43341135+ToddBear@users.noreply.github.com >
Co-authored-by: Ligoml <39876205+Ligoml@users.noreply.github.com >
Co-authored-by: Shubham Chambhare <59397280+Shubham654@users.noreply.github.com >
Co-authored-by: Shubham Chambhare <shubhamchambhare@zoop.one >
Co-authored-by: andyj <87074272+andyjpaddle@users.noreply.github.com >
2023-10-18 17:37:23 +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
414bf18a20
fix issue 9659 and doc ( #8690 )
2022-12-23 10:02:45 +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
b913f66403
update docs
2022-09-19 13:29:57 +00:00
WenmuZhou
43838e3e9f
add trt shape file to table and layout model
2022-09-19 11:39:22 +00:00
WenmuZhou
a166e54aca
add default value
2022-09-19 11:00:42 +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
68bdcba057
update doc
2022-09-09 12:26:55 +00:00
WenmuZhou
4fa4f22e7b
fix table cpp infer bug
2022-09-09 12:24:08 +00:00