Commit Graph

349 Commits (release/2.7)

Author SHA1 Message Date
Nikunj Saini 4865410ebb
Update utility.py (#11836)
File "/usr/local/lib/python3.10/dist-packages/paddleocr/ppstructure/utility.py", line 230
    g            avg_char_width = (bbox_x_end - bbox_x_start) / len(rec_str)
IndentationError: expected an indented block after 'else' statement on line 229 
Unexpected character removed
2024-03-29 13:47:08 +08:00
jzhang533 0b91f4dd50
This is a combination of 59 commits from v2.7.0 to v2.7.1 in (#11831)
release/2.7.1 branch

Co-authored-by: ToddBear <43341135+ToddBear@users.noreply.github.com>
2024-03-29 10:39:03 +08:00
jzhang533 ddaa85ddaf
Prepare 2.7.3 release (#11826)
* fix: Correct misuse of `try_import` from `paddle.utils` (#11820)

This commit addresses the incorrect usage of the `try_import` function from `paddle.utils` in both `ppocr/utils/utility.py` and `ppstructure/pdf2word/pdf2word.py`.

* bump version to 2.7.3

---------

Co-authored-by: NeterOster <neteroster@gmail.com>
2024-03-28 11:43:15 +08:00
jzhang533 69832ab532
lazy import PyMuPDF (#11685) 2024-03-07 11:23:05 +08:00
santlchogva c27402bf1f
fix:layout recovery image:xxx.png,err msg: list index out of range (#11405) 2024-01-02 10:55:36 +08:00
xiaoting 1b1dc7e44f
Update README.md 2023-12-11 11:41:57 +08:00
andyj 79fc4c5bef
update whl (#10916) 2023-09-15 16:40:39 +08:00
Sagar J 42e3d9a954
Update how_to_do_kie_en.md (#10717)
fix: typo error
2023-09-05 15:36:07 +08:00
Sagar J 8bd350a3cf
Update README.md (#10706)
typo error
2023-08-23 16:19:01 +08:00
Sagar J fa696f80c5
Update README.md (#10705)
typo error: replaced single quotation mark with backticks.
2023-08-23 16:17:48 +08:00
Sagar J b162237e84
Update quickstart_en.md (#10702)
typo error
2023-08-23 14:39:33 +08:00
Sagar J be6696763b
Update how_to_do_kie_en.md (#10690)
typo error
2023-08-23 14:39:09 +08:00
UserUnknownFactor b17c2f3a56
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
2023-08-16 18:54:43 +08:00
livingbody 49d1a59572
upgrade pillow to 10.0.0 (#10405) 2023-07-17 14:42:30 +08:00
zhoujun d8c0dbdaae
Add custom detection and recognition model usage instructions in re (#8930)
* Add custom detection and recognition model usage instructions in re

* update

* Add custom detection and recognition model usage instructions in re
2023-01-31 19:25:48 +08:00
Dhruv Awasthi 2ee0a98c1e
Cherry-pick 3 commits from release/2.6 to dygraph (#8821)
* Fix typo and grammatical error (#8785)

* Fix broken link to install paddlepaddle (#8729)

The link provided for installing paddlepaddle doesn't work. Hence, this change updates the broken link to install paddlepaddle for CPU and GPU.

* Fix: broken link for whl package documentation. (#8719)

This proposed change fixes the broken link under the section `2.4 Parameter Description` in the last line that says:
Most of the parameters are consistent with the PaddleOCR whl package, see `whl package documentation`.
2023-01-11 20:37:50 +08:00
andyj 2d1f9414d7
fix det res dtype in table recognition (#8616)
* 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
2022-12-14 11:20:28 +08:00
user1018 f68813eb2a
optimize recovery (#8346)
* optimize recovery

* update
2022-11-17 16:18:05 +08:00
Bibo Hao 4ee91319af
Update dependency attrdict to attrdict3 (#7891)
* Update attrdict to attrdict3

* Update requirements.txt
2022-11-04 16:48:19 +08:00
Leif 2269ff151f Update readme 2022-10-25 18:20:00 +08:00
zhoujun 59b3eade31
Merge pull request #8066 from WenmuZhou/doc2
update PP-Structurev to PP-StructureV
2022-10-25 14:20:10 +08:00
zhoujun 210135cc94
Merge pull request #8073 from WenmuZhou/whl
fix benckmark error when benckmark=false
2022-10-24 23:24:43 +08:00
WenmuZhou 2325055268 update doc 2022-10-24 09:43:16 +00:00
WenmuZhou cad701d411 fix benckmark error when benckmark=false 2022-10-24 17:10:05 +08:00
littletomatodonkey b92501faf6
fix pic (#8067) 2022-10-24 15:43:01 +08:00
WenmuZhou 4241dd06e9 update PP-Structurev to PP-StructureV 2022-10-24 04:14:51 +00:00
Evezerest 3cf676f4cf
Merge pull request #8054 from Evezerest/dygraph
[CP] Update PDF2Word and PPOCRLabel
2022-10-23 00:00:34 +08:00
Leif 393a23acf7 Update pdf2word.py 2022-10-22 23:58:44 +08:00
WenmuZhou 2145d8c4ec add recovery requirements to whl 2022-10-20 17:03:47 +08:00
whjdark 0f70eaf285
pdf2word v0.2.2
pdf2word v0.2.2
2022-10-20 12:38:21 +08:00
zhoujun 533f276a9e
Merge pull request #7978 from WenmuZhou/tipc3
[TIPC] fix pact bug in slanet
2022-10-19 14:22:09 +08:00
WenmuZhou 4cf04cbee8 fix table recogition benckmark error 2022-10-19 04:02:01 +00:00
WenmuZhou 4078b0fee8 fix pact bug in slanet 2022-10-18 10:03:11 +00:00
an1018 1a9926a7fa add_pdf2docx_api 2022-10-17 10:38:12 +08:00
an1018 d58c70223e add_pdf2docx_api 2022-10-14 18:45:39 +08:00
an1018 8273983a97 add_pdf2docx_api 2022-10-12 21:32:31 +08:00
an1018 99698aed54 add_pdf2docx_api 2022-10-12 21:28:48 +08:00
littletomatodonkey 55bbc75815
add arxiv pps (#7893)
* support reconaug

* rename ppstructurev2 and add arxiv link

* fix link
2022-10-12 14:52:33 +08:00
WenmuZhou e8867631c2 relink kie link to inference 2022-10-11 09:52:39 +00:00
WenmuZhou d4a4c07c56 add ser to ppstructure system 2022-10-10 06:31:44 +00:00
WenmuZhou c647a6da28 add re to ppstructure system 2022-10-10 05:39:41 +00:00
littletomatodonkey 60559a7ec1
add ser+re hub serving (#7844)
* add ser+re hub serving

* fix
2022-10-09 13:28:12 +08:00
zhoujun e951fbb0af
Merge pull request #7714 from WenmuZhou/tipc_1
test=document_fix ,update table docs
2022-09-26 10:00:46 +08:00
WenmuZhou 6c6e8385c2 test=document_fix ,update table docs 2022-09-23 17:05:27 +08:00
WenmuZhou 344c6d2d14 Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into re1 2022-09-22 10:58:18 +08:00
WenmuZhou de36384a66 fix angle 0 image rotate error 2022-09-22 09:32:19 +08:00
user1018 03d881685a
update code_doc (#7667)
* update code_doc

* update code_doc
2022-09-21 19:53:00 +08:00
WenmuZhou cb5d81fa3c update doc 2022-09-21 17:56:29 +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