Commit Graph

113 Commits

Author SHA1 Message Date
tzutalin 0c09c7c5d1 Bump to 1.8.5 2021-04-11 22:36:08 -07:00
Denis 62585531ca Fix incorrect path handling (#731)
* Fix incorrect save dir path handling for ML format.

Save dir path was split by incorrect os.dependent separator '/'
which was the cause of labels being saved to parent folder.

* Implement path normalization for command arguments.

Renamed 'predefined_classes_file' parameter to 'class_file'.
2021-04-07 22:01:55 -07:00
Denis 0573a39ec3 Fix rounding issue that caused 1px box shift for YOLO format. (#730) 2021-04-06 16:38:48 -07:00
Cerno_b c35f09747a Pep 8 (#720)
* rename local variables in main file

* additional renaming of functions and variables

* Rename main file functions

* Rename functions and variables in canvas.py

* Rename functions and locals for remaining files

* Rename non-Qt derived class' members

* Rename members of Qt-derived classes

* Fix paint label issue
2021-03-14 16:56:14 -07:00
chenghsiung 5d6557f994 Adaptively adjust label size (#678)
* Adjust label font size based on image size

* Adjust the upper boundary of the painted label

* Set font size based on both image width & height
2021-01-01 11:54:27 -08:00
tzutalin e1c67fc0c3 Bump to 1.8.4 2020-11-14 23:17:25 -08:00
enicck 31463497c8 Adds create-ml format support (#651)
* adds createMl reader & writer class

* adds getFormatMeta function to support more than two save_format

* adds CreateML read & write support

* adds format CreateML icon

* fixes negative height/width

* removes type hints

* fixes coordinate calculation

* adds unit test

* removes typehint
2020-10-02 06:56:07 -07:00
EuihyunLee 058d7a7e80 Read via QImageReader (#650)
* Now read via QImageReader

* Remove comment-out unused lines
2020-09-26 11:03:04 -07:00
Chris Rapson (AT) 544cfb9e3c adjust position of popup labelDialog to make sure it is within edge of main window 2020-09-12 00:15:20 -07:00
Chris Rapson (AT) 5a7e3f8f4e allow panning by clicking and dragginng outside existing boxes 2020-09-12 00:15:20 -07:00
tzutalin f387c5932b use enum for label file formats 2020-08-02 00:14:18 -07:00
Laszlo Treszkai 196bd46828 Save used labeling format in settings 2020-08-01 23:44:36 -07:00
stephi 7cc5241664 strip string of detection values 2020-07-01 17:13:52 -07:00
tzutalin 500367c550 update strings and removed intersectingEdges 2020-05-18 08:52:42 -07:00
Adwait Bhope 9bebf84986 Change mouse event behaviour for point outside canvas 2020-05-18 08:43:05 -07:00
BIASUTTI Pierre 45078ac670 Added annotation width and height in toolbar while drawing. 2020-02-15 13:48:28 -08:00
tzutalin a1a32f6230 Update README.md and setup.py 2019-05-25 21:15:17 -07:00
tzutalin 5b9d2bf9b6 Update setup.py 2019-05-25 14:29:16 -07:00
tzutalin 8689a16f3d By default, use py3 qt5 to build 2019-05-25 14:14:49 -07:00
tzutalin ca28daddec Rename lib.py to utils.py and add test cases for natural sort 2019-01-26 23:16:21 -08:00
Joakim Eriksson c2aca6e1d3 added float parsing before int conversion to enable support of VOC files that specify coordinates in float 2019-01-05 00:33:54 -08:00
Lieven Govaerts 4bb6be6986 Ensure a vertex always stays within the boundaries of the canvas. 2019-01-03 22:48:13 -08:00
yangjiangjie a0fa187eff Update ustr.py 2019-01-03 22:06:57 -08:00
tzutalin d27e6a5dfa fix the crash when providing invalid locale in env 2018-12-28 10:07:59 -08:00
tzutalin 3f14cbf451 Update the version to v1.8.1 2018-12-02 21:21:00 -08:00
tzutalin 255afca1b3 Fix empty locale on windows platform 2018-12-02 21:10:15 -08:00
tzutalin eaac031404 Move icons to resource folder, fix the unicode issue, support zh-tw lang 2018-12-01 00:45:50 -08:00
tzutalin 699125aa5c workaroud for failure of loading setting 2018-11-18 09:51:24 -08:00
tzutalin 2df7b6e402 Fix issue serializing qstring in pscal_voc_io.py 2018-11-18 09:28:38 -08:00
tzutalin f563c164d0 Create a const for encoding and fix an issue in yolo format according to pr#387 2018-11-04 20:13:34 -08:00
tzutalin d14d3b06df Update v1.8.0 2018-10-21 21:39:14 -07:00
Antoine Broyelle 4e278bb511 feature: draw square bounding boxes 2018-10-19 23:32:18 -07:00
ap193uee c88eb28e7c Added offset to label's y-pos so that the label does not overflow the image (#324) 2018-07-09 19:48:57 -07:00
vdalv 4f84f68b96 Fix issue #287 and a typo 2018-06-23 01:14:30 -07:00
wenliwyan 5f9f17f9b4 Add item single click slot in labelDialog.py (#312)
* Add item single click slot in labelDialog.py

In the original code, double clicking a list item will set the text property and automatically validate afterwards, with the label dialog window disappearing.

In this revised version, double click behavior is unchanged, while single click is added. When single clicking a list item, it will only set text in the QLineEdit. Users can change the text by clicking other items before validating themselves by clicking yes.
2018-06-13 21:13:28 -07:00
tzutalin 8b0f76f6c0 Fix unicode string issues 2018-05-18 23:34:59 -07:00
vdalv e7a7b64f7e Add option to enable/disable label painting 2018-05-18 22:51:57 -07:00
Garry Lam a7fc85270f fix issue #267 (YOLO output becomes all zero) 2018-04-29 08:27:48 -07:00
tzutalin 9fd505c124 Update version to 1.6.1 2018-04-17 20:03:31 -07:00
Golovanov ca10b0dd2a add completer for label 2018-03-31 11:24:11 -07:00
Wang Yinghao 201a54d0f9 YOLO READ 2018-03-01 22:34:57 -06:00
Wang Yinghao 2783071c85 YOLO Write 2018-03-01 21:38:22 -06:00
Javier Garcia 82ace1acfc Fixed bug in shape.py 2018-02-15 13:35:46 +01:00
tzutalin deb8b844f9 Show label text at the top-left of the rect 2018-01-30 18:50:30 +08:00
tzutalin c1954b3244 Update version 2018-01-29 15:56:02 +08:00
Tomas Raila 0b20e5c929 Show cursor coordinates in status bar 2018-01-25 12:04:47 +02:00
tzutalin 5adaa669d2 Support showing version info 2017-10-27 10:28:47 +08:00
tzutalin a77184a176 Update version to 1.5.2 2017-10-24 11:49:46 +08:00
tzutalin 2e525f8ab2 Fix issue and disable choosing box color 2017-10-24 11:26:42 +08:00
tzutalin 6cf04adfa5 Assign different labels with different colors 2017-10-23 16:27:40 +08:00