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
EnflameGCU
c8874d717f
[GCU] Support inference for GCU ( #14142 )
2024-11-21 10:10:41 +08:00
Wang Xin
fbba2178d7
update infer/utility.py to support json format model ( #14233 )
...
* update infer/utility.py to support json format model
* merge from #13524
* fix bug
* fix bug
* Update tools/infer/utility.py
Co-authored-by: jzhang533 <jzhang533@gmail.com>
* fix codestyle
---------
Co-authored-by: jzhang533 <jzhang533@gmail.com>
2024-11-18 14:00:58 +08:00
Alex
58e876d38d
[third-party] Fix the issue of inference errors with KE models in ONNX format ( #14138 )
...
* fix inference KIE model using onnx model
* fix code style
* fix onnx inputs compatiblility with det and rec
* fix code style
2024-11-02 00:14:34 +08:00
Salmondx
37e177595b
Allow `create_predictor` function to accept array of ONNX Execution Providers ( #14078 )
...
* pass onnx execution providers to create_predictor function
* added ability to provide onnxruntime SessionOptions
* added argument parser for onnx_sess_options
---------
Co-authored-by: ggolda <gleb.golda@streamlabs.com>
2024-10-25 20:21:39 +08:00
Wang Xin
cda3e1201e
fix hubserving run error ( #13918 )
...
* fix hubserving run error
* Update paddleocr.py
2024-09-27 15:58:49 +08:00
Wang Xin
3cc4ae9f37
set --image_dir to be required ( #13896 )
2024-09-23 14:17:44 +08:00
Wang Xin
1c8233d5bc
fix SRN algorithm infer error ( #13851 )
2024-09-11 19:16:30 +08:00
changdazhou
b6211b936b
support benchmark for paddlepaddle3.0 ( #13574 )
2024-08-02 19:24:40 +08:00
Wang Xin
c95f6b2de7
optimize func: get_infer_gpuid ( #13275 )
...
* optimize func: get_infer_gpuid
* apply code review suggestion
2024-07-09 10:01:16 +08:00
CaiRan
6d5f998fe1
solve the onnxruntime inference issue ( #13154 )
2024-06-21 17:20:40 +08:00
aspaul20
965f569e81
added sliding window for large image inference ( #12152 )
...
added sliding window for large image inference
2024-05-24 16:16:37 +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
TracebaK
317eac13b5
Add device check in check_gpu ( #11293 )
2023-12-06 11:12:58 +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
UserUnknownFactor
b3912fcf7a
Cherrypicking GH-10217 and GH-10216 to PaddlePaddle:dygraph ( #10654 )
...
* Don't break overall processing on a bad image
* Add preprocessing common to OCR tasks
Add preprocessing to options
2023-08-21 16:33:03 +08:00
zhoujun
dbf35bb714
onnxruntime support gpu ( #10668 )
...
* Update ch_PP-OCRv3_rec.yml
* Update ch_PP-OCRv3_rec_distillation.yml
* Update en_PP-OCRv3_rec.yml
* Update arabic_PP-OCRv3_rec.yml
* Update chinese_cht_PP-OCRv3_rec.yml
* Update cyrillic_PP-OCRv3_rec.yml
* Update devanagari_PP-OCRv3_rec.yml
* Update japan_PP-OCRv3_rec.yml
* Update ka_PP-OCRv3_rec.yml
* Update korean_PP-OCRv3_rec.yml
* Update latin_PP-OCRv3_rec.yml
* Update ta_PP-OCRv3_rec.yml
* Update te_PP-OCRv3_rec.yml
* Update utility.py
2023-08-17 18:26:20 +08:00
shiyutang
4a91a21245
compat_pillow ( #10596 )
2023-08-10 16:41:35 +08:00
ToddBear
b3f9f681d9
CV套件建设专项活动 - 文字识别返回单字识别坐标 ( #10515 ) ( #10537 )
...
* modification of return word box
* update_implements
* Update rec_postprocess.py
* Update utility.py
2023-08-10 15:12:01 +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