7 Commits

Author SHA1 Message Date
学卿
0a8a6354f1
support ppocrv5 minor languages (#15893)
* support ppocrv5 minor languages

* fixed bugs
2025-06-28 18:58:13 +08:00
timminator
ae21c3d3a9
Enhance OCR model selection logic (#15643)
If there is no model specified select the best available model
for the specified language

Fix #15642
2025-06-09 11:21:39 +08:00
Lin Manhui
fa621efe0e
Update PP-OCRv4 supported languages and default models (#15561)
Co-authored-by: Sam-gsj <Sam-gsj@users.noreply.github.com>
2025-06-04 13:56:15 +08:00
Lin Manhui
fd5b4e1049
[Feat] Support textline_orientation for chatocr and unify naming of text line orientation (#15337)
* Support textline_orientation for chatocr and unify naming of textline orientation

* Unify description

* Update documentation

* Fix serving doc
2025-05-30 17:31:30 +08:00
Lin Manhui
878a076e98
Correct unexpected behavior when specifying both lang and model name (#15485) 2025-05-30 14:35:58 +08:00
Lin Manhui
b25dcaae0e
Add deployment docs and enhance CLI (#15117)
* Add serving and hpi docs

* Optimize CLI logging info

* Update interface

* Add on-device deployment and onnx model conversion docs

* Enhance CLI

* _gen->_iter

* Fix CLI help message

* Update table_recognition_v2 and PP-StructureV3 interfaces

* Update installation doc

* Update interface

* Update interface

* Add logging doc

* Update default values

---------

Co-authored-by: cuicheng01 <45199522+cuicheng01@users.noreply.github.com>
2025-05-19 03:01:27 +08:00
Lin Manhui
3d03ca5500
[Breaking][Feat] New PaddleOCR inference package (#15046)
* Init new paddleocr

* Remove unused dependency

* Fix typos

* Fix

* Add doc understanding modules

* Fix package finding

* Normalize name

* Fix setting bugs

* Fix setting bug

* Support single model inference

* Add PP-ChatOCRv4-doc

* Add pp_chatocrv4_doc tests

* Enable MKL-DNN when available

* add seal_text_detection modules

* add layout_detection and table_cells_detection modules

* add testing scripts

* Fix desc

* add text_image_unwarping and table_structure_recognition modules

* add formula_recognition and doc_vlm modules

* update formula_recognition default_model_name

* add MKLDNN_BLOCKLIST

* update MKLDNN log

* add seal rec pipeline

* fix sth

* fix sth

* add doc preprocessor pipeline

* fix sth

* add doc understanding

* add table_rec_v2, ppstructurev3, formula_rec pipelines

* move test files

* forward kwargs to pipeline.predict

* clean test files

* Add missing kwargs

* Fix typo

* Fix typo

* rerun CI

* update mkldnn BLOCKLIST

* update

* update warning message

* fix cli args

* update PIPELINE_MKLDNN_BLOCKLIST

* update  of  workflow

* skip resource_intensive tests

* update config

* skip ppdocbee test_predict_params

---------

Co-authored-by: zhangyue66 <zhangyue66@baidu.com>
Co-authored-by: zhangzelun <zhangzelun@baidu.com>
2025-05-04 15:59:02 +08:00