Commit Graph

557 Commits

Author SHA1 Message Date
Martin Baeuml 013a2a4bc3 edit and update the documentation 2014-04-16 22:48:45 +02:00
Martin Baeuml bde36785b6 add build image in markdown 2014-04-15 23:38:43 +02:00
Martin Baeuml ebc40deb0a PEP8 changes 2014-04-15 23:33:13 +02:00
Martin Baeuml bad6e9ccda add numpy to setup.py dependencies 2014-04-15 23:27:18 +02:00
Martin Baeuml 184791a795 add TravisCI build status button 2014-04-15 23:24:37 +02:00
Martin Baeuml ad05875f0b Implement a more general version of the merge command
Also, add tests for this command.

This fixes #71.
2014-04-15 23:21:05 +02:00
Martin Baeuml d6a66eb0e6 remove empty file 2014-04-15 22:39:00 +02:00
Martin Baeuml 0dc837dc66 factor out common finishing code 2014-04-12 09:00:13 +02:00
baeuml 63e841ec12 Merge pull request #82 from neingeist/feature/polygons
Add the missing polygon functionality
2014-04-12 08:51:11 +02:00
Mike Gerber 26543b7a6d Remove default prefix 2014-04-10 23:36:06 +02:00
Mike Gerber 4feb87c72b When handling keys, only pressing Return finishes the polygon 2014-04-10 23:26:52 +02:00
Mike Gerber e810cd09af Allow finishing a polygon using a double click 2014-04-10 23:26:52 +02:00
Mike Gerber e2d61febc3 Allow aborting when inserting a polygon 2014-04-10 23:26:52 +02:00
Mike Gerber 8fbb44218d Remove unused variable _init_pos 2014-04-10 23:26:52 +02:00
Mike Gerber 32a4bbce76 No need for _current_image_item anymore
The insertion does not happen in abort() anymore, so PolygonItemInserter
does not need to save the current image item anymore for later use.
2014-04-10 23:26:52 +02:00
Mike Gerber 2579c4f7b0 Fix the start point of the polygon 2014-04-10 23:26:52 +02:00
Mike Gerber e0fa0534d5 Use the Enter key to finish the polygon
Using abort() (aka Escape) is not the right way to finish the polygon.
Use the Enter key instead. It works this way in Inkscape. Display a
message to instruct the user to use the Enter key to finish the
polygon.
2014-04-10 23:26:52 +02:00
Mike Gerber 3358d6d579 Add the missing PolygonItem
Add the functionality to add labels of polygon shape. That means:

- Fix the non-working PolygonItemInserter class
- Add the missing PolygonItem class
- Add the "polygon" class to the default configuration
2014-04-10 23:26:52 +02:00
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