Commit Graph

149 Commits (release/2.9)

Author SHA1 Message Date
zhangyubo0722 362103bd0b
fix lateocr bug (#13920) 2024-09-28 19:11:31 +08:00
liuhongen1234567 5f0b90a110
Fix some issues with LaTeXOCR in paddleX (#13646)
* repair_some_Bug_for_paddlex

* style2

* style2

* add_epilson_for groupnorm
2024-08-14 11:30:25 +08:00
zhangyubo0722 6c12df47b2
merge release/2.6.1 to main (#13523) 2024-07-29 19:09:42 +08:00
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
jzhang533 24f06d1a1b
update common pre-commit configs and commit the results of running pre-commit run -a (#12516) 2024-05-29 15:26:09 +08:00
jzhang533 a2ad2124c7
commit fix by running pre-commit run -a (#12165) 2024-05-24 12:12:42 +08:00
Wang Xin af87691591
add ci for paddleocr test (#12062)
* add ci for paddleocr test

* fix flake8 error

* fix paddlepaddle deps

* add dep

* fix

* move flake8 to pre-commit

* update ut

* fix bug

* fix bug set paddlepaddle==2.5

* fix bug

* fix bug

* fix bug

* update test

* remove lscpu
2024-05-22 13:02:24 +08:00
Miaomiao Zhao 8b71785141
table rec code (#11999)
* table rec code

* 'fixtableinit'

* copyright 2024

* table rec pre-commit

* table rec slanet_lcnetv2 doc

* table rec slanet_lcnetv2 doc

* hwattention fix

* tablelabelencode add length item
2024-05-16 15:32:24 +08:00
topduke 38c0c9ee77
openocr compti code (#12033)
* openocr compti code

* update config and repsvtr

* svtrv2 doc
2024-05-15 14:40:26 +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
wanghuancoder 2b3b3554c0
use tensor.shape bug not paddle.shape(tensor) (#11919)
* use tensor.shape bug not paddle.shape(tensor)

* refine

* refine
2024-04-17 10:54:59 +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
Sijun He 21da7f4c00
Update VQA to use the updated LayoutLM syntax from PaddleNLP (#9791)
* Update vqa_layoutlm.py 

Update vqa to use the updated LayoutLM syntax from PaddleNLP

* Update vqa_layoutlm.py
2023-08-18 11:51:54 +08:00
xiaoting 26519a6d17
update PPLCNetV3 name (#9802) 2023-04-23 16:13:01 +08:00
huangjun12 ca8c8200ba
add PP-OCRv4 det code (#9766)
* add ppocrv4 det student and teacher model

* update head and config, refine details

* refine config and head details

* refine config and head details

* refine details

* refine details

* remove application

* refine fpn

* fix bug

* update code

* fix bug

* align lcnet to rec

* align hgnet to rec

* refine make shrink

* remove theseus layer
2023-04-21 18:10:26 +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
topduke 43abe2fa4b
V4Rec code pr (#9725)
* 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
2023-04-19 16:04:23 +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
topduke 8a45b5e08c
Fix piecewise boundaries and droppath dtype (#8988)
* fix piecewise boundaries and droppath dtype

* fix tipc piecewise boundaries and droppath dtype
2023-02-07 13:57:24 +08:00
dorren ea557c50ee update config 2022-10-17 19:58:35 +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
WenmuZhou 06194524ca add re predict 2022-09-20 22:13:27 +08:00
littletomatodonkey 3c1f5df8e4 fix name 2022-08-24 05:55:06 +00:00
littletomatodonkey dd2f7de431 fix name 2022-08-24 05:53:42 +00: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
WenmuZhou 22c13af65b Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-16 03:35:46 +00:00
smilelite a8ba8963e0 merge cpnflict 0815 2022-08-15 23:03:21 +08: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
smilelite 17b1312e7c fixed conflict vl 0811 2022-08-11 21:23:34 +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 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
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
smilelite b781838015 fix conflicts 2022-07-27 23:02:24 +08:00
smilelite 7c5b47069e modified config and resnet31 2022-07-14 23:11:20 +08:00
smilelite bc1c19c5d2 merge upstream 2022-07-10 12:15:27 +08:00
smilelite c11ec3ce5b merge upstream 2022-07-10 10:21:18 +08:00
smilelite 7e81a9e62d modified annotation 2022-07-10 09:45:52 +08:00
littletomatodonkey 7a99588dd8
add more dataset yamls and fix re exceptions (#6791)
* add more dataset yamls and fix re exceptions
2022-07-06 13:58:46 +08:00
WenmuZhou adda5ddce9 fix bug 2022-07-05 02:51:07 +00:00
WenmuZhou d1b31bf85c add ref 2022-07-04 10:22:25 +00:00
WenmuZhou 929ee4669f Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into tablemaster 2022-07-04 09:21:43 +00:00
zhoujun 7c81281434
Merge pull request #6763 from WenmuZhou/xlm
[VQA] Add support for dygraph2static  for the ser model of the LayoutLM series in VQA
2022-07-02 08:09:26 +08:00