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