Commit Graph

444 Commits

Author SHA1 Message Date
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
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
Rohit Lal 1a9b489bb4 updated anaconda installation instructions 2020-08-01 23:42:58 -07:00
Keechin G bd5c2a46ba Update GitIgnore / .DS_Store Removal 2020-07-17 08:26:27 -07:00
tzutalin 03ef7c760c Add Stargazers over time in README.md 2020-07-12 19:37:46 -07:00
tzutalin 60ae6067ea Update zh translation and format code a little bit 2020-07-01 18:18:19 -07:00
heis2201 80e9722747 Added hint on install method on Linux
In the list of install options, in my opinion, it is not so clear which install method an end-user should choose (at least for Linux users). Python3 is now standard on basically any Linux distro, so the install from PyPI using pip3 install should work out the box in a vast majority of distros. I tested it for Fedora32.
2020-07-01 17:16:56 -07:00
Kirill Kalashnikov 9fca0b5e92 added delete image button 2020-07-01 17:16:18 -07:00
stephi 7cc5241664 strip string of detection values 2020-07-01 17:13:52 -07:00
tzutalin 7532f1ed87 removed python2 build from travis.yml and upgraded Anaconda3 for travis 2020-05-23 11:59:40 -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
Mehrad Mahmoudian 5816f71157 [add] adding instruction on how to force reset the class settings to the README 2020-05-02 09:57:58 -07:00
Alice_space 49334ed9e3 fix typo 2020-04-24 08:13:13 -07:00
BIASUTTI Pierre 45078ac670 Added annotation width and height in toolbar while drawing. 2020-02-15 13:48:28 -08:00
Hakan Karaoguz a74b00c219 Fixed import error for PyQt4 2020-01-10 08:51:12 -08:00
Hakan Karaoguz c4f4fb3b7a Added missing import 2020-01-10 08:51:12 -08:00
Hakan Karaoguz 6c34a6c3e7 Update imports and added PyQt4 support 2020-01-10 08:51:12 -08:00
Hakan Karaoguz e51bfce9a7 Added combobox to the main view for displaying unique labels individually 2020-01-10 08:51:12 -08:00
tzutalin bf8cc1d575 Fixed a pyqt5 version to avoid build error for pipenv 2019-12-22 22:31:46 -08:00