Commit Graph

49 Commits (24f06d1a1b018d90c3c16bf49e966f988f55d98d)

Author SHA1 Message Date
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
xiaoting dc001ac44a
Update utility.py 2023-11-30 12:32:17 +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
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
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
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
livingbody 49d1a59572
upgrade pillow to 10.0.0 (#10405) 2023-07-17 14:42:30 +08:00
an1018 99698aed54 add_pdf2docx_api 2022-10-12 21:28:48 +08:00
WenmuZhou c647a6da28 add re to ppstructure system 2022-10-10 05:39:41 +00:00
WenmuZhou 344c6d2d14 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into re1 2022-09-22 10:58:18 +08:00
user1018 03d881685a
update code_doc (#7667)
* update code_doc

* update code_doc
2022-09-21 19:53:00 +08:00
WenmuZhou 06194524ca add re predict 2022-09-20 22:13:27 +08:00
zhoujun 2cfb23cf05
fix table cpp infer bug (#7550)
* fix table cpp infer bug

* change default tale dict to ch

* update doc

* update vis
2022-09-10 22:45:35 +08:00
an1018 27215c6581 update doc 2022-08-22 18:07:14 +08:00
WenmuZhou 242f0adbcd update inference_en.md 2022-08-22 06:58:09 +00:00
an1018 357ab78ff6 update doc 2022-08-22 11:48:18 +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 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
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 73c77ff79d add image_orientation and update quickstart 2022-08-11 10:56:19 +00:00
WenmuZhou 73ca6c2e7f add PP-Structurev2 to hubserving 2022-08-10 14:15:52 +00:00
WenmuZhou 70145c3cdb Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into table_pr 2022-08-10 11:01:21 +00:00
WenmuZhou 1e27820f59 add merge flag 2022-08-10 10:52:34 +00:00
WenmuZhou 38b3ca47a9 avoid cnflic 2022-08-10 07:07:32 +00:00
an1018 4f3eef69f0 update layout 2022-08-10 13:53:43 +08:00
an1018 c94025f266 update layout 2022-08-10 12:54:25 +08:00
WenmuZhou ddaa2c2552 add SLANet 2022-08-08 06:50:27 +00:00
WenmuZhou 929ee4669f Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into tablemaster 2022-07-04 09:21:43 +00:00
WenmuZhou 807dd10636 pre-commit 2022-07-01 09:59:11 +00:00
WenmuZhou 8d46a1fbbe add dygraph2static support of layoutlm series SER model 2022-07-01 08:52:08 +00:00
WenmuZhou a0c33908d5 add TableMaster 2022-06-16 13:24:38 +00:00
an1018 7e5e95d624 add recovery 2022-05-07 16:55:20 +08:00
WenmuZhou bbff7c55c1 The whl package supports separate table recognition and layout analysis 2022-04-22 13:24:45 +08:00
WenmuZhou 3bf40c7628 rm rec_char_type 2022-04-08 08:00:13 +00:00
WenmuZhou 4c5d266d84 add PP-Structure to hub serving 2022-03-30 14:15:12 +00:00
WenmuZhou 340a8c24d0 add help 2022-03-11 00:09:27 +00:00
WenmuZhou e16ae81e15 add vqa_ser to ppstructure predict pipeline 2021-12-13 07:38:05 +00:00
WenmuZhou f2afa214e9 opt_doc and make layout_path_model Configurable 2021-08-03 14:47:55 +08:00
WenmuZhou 4030fd1e82 merge paddlestructure whl to paddleocr whl 2021-08-02 15:28:07 +08:00
WenmuZhou 17af94188d save figure result to txt 2021-08-01 16:48:11 +08:00
WenmuZhou aeefefde91 rename test1 2 ppstructure 2021-07-27 19:18:55 +08:00
zhoujun 3302a0b1ad
Revert "add table eval and predict script" (#3062) 2021-06-09 19:06:44 +08:00
WenmuZhou d27360a9b8 move draw_result to utilitu.py 2021-06-08 14:16:32 +08:00
WenmuZhou bc0d766425 init commit for paddlestructure 2021-06-05 22:00:17 +08:00