Wang Xin
db0ad17cf6
fix slice op parameters not being passed correctly ( #13319 )
2024-07-09 17:13:41 +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
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
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
marswen
0382bfb02d
Optimize prediction on long image and deduplicate similar boxes with multiple lables ( #11366 )
...
* Handle conflict where a box is simultaneously recognized as multiple labels
* Split large height image recursively and process each with overlap to enhance performance
* Fix error when dt_box result is empty
* Add split operation on horizon side
* Slide on horizon may suffer line completeness, so that add more strict condition.
* Optimize recognition of overlap boxes.
2023-12-21 10:32:42 +08:00
xiaoting
ff947d8960
fix onnx for dynamic shape ( #8812 )
2023-01-10 10:48:42 +08:00
LDOUBLEV
3558d57681
fix ci
2022-10-09 14:15:47 +08:00
LDOUBLEV
119196f11d
add det_box_type params
2022-10-09 11:28:32 +08:00
LDOUBLEV
9919cb71d1
delete debug
2022-10-09 10:10:05 +08:00
LDOUBLEV
81e4c3d821
add polygon params
2022-10-09 09:58:52 +08:00
andyjpaddle
6dd8da089f
format code
2022-09-29 07:51:13 +00:00
andyjpaddle
e61f40ef41
support infer pdf file
2022-09-29 07:31:45 +00:00
huangjun12
b5268dc3a0
add centripetal text model
2022-09-15 11:08:16 +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
wangjingyeye
04e7104194
add db++
2022-06-28 11:45:21 +00:00
LDOUBLEV
715fc2377e
fix
2022-06-22 12:29:06 +08:00
LDOUBLEV
32c65b0dfd
opt points order
2022-06-22 12:26:12 +08:00
LDOUBLEV
89567ae300
fix
2022-06-21 15:21:58 +08:00
WenmuZhou
d8b33ba187
add pse curved text detection doc
2022-04-26 22:53:40 +08:00
MissPenguin
3d69295790
Merge pull request #5805 from MissPenguin/dygraph
...
fix order_points_clockwise
2022-03-28 17:23:37 +08:00
MissPenguin
fabfaaba6a
fix order_points_clockwise
2022-03-28 08:31:01 +00:00
WenmuZhou
1a2c7b2877
add FECNet inference
2022-03-11 09:12:35 +00:00
littletomatodonkey
83c09d5306
fix import order ( #5628 )
2022-03-04 16:13:54 +08:00
huangshenghui
aff9f107e7
update paddle2onnx readme and fix a bug for onnx
2021-12-28 17:11:35 +08:00
tink2123
3f5ffc3235
add paddle2onnx doc
2021-11-08 16:40:53 +08:00
WenmuZhou
af34d7852e
merge dygraph
2021-09-07 10:30:14 +08:00
Double_V
b38a828b32
Merge pull request #3815 from LDOUBLEV/fix_ci_
...
add comparion script
2021-08-31 20:58:01 +08:00
WenmuZhou
835e717832
merge dygraph
2021-08-31 19:13:15 +08:00
LDOUBLEV
6b8d6cc3b7
fix log
2021-08-26 02:22:32 +00:00
LDOUBLEV
71ed68c9a8
add comparion script
2021-08-25 13:38:20 +00:00
LDOUBLEV
49c4a3a7ed
gpu_id is None when args.use_gpu as False
2021-08-17 02:46:18 +00:00
LDOUBLEV
d83b1de17e
mv get_gpu_id func to utility
2021-08-17 02:43:15 +00:00
LDOUBLEV
96a3f90ced
add gpu check
2021-08-17 02:29:41 +00:00
WenmuZhou
915d06324d
merge dygraph
2021-08-09 11:11:29 +08:00
WenmuZhou
026f96b657
add export model of pse
2021-07-29 19:33:47 +08:00
WenmuZhou
a6a44ea124
add export model of pse
2021-07-29 19:31:30 +08:00
LDOUBLEV
09e7211082
fix bugs and adjust warmup times from 10 to 2 to speed up
2021-07-20 06:47:18 +00:00
LDOUBLEV
9d5d552b79
delete save_log_path and set logger
2021-07-14 06:18:29 +00:00
littletomatodonkey
51193f8820
fix bug of inference
2021-07-06 14:03:03 +08:00
LDOUBLEV
902ee2c483
fix comment and delete shrink memory
2021-07-05 06:04:41 +00:00
LDOUBLEV
4042247c97
fix ci and output
2021-07-05 03:51:14 +00:00
Double_V
cdd98d085f
Update predict_det.py
2021-06-29 10:01:24 +08:00
Double_V
e4d49819e2
Merge branch 'dygraph' into autolog
2021-06-28 20:34:37 +08:00
LDOUBLEV
729ff65f68
Merge branch 'autolog' of https://github.com/LDOUBLEV/PaddleOCR into autolog
2021-06-28 09:11:06 +00:00
LDOUBLEV
b37c597d17
fix subprocess error
2021-06-28 09:10:10 +00:00
Double_V
465ef3bffd
Merge branch 'dygraph' into bm_dyg
2021-06-28 11:05:24 +08:00
xiaoting
bc99998693
Merge pull request #3185 from LDOUBLEV/fix_vis
...
save visualized image
2021-06-25 10:13:12 +08:00
LDOUBLEV
42853ff0de
save visualized image
2021-06-24 12:00:58 +00:00
Double_V
f8441cffa4
Update predict_det.py
2021-06-24 17:48:58 +08:00
Double_V
4c52e3857d
Update predict_det.py
2021-06-24 17:48:36 +08:00