25 Commits

Author SHA1 Message Date
Paul Anton Letnes
ca3a3accdd
remove unused import statements (#845)
To reduce clutter, all unused imports were removed. On the affected
files, imports were also reordered to be PEP8 sorted.
2022-02-17 11:18:21 -08: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
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
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
tzutalin
f387c5932b use enum for label file formats 2020-08-02 00:14:18 -07:00
Wang Yinghao
2783071c85 YOLO Write 2018-03-01 21:38:22 -06:00
tzutalin
6cf04adfa5 Assign different labels with different colors 2017-10-23 16:27:40 +08:00
tzutalin
14edc88a64 Fix runtime errors for py3qt5 2017-07-25 16:43:04 +08:00
tzutalin
7f288a0817 fix crash for py3 2017-07-07 13:48:25 +08:00
tzutalin
27cf04aecc Fix issue #96 2017-07-07 11:09:00 +08:00
tzutalin
b7a614d264 Update version to v1.3.3 2017-05-31 09:34:51 +08:00
Conlon Novak
f5106a2a6a Changed .lif to .xml, allowing annotation I/O
LabelImg cannot read .lif files, but saving the annotations as .xml allows the annotations to be read when switching between images or reopening previously annotated images.
2017-05-30 15:36:43 -04:00
ChrisDal
04a5e8e7e4 Add difficult in writer 2017-04-25 10:24:06 +02:00
Thibaut Mattio
3abd685a8d Implement verified feature
When pressing space, the user can flag the image as verified, a green background will appear.
This is used when creating a dataset automatically, the user can then through all the pictures and flag them instead of annotate them.
2017-03-08 11:01:36 +08:00
Thibaut Mattio
77d5fae05f Save an annotation file when there is no ROI 2017-02-28 13:18:26 +08:00
Thibaut Mattio
c5c2a34a39 Apply PEP recommendation on formatting
Running pylint to make the code complient with PEP recommendations on lintage.
2017-02-28 11:50:15 +08:00
Ryan Flynn
2beed27cf2 add support for QT5, fallback to QT4 2017-01-02 21:55:30 -05:00
Ryan Flynn
e7eddf02ab py3 removes sys.maxint, float(inf) works in py2/py3 2016-12-29 21:25:23 -05:00
tzutalin
3bbf5e23e5 remove numpy and jsos dependencies, and download pytqt for windows 2016-12-07 14:39:45 +08:00
tzutalin
4a3a47a7c7 rm opencv module 2016-09-06 17:24:47 +08:00
tzutalin
ed787d4f3a Add a function which can load xml file 2015-12-09 21:29:26 +08:00
TzuTa Lin
16de4a1a40 Replace Image with cv2 and upload freeze_build for pyinstaller 2015-11-24 13:08:43 +08:00
tzutalin
66645103e5 Merge features: 1.autoSaving while nexting 2.Add predefined classes 3. avoid using 0-valued coordinates, from https://github.com/tzutalin/labelImg/pull/1 2015-11-20 23:43:03 +08:00
TzuTa Lin
8d81647864 mv some of python files to libs 2015-09-17 15:22:58 +08:00