Commit Graph

6398 Commits (42a3c77309eee10499a7d3ddba32401845593e24)
 

Author SHA1 Message Date
enximi 86a447de9f
fix wrong function name (#12826)
AttributeError: module 'ntpath' has no attribute 'is_dir'. Did you mean: 'isdir'?
2024-06-09 10:23:24 +08:00
enximi 98544f04fc
[Doc] fix wrong link (#12824)
Paddle2ONNX Model Conversion and Prediction It is now linked to an English file, corrected to a Chinese version.
2024-06-08 11:25:02 +08:00
SWHL 862b4d46ed
docs(README): Add Discord shields (#12755) 2024-06-06 13:56:41 +08:00
xiaoting 1ca0c2231a
add promotion document (#12731) 2024-06-05 14:29:37 +08:00
SWHL bf1c33fc6c
docs(README): Add note about issue and Discussions on README (#12703)
* docs(README): Add note about issues and discussions

* chore(ISSUE_TEMPLATE): Remove the newfeature template
2024-06-05 11:36:44 +08:00
wencan 08bd1dd754
fix requirements.txt (#12605)
* fix requirements.txt

* Fix the code style in the requirements.txt file.

* remove requests from .github/workflows/tests.yaml because requests has already been added to requirements.txt.
2024-06-05 11:20:15 +08:00
Wang Xin b3954d38ba
fix wrong output when --det=False (#12589)
* fix wrong output when --det=False

* using pprint to format the output

* using pprint to format the output
2024-06-05 09:55:50 +08:00
Zhihao Liu 6954da712e
Update README.md (#12583)
* Update README.md

* Update README.md

Co-authored-by: Wang Xin <xinwang614@gmail.com>

---------

Co-authored-by: Wang Xin <xinwang614@gmail.com>
2024-06-03 10:18:16 +08:00
Wang Xin 9a0bbe44ab
update documentation about the installation (#12565)
* update documentation about the installation

* Apply suggestions from code review

Co-authored-by: jzhang533 <jzhang533@gmail.com>

---------

Co-authored-by: jzhang533 <jzhang533@gmail.com>
2024-05-31 16:25:10 +08:00
Wang Xin 56fc05e604
fix layout recovery error: list index out of range (#12541) 2024-05-31 11:23:02 +08:00
Wang Xin 49a388db0a
add test for cls_postprocess (#12534) 2024-05-31 11:22:13 +08:00
Alex Pasquali a764c560ba
Save recognition inference logs to file (#12542)
* Save recognition inference logs to file

* Formatted code with black
2024-05-31 09:36:34 +08:00
Zhihao Liu 3286d297e8
Update FAQ.md (#12528) 2024-05-30 10:16:10 +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
Alex Pasquali 6e7a1b871d
Save detection inference logs to file (#12042)
* Save detection inference logs to file

* Minor fix on save_log_path

* Formatted with black

* If logger is None: get_logger()
2024-05-29 11:19:47 +08:00
Wang Xin 92c59844f7
Update pyproject.toml (#12520) 2024-05-28 11:11:51 +08:00
Wang Xin ea29b423d5
fix and enable flake8 E721 (#12258) 2024-05-27 11:12:05 +08:00
Wang Xin 739400f151
add `slice` op demo for quickstart (#12439) 2024-05-25 23:26:28 +08:00
张春乔 c3648211ea
fix the error of `np.int` (#12249)
* Update seg_detector_representer.py

* Update quad_metric.py

* Update quad_metric.py
2024-05-25 14:08:17 +08:00
SWHL 230da309e8
chore(issue_template): Optimize issue template and add Dissucussion entry (#12171)
* chore(issue_template): Optimize issue template and add Dissucussion entry
* chore(issue_template): Add newline of config.yaml
2024-05-25 10:54:50 +08:00
aspaul20 965f569e81
added sliding window for large image inference (#12152)
added sliding window for large image inference
2024-05-24 16:16:37 +08:00
dyning 28f7a969da
Update README.md 2024-05-24 13:26:54 +08:00
dyning ad40f3fe4c
Update README.md 2024-05-24 13:26:11 +08:00
dyning b3c49b984c
Update README.md 2024-05-24 13:25:40 +08:00
jzhang533 a2ad2124c7
commit fix by running pre-commit run -a (#12165) 2024-05-24 12:12:42 +08:00
张春乔 3a66efc7bf
【OCR Issue No.12】Modify the setuptools configuration from SETUP.py into PYPROJECT.toml (#12013)
Modify the setuptools configuration from SETUP.py into PYPROJECT.toml
2024-05-24 11:45:15 +08:00
jzhang533 e73eb76271
update community section of README, and did a few tweaks (#12154)
* update community section of README, and did a few tweaks

* minor
2024-05-22 14:21:48 +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
Muhammad Asif 579d0c34d4
Added Bengali , gujrati and kazakh dictionary (#12151) 2024-05-22 10:12:38 +08:00
Wang Xin e2adcfec5e
fix typo (#12146) 2024-05-21 19:47:59 +08:00
Wang Xin f5defabb60
fix the issue of repeatedly downloading pretrained model (#12142)
* fix the issue of repeatedly downloading pretrained model

* add log info
2024-05-20 19:22:45 +08:00
Mattheliu 960243862f
Update ch_PP-OCRv4_det_cml.yml (#12140) 2024-05-20 10:40:03 +08:00
Sanjay Rijal 502e1675e4
Error with pyclipper inhomogeneous expanded array (#12108)
* pyclipper inhomogeneous expanded array solved

For some images, `np.array(offset.Execute(distance))` can result in inhomogeneous part of the detection box list, which cannot be casted into numpy array directly.

* corrected box reshape position

- box reshape was mistakenly done at line 145 which is now correctly done at line 92 of `db_postprocess.py`
- if box is empty then continue

* reverted mistakenly changed line 147

- reverted mistakenly changed `box.array(box)` to `np.array(box)`

* expanded array fix for `det_box_type=quad`

* polygons padding

For `--det_box_type = poly`, pad the detected polygon arrays if they have different shapes to ensure even shapes of polygon arrays

* fix codestyle

---------

Co-authored-by: Wang Xin <xinwang614@gmail.com>
2024-05-18 09:19:06 +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 3e5934de62
move StyleText to PFCCLab/StyleText (#12121) 2024-05-15 14:12:23 +08:00
Wang Xin a4b7d3ba4a
move PPOCRLabel to PFCCLab/PPOCRLabel (#12104) 2024-05-14 09:54:56 +08:00
tackhwa 1e22655d5e
fix wrong link for 通用OCR (#12100) 2024-05-11 20:37:51 +08:00
dyning 532387f55b
Update README.md 2024-05-11 11:16:57 +08:00
Wang Xin 2dd1a0ec30
fix readme codestyle (#12095) 2024-05-11 09:58:33 +08:00
dyning c39473646b
Update README.md 2024-05-10 08:50:14 +08:00
dyning 06eb887f85
Update README.md 2024-05-10 08:44:22 +08:00
dyning 3f6ee976a9
Update README.md (#12086)
* Update README.md

更新PaddleX相关内容

* Update README.md

* Update README.md
2024-05-09 19:33:18 +08:00
NOEXIST 58181962dc
layout recognition refinement onnx support (#12068)
* layout recognition refinement onnx support

* fix codestyle
2024-05-09 09:35:44 +08:00
Ichimaru Gin 95e3103f88
Burmese Language dict and corpus (#12020)
* updated bm_dict

* ppocr/utils/dict/README.md added

* minor fix

---------

Co-authored-by: Zhang Jun <jzhang533@gmail.com>
2024-04-30 15:15:14 +08:00
张春乔 b5eedf727e
【OCR Issue No.9】移除明确不适合放在ppocr依赖中的依赖项 (#11946)
* modify requestions

* Update requirements.txt

* Update requirements.txt

* try import pdfconvert

* try import lxml

* try import lxml

* try import premailer

* try import openpyxl

* Apply suggestions from code review
2024-04-26 16:54:49 +08:00
Wang Xin b32677cd3b
fix weird version info (#12003) 2024-04-25 22:20:06 +08:00
张春乔 a730065e7b
【OCR Issue No.9】以可选形式支持Visualdl (#11947)
* delete visual dl

* totally delete visual

* delete vdl file

* fix codestyle
2024-04-25 17:37:27 +08:00
S M f7117efd44
Fix the bug where Python scripts fail to execute PDF text recognition… (#11994)
* Fix the bug where Python scripts fail to execute PDF text recognition tasks, optimize the logic of judging PDF files, and add cases to the quickstart document for layout analysis.

* Add two examples of PDF layout analysis to the quickstart file of ppstructure.

* Add a return comment for the check_img function
2024-04-25 16:52:09 +08:00
xu 00f0d42d9b
docs: Update FAQ.md, delete repeated question (#11972)
* docs: Update FAQ.md, delete repeated question

* docs: 1.update the FAQ.md from the doc_ch, delete repeated question 2. update the FAQ_en.md from the doc_en, add questions and answers about "How to identify artistic fonts in signs or advertising images"

* docs: Update the FAQ.md from the doc_ch, delete repeated question

* docs: Update the FAQ.md from the doc_ch, delete repeated question
2024-04-22 10:01:49 +08:00