Commit Graph

69 Commits (1e22655d5ebea796cc3aacc55e98aba698e589ee)

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
firmament2008 b5e5dba3be
Fix QPointF IndexError: list index out of range (#11393)
* Fix QPointF IndexError: list index out of range

当QPointF 获取异常时,self.center  赋予默认值

* 增加QPointF异常时的提醒信息
2023-12-27 19:47:04 +08:00
Empathy d3e362a3a0
1、PPOCRLabel现在支持从中文路径导入图片,原本导入含中文路径的图片会导致崩溃。 (#11236)
2、PPOCRLabel现在支持移动被其他框覆盖的锚点,原本无法移动被覆盖的锚点。
3、修复utility.py中误输入字符导致的语法错误。
4、修复setValue()应输入int,实际输入float导致的类型错误。
5、修复paddleocr中未import predict_system的错误。
6、修复canvas.py中部分输入参数类型错误
7、修复了LabelList不兼容搜狗输入法或win11输入法的问题。原本使用搜狗输入法修改标注数据时,仅输入一个字母就会失去焦点并提交数据变更,导致无法输入完整的汉字。现在将处理逻辑改为失去焦点时仍不提交数据变更,直到切换item或按下enter键才提交。
8、新增扩大选框的功能

1、PPOCRLabel now supports importing images from Chinese paths, originally importing images containing Chinese paths would cause a crash.
2、PPOCRLabel now supports moving anchor points that are covered by other boxes, originally it could not move the covered anchor points.
3、Fix the syntax error caused by mistakenly inputting characters in utility.py.
4、Repair the type error caused by inputting int but float in setValue().
5、Repair the error of not import predict_system in paddleocr.
6、Fix some input parameter type errors in canvas.py.
7、LabelList can't use Sogou Input Method or Win11 Input Method to input text.
8、Add function of expand box.
2023-12-13 10:16:39 +08:00
Evezerest 0f522b12c0
Fix PPOCRLabel bugs, release PPOCRLabel 2.1.3 (#8401)
* Revert "Modify the output bug of PaddleOCR==2.6.1 update. (#8391)"

This reverts commit c0ea753f17.

* Fix PPOCRLabel bugs, release PPOCRLabel 2.1.2

Fix PPOCRLabel bugs due to the upgrade of paddleocr, release PPOCRLabel 2.1.2

* Fix PPOCRLabel bugs, release PPOCRLabel 2.1.3

Fix PPOCRLabel bugs due to the upgrade of paddleocr, release PPOCRLabel 2.1.3

* Update PPOCRLabel's requirements

Update PPOCRLabel's requirements

* Update PPOCRLabel README

Update PPOCRLabel README

* Update PPOCRLabel

Update PPOCRLabel

Co-authored-by: d2623587501 <71634460+d2623587501@users.noreply.github.com>
2022-11-21 20:39:08 +08:00
d2623587501 c0ea753f17
Modify the output bug of PaddleOCR==2.6.1 update. (#8391) 2022-11-21 18:25:39 +08:00
whjdark 42395baffc
canvas.paintEvent() bug fix
https://github.com/PaddlePaddle/PaddleOCR/issues/7681 
https://github.com/PaddlePaddle/PaddleOCR/issues/7702 
self.prevPoint存储使用浮点型,p.drawLine只接受整型,触发上述异常。
2022-09-28 20:30:43 +08:00
whjdark 839357facf new table gt format 2022-09-07 13:27:19 +08:00
Leif 5635385c54 increase font sizes
increase font sizes
2022-08-25 16:59:16 +08:00
Leif 8a8fcac512 modify some sizes
modify some sizes
2022-08-01 20:30:39 +08:00
Evezerest d03b25b0e5
Update shape.py 2022-07-26 15:30:38 +08:00
whjdark 81f29c936f new commit 2022-07-21 15:38:03 +08:00
whjdark 8a98fb0c86 new commit 2022-07-20 18:44:57 +08:00
whjdark 946c3a08df new new commit 2022-07-14 12:24:18 +08:00
whjdark 4cbacc3b2c new commit 2022-07-08 14:44:38 +08:00
zhoujun 079cdf980c
update save model func (#6693)
* save latest metric

* save latest metric

* add boader judge

* add boader judge
2022-06-27 00:49:00 +08:00
Leif e41dfc6e40 Update PPOCRLabel
Update PPOCRLabel
2022-05-13 14:59:37 +08:00
Leif b657a3a684 change label filename
change label filename
2022-05-06 11:49:06 +08:00
Leif f1d0c8a2ff Auto stash before merge of "table" and "origin/new" 2022-05-05 22:37:11 +08:00
Leif 1e6af3bb88 merge from new
merge from new
2022-05-05 22:36:59 +08:00
whj_dark 8b228a1f9b new 2022-05-04 22:13:02 +08:00
Evezerest 191c9deeb0
Merge branch 'dygraph' into dygraph 2022-03-18 11:26:47 +08:00
Leif 3c6d551207 Support multipoint labeling
Support multipoint labeling
2022-03-18 11:24:01 +08:00
HinGwenWoong 74f44dd246 the height of key list set to a quarter of the windows height 2022-02-25 20:50:09 +08:00
HinGwenWoong 9f69e97569 Make shift point bigger when copy box(es) 2022-02-24 22:12:42 +08:00
HinGwenWoong 3cf0237f04 Select box wil select key in key list at the same time 2022-02-20 17:46:10 +08:00
HinGwenWoong 84a9ccf604 make import better 2022-02-20 16:00:19 +08:00
HinGwenWoong 0bd5e159a1 Different key show different color 2022-02-20 15:47:27 +08:00
HinGwenWoong 4f8b13757f save into file success after label a box and key 2022-02-20 14:50:40 +08:00
HinGwenWoong cb6629daed Key can add into key list after labeling a new one 2022-02-20 13:53:39 +08:00
HinGwenWoong 814e8a8773 Delete useless part in key dialog, translate tip 2022-02-20 12:41:41 +08:00
HinGwenWoong a85a009e13 pop up a key list dialog when finish a new shape 2022-02-20 11:56:11 +08:00
HinGwenWoong 3dca523120 [New feature]: label box can rotate by using short cut 'x' or 'c', but only support rotate one box at the same time 2022-01-22 15:50:05 +08:00
HinGwenWoong 07530794f6 Fixed: Click different tabs without leaving the menu. The old one will not close the editing mode 2022-01-22 12:50:34 +08:00
HinGwenWoong a519d4ddbd [ time left ] remove microseconds 2022-01-19 11:00:43 +08:00
HinGwenWoong c267107926 Add [ time left ] while predicting the image for user to know the situation 2022-01-19 10:44:14 +08:00
redearly123/PaddleOCR c6ec27641c Merge branch 'dygraph' of https://github.com/PaddlePaddle/PaddleOCR into PaddlePaddle-dygraph
add feature lock selected shapes
2021-12-30 22:01:56 +08:00
Leif 190bd76833 Fix a bug in PPOCRLabel
Fix a bug in PPOCRLabel
2021-12-28 11:20:28 +08:00
redearly123/PaddleOCR ee060d07ed add feature lockedShapes 2021-12-27 00:10:58 +08:00
redearly123/PaddleOCR d671e49dd2 add feature lockshapes 2021-12-22 23:07:04 +08:00
LuGu d69a087eb7 Modify the bug 2021-12-07 21:52:58 +08:00
Leif 246da08a4f Fix bugs on PPOCRLabel during whl package installation 2021-11-19 17:27:34 +08:00
LuGu 3dc1d309bb 修改路径bug,添加whl包配置文件 2021-11-06 22:18:11 +08:00
Leif ef383cf19b New functions of PPOCRLabel release
New functions: Open the dataset folder, image rotation, add shortcut key description, repair the direction shortcut key movement function under batch processing
2021-08-11 11:34:08 +08:00
Daniel Yang 411d764c11
Merge pull request #3388 from Wei-JL/dygraph
【SIG】增添打开当前正在标注的数据集文件夹
2021-08-09 21:09:09 +08:00
LuGu ac8ba5fc33 Update batch move 2021-07-28 21:12:00 +08:00
Alchemist_W ca6fabf433 在菜单edit和鼠标右键 增加图片左右旋转功能 且有标注框的情况下不可以旋转,优化代码 2021-07-24 10:23:29 +08:00
LuGu f68f7df702 Update move box 2021-07-22 14:49:31 +08:00
Alchemist_W 4df7ada91d 在菜单edit和鼠标右键 增加图片左右旋转功能 2021-07-22 13:11:18 +08:00
Alchemist_W 6baa8bfd36 Merge remote-tracking branch 'origin/dygraph' into dygraph
# Conflicts:
#	PPOCRLabel/libs/resources.py

改为大写
2021-07-21 16:33:10 +08:00
Alchemist_W f6d2bc9be5 Merge remote-tracking branch 'origin/dygraph' into dygraph
# Conflicts:
#	PPOCRLabel/libs/resources.py

改为大写
2021-07-21 16:07:29 +08:00