134 Commits

Author SHA1 Message Date
Crystal Silva Campos
12dadc67cd
Add ctrl+v hotkey to be able copy the bounding boxes from the previous image to the current (#627)
* Add previous bounding boxes code

* Create method to avoid repeated code

* Fix text in the action copyprevbounding

* Add description for different languages
2020-09-12 10:49:21 -07:00
Chris Rapson (AT)
39b0d68f09 Improve MessageBox when clicking Next/Prev without saving image 2020-09-12 00:15:20 -07:00
tzutalin
0e905160fe Changing format enables save button 2020-08-02 00:18:34 -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
Laszlo Treszkai
b21b48e640 Parse command-line arguments using argparse 2020-08-01 23:44:36 -07:00
tzutalin
60ae6067ea Update zh translation and format code a little bit 2020-07-01 18:18:19 -07:00
Kirill Kalashnikov
9fca0b5e92 added delete image button 2020-07-01 17:16:18 -07:00
Hakan Karaoguz
e51bfce9a7 Added combobox to the main view for displaying unique labels individually 2020-01-10 08:51:12 -08:00
Eetu Silvennoinen
731735f187 Update labelImg.py
Fixed a comment typo.
2019-10-28 18:23:14 -07:00
Eduard Tamsa
157a4173f3 Add Silent option for openDirDialog
Add Silent option for openDirDialog to facilitate opening a directory at start up
    if the filePath provided is a directory without opening the file selector UI.
2019-10-04 20:30:42 -07:00
tzutalin
5b9d2bf9b6 Update setup.py 2019-05-25 14:29:16 -07:00
xdzhou
551fc7e00d Fix bug: An index error after select a directory when open a new file. 2019-05-22 15:02:20 -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
Lieven Govaerts
054f63f6f9 Show the file list in natural sorted order ( f1->f8->f9->f10 instead of f1->f10->f8->f9 ).
* labelImg.py
  (natural_sort): New function, copied from S.O.:
  https://stackoverflow.com/questions/4836710/does-python-have-a-built-in-function-for-string-natural-sort?answertab=votes#tab-top
  (scanAllImages): Return the image file list in natural sorted order.
2019-01-26 22:21:14 -08:00
Lieven Govaerts
ba12d85798 Avoid crash on "Edit Label" when there's no bounding boxes left.
The scenario is:
1. Open an image
2. Delete all bounding boxes
3. Select "Edit Label".

* labelImg.py
  (editLabel): Avoid crash zhen there's no currently selected item.
2019-01-26 22:15:03 -08:00
Lieven Govaerts
4bb6be6986 Ensure a vertex always stays within the boundaries of the canvas. 2019-01-03 22:48:13 -08:00
Lieven Govaerts
40b30f1cee labelImg.py/loadLabels: correct shapes that are out of image bounds. 2018-12-28 09:28:14 -08:00
tzutalin
6db1dd500d FIx issue#403 2018-12-02 20:27:16 -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
Maxim Smirnov
13a700ad53 Fix program start when re-started without the second monitor.
When labelImg was closed on the second monitor, and later opened when it is disabled, it is impossible to see the app window.
2018-11-26 21:58:19 -08:00
Antoine Broyelle
4e278bb511 feature: draw square bounding boxes 2018-10-19 23:32:18 -07:00
vdalv
4f84f68b96 Fix issue #287 and a typo 2018-06-23 01:14:30 -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
vdalv
219e50dbfc Fix verify image issue 248 2018-05-18 22:51:32 -07:00
vdalv
508a4c8b37 Fix save dialog issue - #300 2018-05-18 22:51:00 -07:00
vdalv
fef4e6b057 Fix file save issue - #293 2018-05-18 22:50:45 -07:00
sebasrivera96
542b87fd0a Update saveLevels function to add an extension just when needed 2018-05-18 22:48:03 -07:00
Sebastian Rivera
96c723c139 Remove lines on saveLabels function to save correctly XML files 2018-05-18 22:48:03 -07:00
Sebastian Rivera
515a3f6606 Modify labelImg.py to solve an error when naming the .xml file
A line was commented out because there was an error. When a box was drawn
around an object and then saved, the file had a termination
".xml.xml" instead of just ".xml".
2018-05-18 22:48:03 -07:00
jeffrey
90bd8fdbd8 support saveDir argument 2018-04-15 05:42:14 +08:00
Haozhe Xie
bc71e12a9a Fix a bug that the application crashes when the browser opens. 2018-04-15 05:40:01 +08:00
蔡俊杰
9e8185077b fix missing command line arguments 2018-03-31 11:24:21 -07:00
darrenl
6c774267ec
Merge pull request #249 from cjermain/supported_extensions
Allowing all supported extensions (TIFF in Qt 4.8, along with PPM, PBM, and PGM)
2018-03-10 10:02:01 -08:00
Colin Jermain
8e892c4f25 Allowing all supported extensions to be read in the directory 2018-03-08 14:47:19 -05:00
Wang Yinghao
852c63d04d Change Label Text 2018-03-02 09:44:42 -06:00
Wang Yinghao
180d25a2d7 bugfix, toggle button 2018-03-01 23:05:57 -06: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
tzutalin
d43613d9c4 allow opening of directory on launch 2018-01-29 15:45:40 +08:00
Tomas Raila
0b20e5c929 Show cursor coordinates in status bar 2018-01-25 12:04:47 +02:00
Tomas Raila
eda381e437 Cast filepath to python string 2018-01-25 11:35:09 +02:00
tzutalin
3391ab632e Do not allow to hide file list 2017-12-25 11:12:15 +08:00
Denis Wernert
53016093d6 Fixes the call to changeSavedDirDialog 2017-12-20 09:29:24 +01:00
zhangjie
7be0a01af8 change color when label has changed 2017-11-29 21:20:14 +08:00
tzutalin
821ffae6b9 Assign specific bg colors to widget item by different labels 2017-11-06 17:31:33 +08:00
tzutalin
5adaa669d2 Support showing version info 2017-10-27 10:28:47 +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