Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
66a5a9c4
Commit
66a5a9c4
authored
Nov 22, 2017
by
Davis King
Browse files
Options
Browse Files
Download
Plain Diff
merged
parents
9a8f3121
2f531f11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
metadata_editor.cpp
tools/imglab/src/metadata_editor.cpp
+16
-2
No files found.
tools/imglab/src/metadata_editor.cpp
View file @
66a5a9c4
...
@@ -354,8 +354,19 @@ on_keydown (
...
@@ -354,8 +354,19 @@ on_keydown (
select_image
(
image_pos
);
select_image
(
image_pos
);
}
}
// Make 'w' and 's' act like KEY_UP and KEY_DOWN
return
;
if
((
key
==
'w'
||
key
==
'W'
)
&&
!
overlay_label
.
has_input_focus
())
{
key
=
base_window
::
KEY_UP
;
}
else
if
((
key
==
's'
||
key
==
'S'
)
&&
!
overlay_label
.
has_input_focus
())
{
key
=
base_window
::
KEY_DOWN
;
}
else
{
return
;
}
}
}
if
(
key
==
base_window
::
KEY_UP
)
if
(
key
==
base_window
::
KEY_UP
)
...
@@ -636,6 +647,9 @@ display_about(
...
@@ -636,6 +647,9 @@ display_about(
"command line. An example would be '--parts
\"
leye reye nose mouth
\"
'."
"command line. An example would be '--parts
\"
leye reye nose mouth
\"
'."
,
0
,
0
)
<<
endl
<<
endl
;
,
0
,
0
)
<<
endl
<<
endl
;
sout
<<
wrap_string
(
"Press the down or s key to select the next image in the list and the up or w "
"key to select the previous one."
,
0
,
0
)
<<
endl
<<
endl
;
sout
<<
wrap_string
(
"Additionally, you can hold ctrl and then scroll the mouse wheel to zoom. A normal left click "
sout
<<
wrap_string
(
"Additionally, you can hold ctrl and then scroll the mouse wheel to zoom. A normal left click "
"and drag allows you to navigate around the image. Holding ctrl and "
"and drag allows you to navigate around the image. Holding ctrl and "
"left clicking a rectangle will give it the label from the Next Label field. "
"left clicking a rectangle will give it the label from the Next Label field. "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment