Commit Graph

432 Commits

Author SHA1 Message Date
Martin Baeuml 99822b85d6 add missing paint base method 2011-12-06 16:42:21 +01:00
Martin Baeuml 5e0c295316 make the item's text size independent of the scene's transformation (fixes #64) 2011-12-06 16:25:56 +01:00
Martin Baeuml 1002806ef0 display text in child item (fixes #12)
This allows the text to have a bounding box of its own.
Thus, text is not clipped at an items border anymore if it
is too long.  It's also properly deleted when the item is deleted.
2011-12-06 16:25:16 +01:00
Martin Baeuml 9694c98bae fix RectItemInserter 2011-12-06 15:43:35 +01:00
Martin Baeuml 589abac210 allow ids to be in the range 0-35
ids 0-9 are labeled using keys 0-9,
ids 10-35 are labeled using keys a-z
2011-12-06 15:37:23 +01:00
Martin Baeuml 76bc73440c allow setting id during insert mode 2011-10-12 12:56:35 +02:00
Martin Baeuml 09060a52fc pep8 2011-10-11 11:06:33 +02:00
Martin Baeuml 9e153a78c4 more sensible error/log message when expected key is not found in modelitem 2011-10-11 10:59:56 +02:00
Mika Fischer 328aa38723 Support missing points in NPointFaceItem 2011-10-05 16:37:02 +02:00
Mika Fischer db32df3b0d Actually die when neither okapy nor PIL can be found
Logging doesn't work at this point and the tool is quite useless without
being able to load images anyway...
2011-10-05 16:36:30 +02:00
Mika Fischer f0bc05ead5 Change points in NPointFaceItem 2011-09-30 14:41:37 +02:00
Mika Fischer f430bfeb4c Fix bug when default_properties is None 2011-09-30 14:41:22 +02:00
Mika Fischer 4467185ab5 Make sure the properties selected when the annotation is finished are used 2011-09-30 14:23:08 +02:00
Mika Fischer a8cdedd6cb Fix bug in PointItemInserter 2011-09-30 14:22:22 +02:00
Mika Fischer 3d2499fb60 Fix bug in NPointFaceItemInserter 2011-09-30 13:50:39 +02:00
Mika Fischer 85bcefda61 Use SequenceItemInserter and GroupItem for NPointFaceItem and Inserter 2011-09-30 13:43:57 +02:00
Mika Fischer e681f8c8d0 Fixes for Python 3 2011-09-30 13:42:53 +02:00
Martin Baeuml 48dd3b63a0 disconnect correct slot (fixes #58) 2011-09-28 12:55:26 +02:00
Martin Baeuml c6a370041f fix segmentation fault
This fixes the segmentation fault during startup for me (Ubuntu 11.04).
Please test if this fixes also your problems with this...

Possibly fixes #53, possibly fixes #54
2011-09-26 18:08:53 +02:00
Martin Baeuml 479bd7015a put statusbar progress bar to gui object
The problem here is that statusBar().removeWidget() not really removes
the widget from the statusbar, but only hides it (see documentation).
Therefore we need it makes more sense to keep a common statusbar
progressbar, and pass it to the background loader.  To activate it
one has to call both addWidget and show according to the documentation.
2011-09-26 18:05:00 +02:00
Martin Baeuml 523664d9f8 fix variable typo 2011-09-26 18:02:35 +02:00
Martin Baeuml 8e4304d252 use new style signals 2011-09-26 16:45:49 +02:00
Martin Baeuml cccfa412ba remove obsolete code from frameviewer.py (closes #49) 2011-09-15 14:01:22 +02:00
Martin Baeuml 5c1558c327 fix _ensureAllLoaded (fixes #56, fixes #57) 2011-09-15 13:55:59 +02:00
Martin Baeuml 9d4fac6315 add annotation accessor to labeltool object 2011-09-15 13:53:28 +02:00
Martin Baeuml cc6bab33b9 only read annotations from children that support it (fixes #55) 2011-09-15 13:43:24 +02:00
Martin Baeuml f5c3cef173 fix handling of subcommands (fixes #51) 2011-09-14 18:25:57 +02:00
Martin Baeuml 491184720b add generic plugin to copy labels from the previous image/frame (fixes #34) 2011-09-14 18:10:33 +02:00
Martin Baeuml 79debb75b6 update documentation link 2011-09-14 17:33:39 +02:00
Martin Baeuml 757623bd9a add defaultAutoTextKeys class member 2011-09-14 17:20:56 +02:00
Martin Baeuml b4d5445fbf add cycleValuesOnKeypress parameter to BaseItem 2011-09-14 17:20:39 +02:00
Martin Baeuml 74897c8a52 add BBoxFaceItem
the BBoxFaceItem is the corresponding item to the BBoxFaceItemInserter
2011-09-14 16:08:24 +02:00
Martin Baeuml c0fd6536df add GroupItem
A group item delegates displaying and modification
to the different basic items.
2011-09-14 16:07:52 +02:00
Martin Baeuml 733bf7a635 add prefix handling for basic items 2011-09-14 16:07:02 +02:00
Martin Baeuml f611940fb0 add BBoxFaceInserter
This is an inserter based on the SequenceItemInserter.  It allows to label
a bbox for a face and points for eyes and mouth centers.
2011-09-14 16:06:30 +02:00
Martin Baeuml 79be604192 add SequenceItemInserter
A SequenceItemInsert combines other inserters.  It goes through
the given inserters in order and collects their annotations to
make a combined annotation.
2011-09-14 16:04:57 +02:00
Martin Baeuml de4b68ce27 update PointItemInserter and RectItemInserter to use prefix, commit and annotationFinished 2011-09-14 15:45:12 +02:00
Martin Baeuml 030ea73928 add prefix, commit and annotation properties to the base inserter 2011-09-14 15:44:01 +02:00
Martin Baeuml 348643d67a add imageChange slot to inserters
This gets called every time the current image in the label tool changes
to make the inserter aware of this.
2011-09-14 15:42:56 +02:00
Martin Baeuml 65cdb2aaf2 add annotationFinished signal to inserters 2011-09-14 15:41:52 +02:00
Martin Baeuml bf9fd9d4ef allow HTML in the scene message
\n newline characters are automatically converted to <br/>
2011-09-14 15:40:36 +02:00
Martin Baeuml 54556bc715 take a bit more care when deleting graphicsitems from the scene
This ensures that
a) underlying C++ objects are not deleted when another python reference
graphicsitems still exists
b) children object are not tried to be deleted twice
2011-09-14 15:39:53 +02:00
Martin Baeuml 7e00a1a058 use default configuration as config template for the createconfig command 2011-09-07 13:11:02 +02:00
Martin Baeuml 3f6ea5c536 add example section to the documentation for tips & tricks 2011-09-07 13:04:01 +02:00
Tobias Gehrig 7e1416a5ea add sloth.annotations.container.OkapiAnnotationContainer to read files generated by the Okapi::AnnotationContainer and save them accordingly 2011-08-26 12:15:38 +02:00
Martin Baeuml ae87e0c99d fix importing of importlib 2011-08-11 15:24:48 +02:00
Mika Fischer 8edbfb59ee Use <Space> as mark all as confirmed/labeled and go to next frame
Also add back <Backspace> hotkey
2011-08-02 17:17:28 +02:00
Mika Fischer 5d66746a85 Remove previous/next frame shortcuts from ui file 2011-08-02 17:15:57 +02:00
Mika Fischer 249ac44fdf Add support for hotkeys which trigger a sequence of functions 2011-08-02 17:07:02 +02:00
Mika Fischer e70e51ed7a Add option to appendfiles to mark appended files as unlabeled 2011-08-02 13:16:46 +02:00