Commit Graph

108 Commits (9231cbe0393745f2883a94e651fc7cab37a07cda)

Author SHA1 Message Date
liuhongen1234567 cf26f2330e
Latexocr paddle (#13401)
* commit_test

* modified:   configs/rec/rec_latex_ocr.yml
	deleted:    ppocr/modeling/backbones/rec_resnetv2.py

* ntuple_solve

* style

* style

* style

* style

* style

* style

* style

* style

* style

* delete comment

* cla_email
2024-07-22 11:50:23 +08:00
enximi 86a447de9f
fix wrong function name (#12826)
AttributeError: module 'ntpath' has no attribute 'is_dir'. Did you mean: 'isdir'?
2024-06-09 10:23:24 +08:00
Alex Pasquali a764c560ba
Save recognition inference logs to file (#12542)
* Save recognition inference logs to file

* Formatted code with black
2024-05-31 09:36:34 +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
Alexnet fb38d0be18
fix SAR inference, when batch size>1, norm_img_batch and valid_ratios shapes do not match (#11238) 2023-11-15 10:02:03 +08:00
Viktor Bordiuzha d0d77fe273
Fixed a bug where changing "max_text_length" for VisionLAN did not change the length of the output text (#11025) 2023-10-12 11:07:07 +08:00
topduke 8a52c99ad8
[New] add rec CPPD model (#10990)
* fix gris_sample data type bug when use fp16

* fix gris_sample data type bug when use fp16

* fix v4rec batchsize

* fix bug of hang when multi gpus training(sampler)

* add rec algorithm cppd

* delete cppd useless code

* update cppd bug

* add rec algorithm cppd

* update cppd trainedmodel url

* add cppd en doc
2023-09-25 15:43:45 +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
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
zhiminzhang0830 30201ef954
add satrn (#8433)
* add satrn

* 修复satrn导出问题

* 规范satrn config文件

* 删除SATRNRecResizeImg

---------

Co-authored-by: zhiminzhang0830 <zhangzhimin04@baidu.com>
2023-02-08 11:25:50 +08:00
xiaoting ff947d8960
fix onnx for dynamic shape (#8812) 2023-01-10 10:48:42 +08:00
dorren f875556541 update can transform method and add copyright info for new file 2022-10-17 17:18:14 +08:00
dorren f3f473d3f9 update CAN model 2022-10-15 20:27:05 +08:00
zhiminzhang0830 c25eec882a Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into rfl_branch 2022-10-09 10:07:46 +08:00
littletomatodonkey eeef62b3c6
fix PREN export and infer (#7833) 2022-10-08 16:37:12 +08:00
zhiminzhang0830 0002349df3 add text recognition algorithm rflearning 2022-09-27 10:54:31 +08:00
xiaoting 5a524807f9
fix infer_rec for other input (#7286) 2022-08-23 18:05:03 +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
smilelite 40c45e2ccc
Merge branch 'dygraph' into robustscanner_branch 2022-08-17 21:49:11 +08:00
andyjpaddle 6e89ec8d09 fix sar export 2022-08-16 09:34:48 +00:00
smilelite a8ba8963e0 merge cpnflict 0815 2022-08-15 23:03:21 +08:00
andyjpaddle 89f8b1d49f
Merge pull request #7196 from andyjpaddle/fix_sar
fix sar infer shape
2022-08-15 14:07:43 +08:00
andyjpaddle b7ca8c8070 fix sar infer shape 2022-08-15 03:40:29 +00:00
smilelite 60ea689df4
Merge branch 'dygraph' into robustscanner_branch 2022-08-11 21:45:21 +08:00
andyjpaddle 3f65b360ef
Add rec algo VisionLAN (#6943)
* add vl

* add vl

* add vl

* add ref

* fix head out

* add visionlan doc

* fix vl infer

* update dict
2022-08-09 11:29:43 +08:00
smilelite 536e0593f0 fixed conflicts 20220801 2022-08-01 21:36:36 +08:00
smilelite 8fa4620cce fixed bug for predict_rec 2022-08-01 21:20:02 +08:00
smilelite b781838015 fix conflicts 2022-07-27 23:02:24 +08:00
smilelite b164bb0165 fixed predict_rec 2022-07-27 22:49:04 +08:00
smilelite bc1c19c5d2 merge upstream 2022-07-10 12:15:27 +08:00
smilelite 46e3442e2e add spin 2022-07-10 11:47:25 +08:00
smilelite c11ec3ce5b merge upstream 2022-07-10 10:21:18 +08:00
topduke 671415bbd8
[New Rec]add rec ViTSTR & ABINet algorithm. (#6414)
* add rec vitstr algorithm.

* fix cpu_thread and precision

* fix svtr tipc

* modify vitstr name

* modify vitstr config batchsize

* [New Rec] add vitstr and ABINet

* add rec_resnet45

* svtr ch large model

* [application] svtr ch model

* [application] svtr ch model

* [application] svtr ch model

* add abinet_rec_aug and trained model

* aug p infe

* fix ci export bug

* fix abinet ci bug
2022-06-28 15:06:53 +08:00
smilelite bbca1e0d66 add pr 2022-06-12 13:53:29 +08:00
xyzhu8 6348425744 add robustscanner 2022-05-22 13:16:52 +08:00
tink2123 671cb14af2 modified default shape 2022-05-10 02:51:00 +00:00
tink2123 16752dd7a2 modified default shape 2022-05-10 02:50:51 +00:00
Topdu 68fb057dc6 add_rec_svtr 2022-04-26 10:30:26 +00:00
andyjpaddle f6532a0e51
add ppocrv3 rec (#6033)
* add ppocrv3 rec
2022-04-26 16:19:31 +08:00
andyjpaddle d50addb819 fix rare trt shape error 2022-04-12 13:03:51 +00:00
littletomatodonkey 83c09d5306
fix import order (#5628) 2022-03-04 16:13:54 +08:00
huangshenghui aff9f107e7 update paddle2onnx readme and fix a bug for onnx 2021-12-28 17:11:35 +08:00
tink2123 96cd6da1c9 set autolog warmup=0 2021-11-24 04:03:24 +00:00
MissPenguin 0b37c11878
Merge pull request #4474 from tink2123/paddle2onnx
add paddle2onnx for test_tipc
2021-11-08 20:26:15 +08:00
tink2123 3f5ffc3235 add paddle2onnx doc 2021-11-08 16:40:53 +08:00
MissPenguin 86e4981703 add batch infer for cpp rec 2021-11-03 07:20:22 +00:00
tink2123 380dc6c27d rm rec_char_type 2021-10-12 14:29:00 +08:00
Topdu b40ffdd45c fix sar export inference model 2021-09-29 01:50:24 +00:00