Commit Graph

6088 Commits (ab8649013812e350b3294c68404187323c788be9)
 

Author SHA1 Message Date
Sagar J ab86490138
Update algorithm_kie_vi_layoutxlm_en.md (#10736)
fix: typo error and created `2. Environment` header section which was missing before.
2023-09-05 15:42:09 +08:00
Gmgge 3a6fe48afd
根据推理对三通道的图像需求,以及opencv中imread参数说明IMREAD_COLOR(If set, always convert image to the 3 channel BGR color image.),因此修改该读取参数,以解决后续通道不匹配问题。 (#10777) 2023-08-31 14:31:28 +08:00
xlg-go 63f5787bfa
ch_PP-OCRv4_rec_distill.yml, fix KeyError: 'NRTRLabelDecode' (#10761) 2023-08-31 14:25:43 +08:00
xlg-go e3cd343341
rec_r45_abinet.yml add max_length and image_size (#10744)
* rec_r45_abinet.yml add max_length and image_shape

* image_shape to image_size
2023-08-31 14:23: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
wanghuancoder 1046c239cc
fix numpy speed (#10773) 2023-08-29 15:33:55 +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
WilliamQf 2bd552c801
实现功能:当--savefile为true时,在--output下以当前图片名称后接“.txt”为文件名保存ocr推理结果,解决了issues: (#10628)
* 实现功能:当--savefile为true时,在--output下以当前图片名称后接“.txt”为文件名保存ocr推理结果,解决了issues:
https://github.com/PaddlePaddle/PaddleOCR/issues/10533

* 删除了乱码字符

* 1.删除了乱码字符

* 1.删除了乱码字符
2023-08-21 10:25: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
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
Dec20B 8f010ecf1e
修改数据增强导致的DSR报错 (#10662)
* 修改数据增强导致的DSR报错

* 错误修改回滚
2023-08-17 15:32:56 +08:00
moehuster 549376ead5
[Cherry-pick] #10441 #10512 (#10593)
* fix memory leak (#10441)

* fix memory leak

* update: Using smart pointers instead of raw pointers

* update: Usinig intuitive initialization of duration (#10512)
2023-08-14 10:14:43 +08:00
andyj 56160986da
[bug fix]rm invalid params (#10605)
* 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

* fix doc & test=document_fix

* update doc

* update doc, test=document_fix

* fix pdf2word in whl, test=document_fix

* fix none res in recovery

* update version

* format code

* rm invalid params
2023-08-11 14:12:26 +08:00
RuohengMa 2a4d551547
Fix seed passing issue of build_dataloader (#10614) 2023-08-11 14:11:13 +08:00
andyj 681467d4ea
[bug fix] fix none res in recovery (#10603)
* 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

* fix doc & test=document_fix

* update doc

* update doc, test=document_fix

* fix pdf2word in whl, test=document_fix

* fix none res in recovery

* update version

* format code
2023-08-10 16:55:26 +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
xiaoting bf6ff0b6a8
update readme_en,fix_documents (#10592) 2023-08-09 22:36:43 +08:00
dyning 97de4d01ed
Update README_ch.md 2023-08-09 21:25:50 +08:00
Ligoml 84b97d63bb
Update README_ch.md,更新「开源共建」文档 (#10561)
Co-authored-by: shiyutang <34859558+shiyutang@users.noreply.github.com>
2023-08-09 20:35:26 +08:00
andyj 254786752a
[BUG FIX] Fix pdf2word in whl (#10584)
* 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

* fix doc & test=document_fix

* update doc

* update doc, test=document_fix

* fix pdf2word in whl, test=document_fix
2023-08-09 19:15:49 +08:00
andyj 1c9e296def
[Doc] update doc (#10564)
* 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

* fix doc & test=document_fix

* update doc

* update doc, test=document_fix
2023-08-07 14:21:45 +08:00
dyning b05ec676db
Update README_ch.md 2023-08-06 16:29:29 +08:00
dyning c2d3bc0a5e
Update README_ch.md 2023-08-06 16:26:50 +08:00
dyning b7786ff768
Update README_ch.md 2023-08-06 16:22:40 +08:00
dyning 10be79b394
Update README_ch.md 2023-08-06 16:20:09 +08:00
dyning 554b90cb1c
Update README_ch.md 2023-08-06 16:18:25 +08:00
dyning aa477582bb
Update README_ch.md 2023-08-06 16:14:37 +08:00
dyning ff0dc90dc1
Update README_ch.md 2023-08-06 16:12:21 +08:00
dyning 7bfedf5643
joinus_paddlex
joinus_paddlex
2023-08-06 15:36:01 +08:00
dyning d3c28c2954
Delete joinus_paddlex.jpg 2023-08-06 15:35:36 +08:00
dyning e338eb23e1
joinus_paddlex
joinus_paddlex
2023-08-06 15:34:45 +08:00
xiaoting 2f70e4b7f6
upload paddleocr whl to pypi (#10524)
* upload paddleocr whl to pypi

* Update README_ch.md

* Update README_ch.md

* Update quickstart.md

* Update README_ch.md

* Update README_ch.md
2023-08-06 11:17:13 +08:00
xiaoting 1bc6db5267
Update PP-OCRv4_introduction.md 2023-08-04 11:06:46 +08:00
wuyefeilin 233658adb1
add dataset alias for PaddleX (#10528) 2023-08-02 10:59:32 +08:00
wanghuancoder 51aa02f97d
paddle support stride, fix dy2st check (#10498) 2023-08-01 19:05:10 +08:00
zhangyikun02 9e911d4ab8
fix bug for table_master in tipc when running 'lite_train_lite_infer' mode (#10514) 2023-08-01 19:04:51 +08:00
zhoujun c82072e8f5
Fix bug in run PP-OCRv3 rec with dygraph branch code (#10489)
* 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
2023-08-01 19:00:11 +08:00
Lin Manhui fec014e92d
Suppress scalar warnings (#10509) 2023-07-31 15:13:11 +08:00
Yuchen-Su bb616dbfba
add config of 'ch_PP-OCRv4_det_cml' (#10483)
* config of ch_PP-OCRv4_det_cml

* Update ch_PP-OCRv4_det_cml .yml

* add config of ch_PP-OCRv4_det_cml

* Delete ch_PP-OCRv4_det_cml .yml

* Add files via upload
2023-07-26 18:57:07 +08:00
duanyanhui 6acae9a64f
update npu python version of tipc (#10460) 2023-07-25 10:37:41 +08:00
UserUnknownFactor 4e0cd2481e
OCR preprocessing parameters documentation (#10447) 2023-07-21 16:23:03 +08:00
Bryan YW 1556922669
Update paddleocr.py (#10066)
cherry-pick package compatibility PR
2023-07-18 11:36:49 +08:00
livingbody 49d1a59572
upgrade pillow to 10.0.0 (#10405) 2023-07-17 14:42:30 +08:00
Lin Manhui cd5d0134c7
Update dependencies (#10344) 2023-07-11 15:15:25 +08:00
Tingquan Gao 93d198dbbc
benchmark: diable d2s (#10338) 2023-07-10 18:19:53 +08:00
xiaoting b0e3c3f2c7
clear fluid (#10333) 2023-07-10 14:12:40 +08:00
Tingquan Gao 722e9dc0dc
benchmark: unset python version (#10300) 2023-07-05 17:30:45 +08:00
duanyanhui 4420a5f65f
[npu-tipc] update npu tipc scripts (#10102)
* update npu tipc scripts

* update
2023-07-05 15:41:40 +08:00
xiaoting e44c2af762
Update PP-OCRv4_introduction.md 2023-06-27 16:04:08 +08:00