Commit Graph

6457 Commits (3d03ca5500366ea2b1b26e652bbc42e7eeb0b77c)
 

Author SHA1 Message Date
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
Liu Jiaxuan 0ee4094988
change name for table models (#15083)
* change model name

* change model name
2025-04-29 20:38:00 +08:00
timminator 8ff69c6606
docs: fix dead link for diving into OCR (#15076) 2025-04-28 18:24:34 +08:00
cuicheng01 def5ef79f0
Add Note message to README (#15080)
* update README

* update README_en.md
2025-04-28 16:18:14 +08:00
liuhongen1234567 8e4a3988f1
rename yaml (#15079) 2025-04-28 14:36:27 +08:00
Sunflower7788 6f113bfd9d
rename det models name and fix docs (#15020)
* rename

* rename

* fix and rm docs

* fix and rm docs

* fix and rm docs

* fix and rm docs
2025-04-27 22:04:03 +08:00
zhangyubo0722 a80d2c89e5
fix det for hpi config (#15056) 2025-04-22 16:22:00 +08:00
zhangyubo0722 5d120f8fe9
fix rec hpi config (#14905) 2025-04-20 14:46:30 +08:00
Tingquan Gao b0ce52f729
save the inference model in json format by default (#15022) 2025-04-17 20:17:34 +08:00
SWHL 934faf5931
docs: format docs (#15006) 2025-04-13 10:35:47 +08:00
Jan 332d9d5112
docs: Fix formatting (#14891)
* docs: Fix formatting

* Fix typo

* Fix translation

* Fix formatting

* Fix formatting
2025-04-02 20:56:01 +08:00
co63oc 715b1d9aa4
Fix typos (#14941) 2025-03-28 16:28:38 +08:00
co63oc 33fa33e4a9
Fix typos (#14936) 2025-03-25 11:15:56 +08:00
^_^ d28cb46061
skip unnecessary method calls (#14900)
* skip unnecessary method calls in PaddleOCR.ocr
pre-check meaningless args for PaddleOCR.ocr

* style: make CI happy
2025-03-20 10:36:10 +08:00
Jan 17525c5c8e
docs: Add missing space (#14890) 2025-03-18 15:33:58 +08:00
Jan d6c7a6c396
docs: fix naming (#14886) 2025-03-18 08:34:57 +08:00
Jan 6ff9d57ddd
Fix formatting Markdown List (#14885) 2025-03-18 08:29:15 +08:00
Jan 750941374e
Fix typo (#14884) 2025-03-18 08:15:00 +08:00
Jan 5e36dc9983
docs: fix typos and translation (#14727) 2025-03-18 08:14:06 +08:00
EnflameGCU 9bd0177cff
[GCU] Update gcu config (#14851) 2025-03-17 19:31:37 +08:00
openvino-book e3f4c87ec0
Update README.md (#14660)
fix some format error
2025-03-17 16:50:57 +08:00
timminator 5791d75ac9
Add missing languages to documentation (#14853) 2025-03-14 09:43:31 +08:00
Jonathans575 6778da99e2
feat(train): use naive_sync_bn with xpu device. (#14849)
* feat(train): use naive_sync_bn with xpu device.

* feat(train): use naive_sync_bn with xpu device.
2025-03-13 19:45:02 +08:00
liuhongen1234567 1ccf688ca2
fix static train in formula (#14826) 2025-03-08 00:24:37 +08:00
cuicheng01 28657d428b
Update docs (#14821)
* update docs for 2.10

* update

* add ch_PP-OCRv4_rec_hgnet_doc.yml
2025-03-07 14:38:24 +08:00
Wang Xin 22d3531d7c
docs: remove Python 3.7 related expressions (#14818) 2025-03-07 09:21:49 +08:00
timminator 2832f027e7
fix wrong date in newly added capabilities (#14819) 2025-03-07 09:20:07 +08:00
cuicheng01 7c512f3be1
New capabilities added for version 2.10 (#14810)
* New capabilities added for version 2.10

* update docs
2025-03-06 21:22:16 +08:00
Jan 9b8ac8dbdb
docs: fix typos (#14817) 2025-03-06 21:06:09 +08:00
Jan c7527e821a
docs: fix typos (#14816) 2025-03-06 19:15:15 +08:00
zhangyubo0722 e8399f267b
add cli rec model (#14740) 2025-03-06 17:05:51 +08:00
zhangyubo0722 f95280d52d
fix bs to 1 in trt dy shape config for some formule rec model and tabel rec models (#14807) 2025-03-06 11:34:08 +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
zhuyipin 9e7a1f4cc1
remove usused mem in latex_ocr head (#14803)
* adapt to npu

* add device judgement
2025-03-05 11:19:15 +08:00
co63oc 78ec762aac
Fix typos (#14800) 2025-03-04 14:20:13 +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
Wang Xin 1d52a2b2e1
fix OverflowError in text_visual func (#14758) 2025-02-26 15:38:16 +08:00
Wang Xin 37f44372b1
unlock albumentations version (#14746) 2025-02-25 16:30:08 +08:00
zhangyubo0722 2b7b76310b
fix formula rec models hpi_config (#14739)
1. for formula rec models, the channel of input data is 1;
2. for latex_ocr_rec models, fix min/max size of dynamic shape.
2025-02-25 14:59:49 +08:00
Wang Xin 7d0147d752
docs: update android demo doc (#14756) 2025-02-25 08:00:23 +08:00
Wang Xin 54e53cc455
docs: update paddle2onnx docs (#14745)
* docs: update paddle2onnx docs

* update

* update doc
2025-02-23 07:29:54 +08:00
SWHL 557ea7638c
docs: add infer_deploy module in navigate bar (#14728)
* docs: add infer_deploy module in navigate bar

* docs: add infer_deploy module in navigate bar

* docs: fixed mkdocs syntax error
2025-02-20 10:15:12 +08:00
liuhongen1234567 77c7de5f9b
fix static train of ppocrv3_mobile_rec (#14724) 2025-02-19 23:30:19 +08:00
Sunflower7788 e752487f2f
fix_ppocrv3_dy2st_config (#14721) 2025-02-19 19:28:48 +08:00
Jan Knobloch a210ae481f
docs/en: fix typo (#14715) 2025-02-19 07:37:22 +08:00
Wang Xin 96a7329190
docs: update quick_start doc (#14690) 2025-02-15 19:33:25 +08:00
mauryaland dc34f9b45a
use the env variable PADDLE_OCR_BASE_DIR if it exists to download models (#14686)
* use the env variable PADDLE_OCR_BASE_DIR to download models

* use PADDLE_OCR_BASE_DIR env variable to download models
2025-02-15 07:44:23 +08:00
mauryaland 44e17bae0a
allow environment variable for BASE_DIR models (#14678)
* allow environment variable for BASE_DIR models

* add doc for environment variable PADDLE_OCR_BASE_DIR

* fix code style error
2025-02-14 21:58:00 +08:00