NeterOster
fa93f61cc5
fix: Correct misuse of `try_import` from `paddle.utils` ( #11820 )
...
This commit addresses the incorrect usage of the `try_import` function from `paddle.utils` in both `ppocr/utils/utility.py` and `ppstructure/pdf2word/pdf2word.py`.
2024-03-28 11:26:36 +08:00
xiaoting
b583b4773f
cherry-pick for lazy import pymupdf and pre-commit ( #11692 )
...
Co-authored-by: jzhang533 <jzhang533@gmail.com>
2024-03-13 12:34:31 +08:00
fzhi
bf6b100f85
update uygur dict ( #11125 )
2023-10-26 15:32:55 +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
zhangyubo0722
e49e491417
add svtr large model ( #10937 )
...
* add svtr large model
* [WIP]add svtr large model
2023-09-26 14:38:29 +08:00
ToddBear
75d16610f4
Add new recognition method "ParseQ" ( #10836 )
...
* Update PP-OCRv4_introduction.md
* Update PP-OCRv4_introduction.md (#10616 )
* Update PP-OCRv4_introduction.md
* Update PP-OCRv4_introduction.md
* Update PP-OCRv4_introduction.md
* Update README.md
* 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
* Update requirements.txt (#10656 )
added missing pyyaml library
* [TIPC]update xpu tipc script (#10658 )
* fix-typo (#10642 )
Co-authored-by: Dennis <dvorst@users.noreply.github.com>
Co-authored-by: shiyutang <34859558+shiyutang@users.noreply.github.com>
* 修改数据增强导致的DSR报错 (#10662 ) (#10681 )
* 修改数据增强导致的DSR报错
* 错误修改回滚
* Update algorithm_overview_en.md (#10670 )
Fixed simple spelling errors.
* Implement recoginition method ParseQ
* Document update for new recognition method ParseQ
* add prediction for parseq
* Update rec_vit_parseq.yml
* Update rec_r31_sar.yml
* Update rec_r31_sar.yml
* Update rec_r50_fpn_srn.yml
* Update rec_vit_parseq.py
* Update rec_vit_parseq.yml
* Update rec_parseq_head.py
* Update rec_img_aug.py
* Update rec_vit_parseq.yml
* Update __init__.py
* Update predict_rec.py
* Update paddleocr.py
* Update requirements.txt
* Update utility.py
* Update utility.py
---------
Co-authored-by: xiaoting <31891223+tink2123@users.noreply.github.com>
Co-authored-by: topduke <784990967@qq.com>
Co-authored-by: dyning <dyning.2003@163.com>
Co-authored-by: UserUnknownFactor <63057995+UserUnknownFactor@users.noreply.github.com>
Co-authored-by: itasli <ilyas.tasli@outlook.fr>
Co-authored-by: Kai Song <50285351+USTCKAY@users.noreply.github.com>
Co-authored-by: dvorst <87502756+dvorst@users.noreply.github.com>
Co-authored-by: Dennis <dvorst@users.noreply.github.com>
Co-authored-by: shiyutang <34859558+shiyutang@users.noreply.github.com>
Co-authored-by: Dec20B <1192152456@qq.com>
Co-authored-by: ncoffman <51147417+ncoffman@users.noreply.github.com>
2023-09-07 16:36:47 +08:00
itasli
66461c3325
Cherrypicking GH-10251 & GH-10181 to PaddleOCR:dygraph ( #10710 )
...
* fix undefined save_model_dir when using wandb (#10251 )
* fix undefined save_model_dir when using wand
* Update program.py
* 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
2023-08-30 10:21:29 +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
shiyutang
4a91a21245
compat_pillow ( #10596 )
2023-08-10 16:41:35 +08:00
livingbody
49d1a59572
upgrade pillow to 10.0.0 ( #10405 )
2023-07-17 14:42:30 +08:00
Lin Manhui
2d44a71b20
Toward Devkit Consistency ( #10150 )
...
* Accommodate UAPI
* Fix signal handler
* Save model.pdopt
* Change variable name
* Update vdl dir
2023-06-14 14:31:45 +08:00
gmm
cdf6d1fb42
fix profile ( #10121 )
2023-06-08 18:54:29 +08:00
zhoujun
36ec3a406c
update tipc to_static ( #9369 )
...
* add d2s train for slanet and v3
* fix bug
* udpate tipc to_static
* update db
* remove_print
* update benchmark_train.sh
* update maybe_download_params
2023-03-10 19:07:37 +08:00
zhoujun
2e05d54af8
add d2s train for slanet and v3 ( #9341 )
...
* add d2s train for slanet and v3
* fix bug
2023-03-09 11:21:34 +08:00
zhoujun
623424fce0
support auto download model from bos ( #9349 )
2023-03-08 19:21:28 +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
zhoujun
f45c6ec668
mv Polygon import into func ( #8506 )
2022-12-01 16:02:47 +08:00
Double_V
58a5c0b35d
[check_install] ( #8177 )
...
* support min_area_rect crop
* add check_install
* fix requirement.txt
* fix check_install
* add lanms-neo for drrg
* fix
* fix doc
2022-11-15 14:25:39 +08:00
littletomatodonkey
b92501faf6
fix pic ( #8067 )
2022-10-24 15:43:01 +08:00
Lizhi Chen
182c1db291
Merge branch 'dygraph' into dygraph
2022-10-20 10:14:55 +08:00
chenlizhi
0cdfc52507
add sr model Text Telescope
2022-10-17 15:15:37 +08:00
dorren
f3f473d3f9
update CAN model
2022-10-15 20:27:05 +08:00
huangjun12
b5268dc3a0
add centripetal text model
2022-09-15 11:08:16 +00:00
Double_V
d022b26903
Merge pull request #7420 from wangjingyeye/dyg_db
...
update pgnet
2022-09-05 18:45:44 +08:00
wangjingyeye
0fd122b674
update pgnet
2022-09-05 09:06:17 +00:00
wangjingyeye
4c0b08733d
update pgnet
2022-09-05 07:03:16 +00:00
wangjingyeye
929b4f4557
update pgnet
2022-08-30 05:58:39 +00:00
MissPenguin
e6c6250493
Merge pull request #7208 from Topdu/dygraph
...
update arabic rec model & add pred reverse function
2022-08-24 16:28:29 +08:00
WenmuZhou
2b1885f159
Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into tipc
2022-08-22 11:33:51 +00:00
WenmuZhou
c4fd53070e
update fp16 load
2022-08-22 11:33:00 +00:00
WenmuZhou
66f4ae0261
fix is_nlp_model not define error in save_model
2022-08-22 02:25:24 +00:00
littletomatodonkey
988f6cadac
fix kie doc ( #7275 )
...
* fix kie doc
* fix en
2022-08-22 09:52:23 +08:00
littletomatodonkey
8c7c45420f
polish kie doc and code ( #7255 )
...
* add fapiao kie
* fix readme
* fix fanli
* add readme
* add how to do kie en
* add algo kie
* add algo overview en
* rename vqa to kie
* fix read gif
2022-08-21 10:55:49 +08:00
user1018
b7d99acd2e
update recovery ( #7259 )
...
* update recovery
* update recovery
* update recovery
* update recovery
* update recovery
2022-08-19 20:15:37 +08:00
user1018
bfff01db7e
Upstream/layout update ( #7220 )
...
* update layout
* update layout
* update layout
* update layout
* update layout
2022-08-18 19:43:03 +08:00
WenmuZhou
604f531b9a
add layout model
2022-08-17 04:40:07 +00:00
WenmuZhou
bb53c8d100
add table model link
2022-08-16 10:46:09 +00:00
WenmuZhou
22c13af65b
Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr
2022-08-16 03:35:46 +00:00
Topdu
09ff249363
update arabic rec model & add pred reverse function
2022-08-15 10:42:02 +00:00
littletomatodonkey
78871cfefb
kie doc ( #7154 )
...
* kie doc
* fix xlm model export
* fix doc
* add wildreceipt dataset
* fix doc
* fix doc
2022-08-15 11:39:11 +08:00
WenmuZhou
ba284a2b74
Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr
2022-08-14 09:07:19 +00:00
WenmuZhou
ce321153e7
rm unused code
2022-08-14 09:01:49 +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
d5ea6f21f8
Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr
2022-08-09 11:36:49 +00:00
andyjpaddle
44852aae0c
Merge pull request #7109 from WenmuZhou/tipc1
...
convert fp16 params to fp32 when params is fp16 format
2022-08-08 19:30:44 +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
c6738f4c53
convert fp16 params to fp32 when params is fp16 format
2022-08-05 12:50:25 +08:00
WenmuZhou
d0efcc74c9
convert fp16 params to fp32 when params is fp16 format
2022-08-05 12:41:03 +08:00