114 Commits

Author SHA1 Message Date
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
WenmuZhou
f889907c1c move args to args.h 2022-04-09 03:42:36 +00:00
WenmuZhou
15a22fa05a fix bug 2022-04-09 03:07:13 +00:00
WenmuZhou
02a892aa75 Keep the parameter names the same as python 2022-04-09 02:19:01 +00:00
WenmuZhou
0527b02a72 repleace # with // 2022-04-04 06:24:18 +00:00
WenmuZhou
eb3d3f567c rec return result 2022-04-03 08:56:16 +00:00
WenmuZhou
5c4810ad2e update doc and code 2022-03-29 02:12:01 +00:00
WenmuZhou
6fcc2e7150 fix bug in mem 2022-03-11 04:04:11 +00:00
WenmuZhou
2e984a5e19 add use_dilation to cpp 2022-03-07 14:22:28 +00:00
WenmuZhou
05ed75457d rm print 2022-03-07 11:08:43 +00:00
WenmuZhou
86cad564e4 update db postprocess params 2022-03-07 11:05:42 +00:00
MissPenguin
ee840e71f1 update 2021-11-03 09:26:12 +00:00