128 Commits

Author SHA1 Message Date
tzutalin
c64a5eae9b Refactor settings class 2017-08-08 09:53:22 +08:00
Jiye Qian
6859657c36 Enhance compatibility
Adding the path to 'data' folder, this is especailly useful for Mac OSX.
Then we can put the 'data' folder into 'MacOS' folder within 'labelImg.app'.
2017-08-05 15:38:37 +08:00
tzutalin
6958e69851 Fix the issue # 136 and add constants.py 2017-08-04 14:45:42 +08:00
Jiye Qian
67de46730f Enhance compatibility
With Anaconda3-4.4.0-Windows-x86_64 in Win 8 & 10, encoding name "utf8" will lead to error.  We change the encoding name to "utf-8", it's OK. Very strange, we do not know why.
2017-08-03 23:34:55 +08:00
Kevin Gay
5506da5b55 Made spelling corrections to variables 2017-07-26 21:59:59 -04:00
Jiye Qian
a878ab83b7 Fix filename bug
If the file name contains ".", it will go wrong.  e.g. hello.world.jpg --> hello.xml
2017-07-26 01:53:49 +08:00
tzutalin
14edc88a64 Fix runtime errors for py3qt5 2017-07-25 16:43:04 +08:00
tzutalin
a09ecbb7bb Add single mode features and fix minor issues 2017-07-21 17:32:30 +08:00
Stepan Prochazka
bfd502e64f Fixed usage of deprecated function 2017-07-10 16:56:36 +02:00
Lars Klein
9f6fdbd06b cleaning up the code 2017-06-23 19:33:00 +02:00
Lars Klein
708e1a21e6 reworking the zoom behaviour 2017-06-23 19:28:52 +02:00
tzutalin
9cb05ebdae Refactor some of widgets 2017-05-24 10:25:23 +08:00
RegisWANG
4a25352dbe Add use default label checkbox 2017-05-23 23:27:31 +08:00
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