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
3a4f1c0e
Commit
3a4f1c0e
authored
Jan 21, 2012
by
Davis King
Browse files
Further simplified these examples.
parent
7b5cedcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
examples/object_detector_advanced_ex.cpp
examples/object_detector_advanced_ex.cpp
+1
-5
examples/object_detector_ex.cpp
examples/object_detector_ex.cpp
+1
-5
No files found.
examples/object_detector_advanced_ex.cpp
View file @
3a4f1c0e
...
...
@@ -278,11 +278,7 @@ int main()
// Put the image and detections into the window.
win
.
clear_overlay
();
win
.
set_image
(
images
[
i
]);
for
(
unsigned
long
j
=
0
;
j
<
rects
.
size
();
++
j
)
{
// Add each detection as a red box.
win
.
add_overlay
(
rects
[
j
],
rgb_pixel
(
255
,
0
,
0
));
}
win
.
add_overlay
(
rects
,
rgb_pixel
(
255
,
0
,
0
));
cout
<<
"Hit enter to see the next image."
;
cin
.
get
();
...
...
examples/object_detector_ex.cpp
View file @
3a4f1c0e
...
...
@@ -213,11 +213,7 @@ int main()
// Put the image and detections into the window.
win
.
clear_overlay
();
win
.
set_image
(
images
[
i
]);
for
(
unsigned
long
j
=
0
;
j
<
rects
.
size
();
++
j
)
{
// Add each detection as a red box.
win
.
add_overlay
(
rects
[
j
],
rgb_pixel
(
255
,
0
,
0
));
}
win
.
add_overlay
(
rects
,
rgb_pixel
(
255
,
0
,
0
));
cout
<<
"Hit enter to see the next image."
;
cin
.
get
();
...
...
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