From 8edbfb59eea37b4f0dfd18f8545ef9c6a5e60fc6 Mon Sep 17 00:00:00 2001 From: Mika Fischer Date: Tue, 2 Aug 2011 17:17:28 +0200 Subject: [PATCH] Use as mark all as confirmed/labeled and go to next frame Also add back hotkey --- sloth/conf/default_config.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sloth/conf/default_config.py b/sloth/conf/default_config.py index bc5dbb8..894684f 100644 --- a/sloth/conf/default_config.py +++ b/sloth/conf/default_config.py @@ -70,6 +70,11 @@ LABELS = ( # third entry -- if present -- is expected to be a string describing the # action. HOTKEYS = ( + ('Space', [lambda lt: lt.currentImage().confirmAll(), + lambda lt: lt.currentImage().setUnlabeled(False), + lambda lt: lt.gotoNext() + ], 'Mark image as labeled/confirmed and go to next'), + ('Backspace', lambda lt: lt.gotoPrevious(), 'Previous image/frame'), ('PgDown', lambda lt: lt.gotoNext(), 'Next image/frame'), ('PgUp', lambda lt: lt.gotoPrevious(), 'Previous image/frame'), ('Tab', lambda lt: lt.selectNextAnnotation(), 'Select next annotation'),