Commit Graph

220 Commits (89e0a15ce7f195026d56189e04a880aa81b107f3)

Author SHA1 Message Date
UserUnknownFactor b17c2f3a56
Cherrypicking GH-10217 and GH-10216 to PaddlePaddle:Release/2.7 (#10655)
* Don't break overall processing on a bad image

* Add preprocessing common to OCR tasks
Add preprocessing to options
2023-08-16 18:54:43 +08:00
livingbody 49d1a59572
upgrade pillow to 10.0.0 (#10405) 2023-07-17 14:42:30 +08:00
xiaoting b0e3c3f2c7
clear fluid (#10333) 2023-07-10 14:12:40 +08:00
topduke 2a98d40b10
Add v4rec hgnet (#9768)
* v4rec code

* v4rec add nrtrloss

* Add V4rec backbone file

* Add V4Rec config file.

* Fix V4rec reparameters when export_model

* convert lvnetv3

* fix codestyle

* fix infer_rec v4rec

* add v4rec hgnet

* add v4rec hgnet config

* add svtr_hgnet

* fix bugs in infer_rec and hgnet
2023-04-21 12:34:48 +08:00
duanyanhui ce65745755
update npu inference api (#9765) 2023-04-20 10:26:26 +08:00
Double_V 3629d5a365
support set gpu_id when inference (#8926)
* support min_area_rect crop

* add check_install

* fix requirement.txt

* fix check_install

* add lanms-neo for drrg

* fix

* fix doc

* fix

* support set gpu_id when inference

* fix #8855

* fix #8855
2023-01-30 18:46:41 +08:00
Double_V d314008fa7
support min_area_rect crop (#8127) 2022-11-01 11:30:34 +08:00
dorren f3f473d3f9 update CAN model 2022-10-15 20:27:05 +08:00
LDOUBLEV 119196f11d add det_box_type params 2022-10-09 11:28:32 +08:00
LDOUBLEV 81e4c3d821 add polygon params 2022-10-09 09:58:52 +08:00
andyjpaddle 6dd8da089f format code 2022-09-29 07:51:13 +00:00
andyjpaddle e61f40ef41 support infer pdf file 2022-09-29 07:31:45 +00:00
WenmuZhou 06194524ca add re predict 2022-09-20 22:13:27 +08:00
Double_V 8fb6fea192
Update utility.py 2022-09-19 17:35:04 +08:00
LDOUBLEV bb54e9b8eb fix 2022-09-19 14:03:15 +08:00
LDOUBLEV a8c6173347 add txt 2022-09-19 13:33:47 +08:00
LDOUBLEV 9881156261 delete shape_info_name 2022-09-19 13:26:18 +08:00
LDOUBLEV 1b07e42912 fix trt 2022-09-16 20:11:18 +08:00
qili93 149e118474 [TIPC] add scripts for NPU and XPU, test=develop 2022-09-13 14:11:21 +08:00
zhangxinnan 51d771ce19 import random放到脚本 开始 2022-09-04 12:40:45 +08:00
zhangxinnan 2925aeb4e4 去掉旧版本的draw_ocr_box_txt 2022-09-04 12:38:18 +08:00
zhangxinnan 960a0ca607 增加draw_ocr_box_txt2:解决文本框倾斜时文字画在外边的情况 2022-09-04 10:01:16 +08:00
andyjpaddle 96a8e0f88e Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into dygraph 2022-08-23 11:53:53 +00:00
andyjpaddle 29268eaaf0 add args en doc 2022-08-23 11:52:42 +00:00
littletomatodonkey aedeb28a56
fix re bug (#7288) 2022-08-22 16:31:54 +08:00
Evezerest 7e4e87dd6d
cherry pick PRs from community (#7273)
* Merge pull request #6824 from ChenNima/release/2.5-kie-save-res

[kie]add write_kie_result to kie infer tool

* Merge pull request #6677 from TonyJiangWJ/release/2.5

修复内存泄露问题

* Update native.cpp (#6650)

fix issue 6640

* Merge pull request #6625 from ynjang/ynjang

update sorted_boxes

* fix DeprecationWarning, (#6604)

DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead

* Merge pull request #6585 from maxbachmann/release/2.5

replace GPL licensed components

* Merge pull request #6575 from Eling486/release/2.5

update win doc

* Merge pull request #6477 from MikoyChinese/fix-copy-paste

Fix copy_paste no texts augment.

* Merge pull request #6361 from mohamadmansourX/patch-9

Update README_en.md

Co-authored-by: Double_V <liuvv0203@163.com>
Co-authored-by: shawn <1021362695@qq.com>
Co-authored-by: paopjian <672034519@qq.com>
2022-08-21 18:03:57 +08:00
zhoujun aec5dbf8f7
update model size (#7269)
* update model size

* update layout dict in whl
2022-08-20 16:10:45 +08:00
littletomatodonkey f68571b2f6
rm dyg shape for trt (#7221) 2022-08-17 23:24:47 +08:00
WenmuZhou ba284a2b74 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-14 09:07:19 +00:00
xiaoting 7054013004
Submit SR model (#6933)
* add sr model

* update for eval

* submit sr

* polish code

* polish code

* polish code

* update sr model

* update doc

* update doc

* update doc

* fix typo

* format code

* update metric

* fix export
2022-08-12 10:49:54 +08:00
WenmuZhou 6fe01d43dc Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-08 06:58:15 +00:00
WenmuZhou ddaa2c2552 add SLANet 2022-08-08 06:50:27 +00:00
littletomatodonkey 9e4ae9dc12
add vqa code (#7096)
* add vqa code

* add order ocr info

* rename tb-yx order

* polish configs

* add trt offline-tuning

* fix seed and remove unused configs
2022-08-06 15:41:20 +08:00
WenmuZhou 807dd10636 pre-commit 2022-07-01 09:59:11 +00:00
WenmuZhou 8d46a1fbbe add dygraph2static support of layoutlm series SER model 2022-07-01 08:52:08 +00:00
littletomatodonkey 96eb6287f7
fix trt int8 inference (#6387) 2022-05-24 15:34:24 +08:00
xiaoting f2c0a1a2fd
Cherry pick to dygraph (#6383)
* add starnet doc & test=document_fix

* add starnet doc & test=document_fix

* Update algorithm_rec_starnet.md

* support xpu
2022-05-23 23:38:33 +08:00
littletomatodonkey 265cd32bd5 fix 2022-05-13 14:46:02 +00:00
littletomatodonkey 85cfc51ece fix 2022-05-13 14:45:40 +00:00
littletomatodonkey c425ba9b85 fix 2022-05-13 14:45:06 +00:00
littletomatodonkey a3753aae50 fix rec prediction for trt7 2022-05-13 14:28:35 +00:00
MissPenguin f7f48dfe35
Merge pull request #6222 from tink2123/cherry-pick-dygraph
Cherry pick dygraph
2022-05-10 14:49:01 +08:00
tink2123 16752dd7a2 modified default shape 2022-05-10 02:50:51 +00:00
andyjpaddle b16c3d4234 update v3 rec name 2022-05-10 02:41:54 +00:00
Shuangchi He 55d8af94f5
[cherry-pick] `Fix some typos for Jetson, metrics and result` from release/2.4-typos2 branch and merge. (#6119)
* [cherry-pick] Fix some typos for Jetson, metrics and result from release/2.4-typos2 branch and merge.
2022-05-02 14:01:29 +08:00
tink2123 f10b783e20 fix v3 mkldnn 2022-04-27 07:48:14 +00:00
tink2123 9f5d0d59ef fix mkldnn for ppocrv3, and fix some typo 2022-04-27 06:24:28 +00:00
andyjpaddle c01d5fc2d1
update trt dynamic shape for v3 rec (#6066)
* update trt dynamic shape for v3 rec

* update trt dynamic shape for v3 rec
2022-04-27 13:01:36 +08:00
LDOUBLEV b62e6954ad fix rec output name error 2022-04-12 14:00:07 +08:00
LDOUBLEV 5efa071c07 delete debug 2022-04-07 08:31:37 +00:00