224 Commits

Author SHA1 Message Date
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
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
topduke
bfa05707dd
fix nrtr posrprocess lower in chinese (#9103) 2023-02-20 09:39:15 +08:00
Double_V
4fd68e9bd5
fix east post process of dygraph (#9099)
* 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

* opt slim doc

* fix doc bug

* fix east postprocess
2023-02-16 12:33:29 +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
andyj
9059f747e6
support new version of numpy (#8921)
* add finetune en doc & test=document_fix

* fix dead link & test=document_fix

* fix dead link & test=document_fix

* update check img

* fix det res dtype

* update args default type & test=document_fix

* fix numpy version

* support numpy1.24.0
2023-01-30 16:05:14 +08:00
Double_V
414bf18a20
fix issue 9659 and doc (#8690) 2022-12-23 10:02:45 +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
zhoujun
1af190edc5
Adapt to 0-dimensional tensor (#8165) 2022-10-31 19:10:02 +08:00
zhoujun
3907c72a08
Merge pull request #7940 from dorren002/new_branch
add handwritten mathematical expression recognition algorithm CAN
2022-10-19 19:28:59 +08:00
andyj
38290a2853
update visionlan (#7989) 2022-10-19 17:12:12 +08:00
andyj
caf77ddb2f
Merge pull request #7957 from andyjpaddle/fix_vl_dict
fix visionlan default dict
2022-10-17 17:21:31 +08:00
dorren
f875556541 update can transform method and add copyright info for new file 2022-10-17 17:18:14 +08:00
andyjpaddle
9606bec16a fix visionlan default dict 2022-10-17 07:41:36 +00:00
dorren
f3f473d3f9 update CAN model 2022-10-15 20:27:05 +08:00
zhoujun
ce72023ce1
Merge pull request #7832 from zhiminzhang0830/drrg_branch
add text detection algorithm DRRG
2022-10-13 13:19:13 +08:00
Double_V
9df7730eeb
Merge pull request #7840 from LDOUBLEV/dygraph
add polygon params
2022-10-12 10:14:16 +08:00
zhiminzhang0830
3ee146fa99 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into drrg_branch 2022-10-10 15:56:08 +08:00
zhiminzhang0830
483e503826 通过变量类型判断是否是visual 2022-10-10 12:12:47 +08:00
LDOUBLEV
3628ac1c6c fix bug 2022-10-10 10:12:28 +08:00
LDOUBLEV
119196f11d add det_box_type params 2022-10-09 11:28:32 +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
1f9400dd73 add drrg 2022-10-08 11:56:45 +08:00
zhiminzhang0830
c459b72565 添加RFL CNT分支infer支持 2022-10-08 11:20:36 +08:00
zhiminzhang0830
0002349df3 add text recognition algorithm rflearning 2022-09-27 10:54:31 +08:00
WenmuZhou
a4bc9da8b6 fix bug 2022-09-21 17:50:50 +08:00
WenmuZhou
06194524ca add re predict 2022-09-20 22:13:27 +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
贾晓
ba04894d31
Merge pull request #7344 from Topdu/dygraph
fix arabic postprocess bug
2022-08-25 14:14:58 +08:00
topduke
4f7b28e89f
Update rec_postprocess.py 2022-08-25 12:52:45 +08:00
Topdu
6cded42b10 fix arabic postprocess bug 2022-08-25 04:33:42 +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
Topdu
1a5e1be1fa arabic reverse function 2022-08-22 09:57:57 +00:00
Topdu
2741a84de7 arabic reverse function 2022-08-22 09:53:04 +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
andyjpaddle
c9504a9425 fix vl predict format 2022-08-15 09:38:56 +00:00
andyjpaddle
e5e787018e fix vl 2022-08-15 09:05:32 +00:00
WenmuZhou
70145c3cdb Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-10 11:01:21 +00:00
an1018
c94025f266 update layout 2022-08-10 12:54:25 +08:00
WenmuZhou
d5ea6f21f8 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-09 11:36:49 +00:00
WenmuZhou
92f8552121 add "<td></td>" to dict when "<td></td>" not in file 2022-08-09 10:50:30 +00: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
andyjpaddle
9e1a77ead1 update dict 2022-08-09 01:47:57 +00:00