414 Commits

Author SHA1 Message Date
HLiang
39ecb789a7
correct initial img_count (#817)
fixes issue https://github.com/tzutalin/labelImg/issues/816
2021-11-19 21:43:57 -08:00
Thinh Phan
d4030a71af
Update README.rst (#813)
Add "Annotation visualization"
2021-11-18 11:53:18 -08:00
Thinh Phan
aa529c3d38
Update requirements-linux-python3.txt (#812)
Update version of pyqt5
2021-11-18 09:04:44 -08:00
Naelson Douglas C. Oliveira
e9dbbd80bc
removed a default mutable argument pitfall (#809) 2021-10-31 08:21:18 -07:00
tzutalin
1ab8241d0e bump version to 1.8.6 2021-10-11 13:15:19 -07:00
Tiger Nie
3f53dce960
display bbox width and height while resizing, moving and hovering over (#798)
shape.
2021-10-11 13:04:40 -07:00
tzutalin
7457d58249 update instruction to install with pipenv 2021-10-11 13:04:03 -07:00
Enzo Di Tizio
cc8fd5a703
Changing installation methods order (#796)
Just to put the easiest one first.
2021-10-03 11:25:56 -07:00
ngc92
58406b578a
adds a utility function to hide a QT5/QT4 discrepancy (#765)
Co-authored-by: erik <ersre>
2021-07-25 09:09:01 -07:00
Keito Tobichi
c5971bffab
Japanese Translation Fix. (#760)
* fix.

* small fix.

* translation fix.

* shortcut fix.
2021-07-17 20:45:26 -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
darrenl
d3e502439c
Update no-response.yml 2021-06-06 07:50:01 -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
tzutalin
c4e8cd8390 Add .github/no-response.yml 2021-05-01 08:14: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
0c09c7c5d1 Bump to 1.8.5 2021-04-11 22:36:08 -07:00
tzutalin
bf1da53b21 Update zh readme 2021-04-11 22:17:05 -07:00
tzutalin
61d19bd563 add zh readme 2021-04-11 22:13:07 -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
Denis
0573a39ec3
Fix rounding issue that caused 1px box shift for YOLO format. (#730) 2021-04-06 16:38:48 -07:00
dependabot[bot]
3425fefd8d
Bump lxml from 4.6.2 to 4.6.3 in /requirements (#728)
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.2...lxml-4.6.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 07:51:40 -07:00
Thijs van den Berg
34ed6a3a2a
Change encoding. Fix for #676 (#722)
First read the file in binary mode. Then, convert to utf-8. Fix for https://github.com/tzutalin/labelImg/issues/676
2021-04-01 07:50:00 -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
Christian Clauss
ef05452f7c
Travis CI: Trusty, Python 3.5, and sudo on Travis are all end of life (#719)
* Travis CI: Trusty, Python 3.5, and sudo on Travis are all end of life

* Matrix —> jobs

* python: does no work on macOS
2021-03-08 16:28:31 -08:00
tzutalin
4993dcb9e9 Update README 2021-02-28 11:13:14 -08:00
tzutalin
d8fdd478ef move convert dir to tools dir 2021-02-28 11:06:15 -08:00
Tomas SP
bfda006576
Mac os pipenv installation documentation bug fix (#711)
Fix mac os pipenv installation documentation

Co-authored-by: Tomás Sousa Pereira <up201507414@fe.up.pt>
2021-02-28 11:00:08 -08:00
Justin Ruan
144afe6b49
Add label_to_csv.py to convert txt or xml files to csv. Also, add the (#704)
README.md to tell how to do the transformation
2021-02-28 10:59:44 -08:00
dependabot[bot]
ebb2b83387
Bump lxml from 4.2.4 to 4.6.2 in /requirements (#694)
Bumps [lxml](https://github.com/lxml/lxml) from 4.2.4 to 4.6.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.2.4...lxml-4.6.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-09 09:30:33 -08: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
darrenl
0a581ef7e9
Update README.rst 2021-01-01 11:24:08 -08:00
tzutalin
a64cbcae03 Updated history 2020-11-14 23:25:29 -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
d3486864fe update hotkey in readme 2020-09-26 11:22:20 -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
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
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