Sam.An
98e88371ad
Fix opening next image error ( #835 )
...
* Fix draw annotations error
* Fix opening next image
2021-12-28 09:10:38 -08:00
Sam.An
5c38b6bcdd
Fix draw annotations error ( #833 )
2021-12-27 19:05:21 -08:00
HLiang
39ecb789a7
correct initial img_count ( #817 )
...
fixes issue https://github.com/tzutalin/labelImg/issues/816
2021-11-19 21:43:57 -08:00
Naelson Douglas C. Oliveira
e9dbbd80bc
removed a default mutable argument pitfall ( #809 )
2021-10-31 08:21:18 -07:00
Keito Tobichi
250de4bef8
Add Locale: Japanese ( #756 )
...
* [wip]japanese translation file.
* [wip]fixed japanese translation.
* create README.jp.rst
* add locale ja-JP.
* Removed Locale Data.
2021-06-27 14:42:27 -07:00
tzutalin
ff681f7054
Remove unused code and add short cut link
2021-05-11 09:39:28 -07:00
WEN Hao
91c23d0a9d
Use webbrowser instead of get_available_screencast_viewer ( #745 )
...
* improve opening tutorial
* improve show_tutorial_dialog
* improve show_tutorial_dialog
* remove not implemented
* remove unncessary package QtWebEngineWidgets
* remove commented import of QtWebEngineWidgets
2021-05-11 09:20:54 -07:00
Denis
4bf5c4528c
Fix deletion of image caused selection of the first image ( #742 )
...
Also removed the call to self.import_dir_images method that reloaded all
of the images in directory.
2021-04-28 07:22:14 -07:00
Denis
6b5c3c634b
Implement image counter. ( #734 )
...
* Introduced two new attributes of MainWindow:
cur_img_idx - Index of current image in m_img_list.
img_count - Length of m_img_list.
* Implement counter_str method to get string representation of counter.
* Appended counter to window title.
* Based image switching logic on counter instead of local variables.
* Removed useless condition.
current_index = self.m_img_list.index(ustr(item.text()))
if current_index < len(self.m_img_list):
list.index will raise ValueError if item doesn't exist.
2021-04-26 22:18:56 -07:00
tzutalin
ec23bb42ce
Update unit test to fix error and fix icon issue
2021-04-10 08:34:55 -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
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
LiXiaolin
eb4857f834
Translate texts on menu bar ( #695 )
2021-01-09 09:30:04 -08: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
tzutalin
a86093ca60
Updated README
2020-11-14 22:51:44 -08:00
tzutalin
e13d154ad8
Fixed Autosave did not work as it does not use a proper file path separator
2020-11-14 09:05:33 -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
tzutalin
949e46cec4
change delete image hotkey
2020-09-26 11:15:30 -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
08db03a36d
rename functions
2020-09-12 10:59:57 -07:00
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