Commit Graph

539 Commits

Author SHA1 Message Date
baeuml 0d63d1ea34 Merge pull request #78 from neingeist/fix-relative-filenames
Add relative image filenames to the label file
2014-04-02 14:20:47 +02:00
baeuml 53a971b9ce Merge pull request #79 from neingeist/fix-trailing-whitespace
Avoid trailing whitespace in the JSON output
2014-04-02 14:17:51 +02:00
Mike Gerber 5ef339d7a5 Avoid trailing whitespace in the JSON output
The default separators used in the Python JSON library's dump() write
output with trailing whitespace. Use custom separators to avoid that, as
described in the documentation:

  http://docs.python.org/2/library/json.html
2014-03-30 10:58:06 +02:00
Mike Gerber 2afa69a2e4 Make image filenames relative to the label file
The image filenames written to the label files were absolute pathnames.
Change this to use filenames relative to the label file.
2014-03-30 10:53:17 +02:00
Martin Baeuml 19caf08ae1 add simple example on how to subclass RectItem for customization 2014-03-19 23:00:36 +01:00
Martin Baeuml 6b5dc54188 allow using QPen as argument for item.setPen(), fixes #77 2014-03-19 23:00:12 +01:00
Martin Baeuml cf0b79afed more cleanup 2014-03-19 22:59:04 +01:00
Martin Baeuml fa578410dc add missing imports 2014-03-19 22:58:53 +01:00
Martin Baeuml 9eb3e888c5 remove empty file 2014-03-19 22:58:21 +01:00
Martin Baeuml 86ba971a9c add missing travis requirements 2014-03-19 22:58:09 +01:00
Martin Baeuml bcd5415b0a fix bug in factory 2014-03-19 22:35:59 +01:00
Martin Baeuml 9b3ba3cb9f remove obsolete container tests 2014-03-19 22:35:50 +01:00
Martin Baeuml db1dc22036 cleanup/pep8 2014-03-19 22:35:42 +01:00
Martin Baeuml 957daf4c84 remove importlib copy, use stdlib version 2014-03-19 22:11:00 +01:00
Martin Baeuml 5d207711de pep8 2014-03-19 22:00:51 +01:00
Martin Baeuml 1c0387a192 pep8 2014-03-19 14:53:47 +01:00
Martin Baeuml a811b9cccf remove more mutable default arguments 2014-03-19 14:32:09 +01:00
Martin Baeuml 9bb08470cc fix mutable default arguments
Mutable default arguments are usually a bad idea, and certainly not intended here.
2014-03-19 14:16:19 +01:00
Martin Baeuml 638c3db45d pep8 changes 2014-03-19 14:15:06 +01:00
Martin Baeuml 841ffee22d pep8 fixes 2014-03-19 13:56:29 +01:00
Mika Fischer 5e1e1ffd38 Add Tooltips with names of facial landmarks 2014-03-10 17:29:51 +01:00
Mika Fischer 402ccb556e Add support for reading annotations in msgpack format 2014-03-10 17:14:09 +01:00
Mika Fischer a78591a9cd Add support for displaying facial landmarks in common notation 2014-03-10 17:13:37 +01:00
Martin Baeuml 2ca1f84156 pep8 fixes 2014-03-03 10:24:17 +01:00
Martin Baeuml 16b5e9ca4a move docstrings to appropriate locations 2014-03-03 10:24:04 +01:00
Tobias Gehrig 015b6f3afb Make attributes in LabelEditor sorted 2014-02-25 15:47:57 +01:00
Martin Baeuml 5df2ff66e0 add release to README, use markdown now 2013-11-29 10:14:48 +01:00
Martin Baeuml 2e69fdae40 Merge branch 'release-1.0' v1.0 2013-11-29 10:03:00 +01:00
Martin Baeuml 3c00035954 bump version 2013-11-29 09:59:34 +01:00
Markus Roth e17334270f Add travis ci config file. 2013-11-28 01:49:19 +01:00
Markus Roth e4b3883471 Reenable counting files and annotations. 2013-11-27 23:45:54 +01:00
Markus Roth a5b40799ea Refresh window after toggling fit-to-window mode.
Closes issue #67.
2013-11-09 00:32:44 +01:00
Markus Roth 3102f0a27d Fix exception being raised when image is None. 2013-11-08 23:53:39 +01:00
Markus Roth 6e58439746 Log warning, if frame could not be loaded by video source. 2013-11-08 23:05:38 +01:00
Markus Roth f52d63cc6e Add debug information to exception. 2013-11-08 22:39:25 +01:00
Markus Roth e803498f04 Add PyQt4 dependency. 2013-11-08 21:54:12 +01:00
Daniel Morlock dfd685d2dd Added contextmenu with filename copy action to filelabel qlabel. 2013-08-13 11:51:18 +02:00
Martin Baeuml ac2a99ae33 sort json keys to avoid big diffs on every save 2013-07-02 10:34:18 +02:00
Martin Baeuml 21e252798d add more efficient update method (doesn't send model updates for every item) 2013-05-15 18:43:36 +02:00
Martin Baeuml 68e4fad0ae add utility function to generate distinct random colors 2013-05-15 16:53:00 +02:00
Martin Baeuml 54ce923ff7 fix permissions 2013-05-15 16:52:36 +02:00
Martin Baeuml 7f6a136333 accept escape key 2013-05-10 17:45:00 +02:00
Mika Fischer 03896d2d9e Add eyebrows to NPointFaceItem 2013-05-07 10:51:37 +02:00
Mika Fischer 3a4f3cf13e Use x,y,w,h for bounding rect of NPointFaceItem if available 2013-05-07 10:40:37 +02:00
Martin Baeuml 63393e7baf don't notify views when creating a new model item
This reduces the initialization time of large models to about 50%.
2013-04-09 00:13:03 +02:00
Martin Baeuml a4868e994a make index as fast as possible, remove check for special case parent_idx == QModelIndex()
This is checked in self.itemFromIndex anyway.
2013-04-09 00:10:17 +02:00
Martin Baeuml b3392170d0 be less verbose when there is additional stuff in a label file 2013-04-08 11:07:22 +02:00
Martin Baeuml f280970dd3 test filenames with okapi video source options correctly 2013-04-08 11:07:07 +02:00
Martin Baeuml fff6e00e5f reduce log-level for missing keys 2013-04-03 15:15:34 +02:00
Martin Baeuml a6c755b9c1 fix typos 2013-04-03 15:14:37 +02:00