65 Commits

Author SHA1 Message Date
tzutalin
7cf546b500 Fix issues and update version to 1.3.2 2017-05-18 10:44:42 +08:00
aaronshan
777d03e25d fix bugs:some pictures become invalid after repeat labeled and save it. 2017-05-17 16:09:53 +08:00
tzutalin
132492d61f Provide an extra argument to change predefined classes path 2017-05-10 21:58:39 +08:00
tzutalin
a7e3a32385 Replace Difficult with difficult 2017-05-10 21:26:51 +08:00
tzutalin
fffc99047b Change version to v1.3.0 2017-05-03 20:03:14 +08:00
tzutalin
d56ab8cea2 Create new files for pypackage 2017-05-03 18:31:18 +08:00
tzutalin
c6ad6e3499 Fix build error for qt3 2017-05-03 16:53:55 +08:00
tzutalin
9a7ecb4a07 Add ustr.py, add more test, and fix build error for py3 2017-05-03 16:13:08 +08:00
ChrisDal
0bace8fe2b refined Layout 2017-04-25 10:22:26 +02:00
ChrisDal
73c343458d Update labelImg.py 2017-04-25 10:19:15 +02:00
ChrisDal
f0f1bb2b5a Select and set as current item last item 2017-04-25 09:44:01 +02:00
ChrisDal
2899d4dbf7 Add Diificult Checkbox and link to items
Difficult Checkbox 
Link to Items
2017-04-25 09:24:34 +02:00
ruifeng.shan
c3d1baac5f resolve if don't select default save dir, can't load xml file(saved dir same with image) issue.
resolve cannot open annotation xml file issue.
2017-04-21 15:17:46 +08:00
tzutalin
ef13a1ede5 Use u() functions to convert string for python2/3 2017-03-09 13:18:55 +08:00
darrenl
634fc0c637 Merge pull request #65 from yjmade/master
fix some bugs when running on Mac with PyQT5
2017-03-09 13:07:45 +08:00
tzutalin
910cd73320 Fix unicode issue for showing window title 2017-03-09 11:55:56 +08:00
Jay Young
4d1ed6f7e6 [FIX]move hot key for open annotation from ctrl+q to Ctrl+Shift+O to avoid colision with Mac universial application quit key Command+Q 2017-03-08 11:41:06 +08:00
Jay Young
7460e4316b [FIX]when startup with out specify image, self.filePath will be None, but when loadFile get it, the filePath is 'None', so if there real is a img name as None, it will open it unexceptly
[FIX]when open file, QImageReader.supportedImageFormats() gives items in QbyteArray type, so if do str(fmt) will gives bbmp so that open prompt will not be able to open any thing
[FIX]in PyQT5, QFileDialog.getOpenFileName returns a tuple with (filename,filters)
2017-03-08 11:29:43 +08: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
tzutalin
ce853362e5 Update README and copying the rect won't add prefix string 2017-03-01 20:33:14 +08:00
Thibaut Mattio
1f01cf9074 Remove confirmation when deleting a ROI 2017-02-28 13:29:38 +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
darrenl
eb87c3d680 Merge pull request #58 from s-alexey/focus
Set focus on image canvas after image is loaded
2017-02-27 10:07:21 +08:00
tzutalin
4b9c530b1a Show the prev label text when creating a new label 2017-02-24 22:27:04 +08:00
tzutalin
34420d4053 Fix the wrong path/width/height in annotation files 2017-02-24 22:11:38 +08:00
Alexey
36ab14943e Set focus on canvas after image is loaded 2017-02-23 15:59:54 +03:00
tzutalin
c5ceaa687d Fix the issue when failing to open unicode dir and rename filename to
filePath
2017-02-16 14:49:46 +08:00
tzutalin
70721ad597 Fix qstring/asic code convert for python 2 2017-02-16 11:00:49 +08:00
tzutalin
8239d1811b Revert "Fix encode filename issues python2"
This reverts commit 62507a195829e3f0eb93a390997e91033cb52e47.
2017-02-15 20:35:57 +08:00
tzutalin
62507a1958 Fix encode filename issues python2 2017-02-15 17:33:55 +08:00
tzutalin
afee5a4e95 Remove setting bg features and uncomment some print message 2017-02-15 16:39:06 +08:00
tzutalin
318710c8e3 Draft version for supporting change background color 2017-02-08 16:56:24 +08:00
darrenl
633f26694b Merge pull request #46 from tzutalin/py2-qt4
Change hotkeys
2017-01-09 14:31:41 +08:00
tzutalin
d9ba7b18d0 Change hotkeys 2017-01-09 14:30:17 +08:00
Ryan Flynn
b6d1929306 add unit testing via 'make test' 2017-01-02 22:34:55 -05:00
Ryan Flynn
2beed27cf2 add support for QT5, fallback to QT4 2017-01-02 21:55:30 -05:00
Ryan Flynn
c7ddf4a3ef make py2 unicode-handling py3-compatibe 2016-12-31 14:53:09 -05:00
Ryan Flynn
67a8583e22 conservative conversion of some python2-isms to py3-compatible code 2016-12-31 14:48:17 -05:00
Ryan Flynn
03236397d7 https://github.com/tzutalin/labelImg/issues/31 add support for displaying and saving unicode labels 2016-12-21 23:49:40 -05:00
Number1Tao
7b5a43fce1 Fix a bug
when run :./labelImg.py
Error: 
  File "./labelImg.py", line 815
    extensions = {'.jpeg','.jpg', '.png', '.bmp'}
Fix:
 change {'.jpeg','.jpg', '.png', '.bmp'} to ['.jpeg','.jpg', '.png', '.bmp']
Environment:python=2.6.9   qt=4.11.3 OX=mac os
2016-12-16 22:34:40 +08:00
tzutalin
50a079edc4 Support Unicode for saving and loading Pascal XML format
Use lxml to pretty the xml instead of minidom because minido does not support unicode
Save xml with unicode
Add tests dir to collect more images for unit tests in the future
2016-12-02 11:26:37 +08:00
Ryan Flynn
5ae63c09cd ensure filename variable exists for all code paths 2016-10-22 23:37:33 -04:00
tzutalin
f2712d4cc7 Add file list and dock to move faster 2016-09-06 20:39:42 +08:00
xunchangqing
6e4e576499 remove codes for debug 2016-03-25 09:52:55 +08:00
xunchangqing
83048cee65 bugfix: can not load xml with multiple dots file name such as xxx.xxx.xxx 2016-03-25 09:48:53 +08:00
Mark Shilton
28062bafc4 Filename of current image is used as default name when saving label data 2016-02-12 13:23:12 +00:00
Mark Shilton
1981da9b22 Filename of current image is used as default name when saving label data 2016-02-12 13:16:29 +00:00
tzutalin
dd56234989 sort by name while importing all images 2016-01-05 13:51:12 +08:00
tzutalin
3b01871851 Load Pascal xml for each image if setting saved annotation folder 2015-12-10 17:20:06 +08:00