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
647285e8
Commit
647285e8
authored
Nov 21, 2013
by
Davis King
Browse files
Updated imglab so it loads and stores the new ignore option from the gui
to/from the xml files.
parent
e11666b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tools/imglab/src/metadata_editor.cpp
tools/imglab/src/metadata_editor.cpp
+2
-0
No files found.
tools/imglab/src/metadata_editor.cpp
View file @
647285e8
...
@@ -290,6 +290,7 @@ std::vector<dlib::image_display::overlay_rect> get_overlays (
...
@@ -290,6 +290,7 @@ std::vector<dlib::image_display::overlay_rect> get_overlays (
temp
[
i
].
rect
=
data
.
boxes
[
i
].
rect
;
temp
[
i
].
rect
=
data
.
boxes
[
i
].
rect
;
temp
[
i
].
label
=
data
.
boxes
[
i
].
label
;
temp
[
i
].
label
=
data
.
boxes
[
i
].
label
;
temp
[
i
].
parts
=
data
.
boxes
[
i
].
parts
;
temp
[
i
].
parts
=
data
.
boxes
[
i
].
parts
;
temp
[
i
].
crossed_out
=
data
.
boxes
[
i
].
ignore
;
assign_pixel
(
temp
[
i
].
color
,
rgb_pixel
(
255
,
0
,
0
));
assign_pixel
(
temp
[
i
].
color
,
rgb_pixel
(
255
,
0
,
0
));
}
}
return
temp
;
return
temp
;
...
@@ -388,6 +389,7 @@ on_overlay_rects_changed(
...
@@ -388,6 +389,7 @@ on_overlay_rects_changed(
temp
.
label
=
rects
[
i
].
label
;
temp
.
label
=
rects
[
i
].
label
;
temp
.
rect
=
rects
[
i
].
rect
;
temp
.
rect
=
rects
[
i
].
rect
;
temp
.
parts
=
rects
[
i
].
parts
;
temp
.
parts
=
rects
[
i
].
parts
;
temp
.
ignore
=
rects
[
i
].
crossed_out
;
boxes
.
push_back
(
temp
);
boxes
.
push_back
(
temp
);
}
}
}
}
...
...
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