Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
e0a14376
Commit
e0a14376
authored
Mar 30, 2017
by
Davis King
Browse files
Made the title bar show the current image's number.
parent
a0990563
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/imglab/src/metadata_editor.cpp
tools/imglab/src/metadata_editor.cpp
+2
-2
No files found.
tools/imglab/src/metadata_editor.cpp
View file @
e0a14376
...
...
@@ -456,7 +456,7 @@ load_image(
try
{
dlib
::
load_image
(
img
,
metadata
.
images
[
idx
].
filename
);
set_title
(
metadata
.
name
+
": "
+
metadata
.
images
[
idx
].
filename
);
set_title
(
metadata
.
name
+
"
#"
+
cast_to_string
(
idx
)
+
"
: "
+
metadata
.
images
[
idx
].
filename
);
}
catch
(
exception
&
e
)
{
...
...
@@ -484,7 +484,7 @@ load_image_and_set_size(
try
{
dlib
::
load_image
(
img
,
metadata
.
images
[
idx
].
filename
);
set_title
(
metadata
.
name
+
": "
+
metadata
.
images
[
idx
].
filename
);
set_title
(
metadata
.
name
+
"
#"
+
cast_to_string
(
idx
)
+
"
: "
+
metadata
.
images
[
idx
].
filename
);
}
catch
(
exception
&
e
)
{
...
...
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