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
71db541a
Commit
71db541a
authored
Aug 27, 2017
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup
parent
306fd3af
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dnn_mmod_find_cars_ex.cpp
examples/dnn_mmod_find_cars_ex.cpp
+2
-2
No files found.
examples/dnn_mmod_find_cars_ex.cpp
View file @
71db541a
...
@@ -81,7 +81,7 @@ int main() try
...
@@ -81,7 +81,7 @@ int main() try
// Now let's look at how the detector works. The high level processing steps look like:
// Now let's look at how the detector works. The high level processing steps look like:
// 1. Create an image pyramid and pack the pyramid into one big image. We call this
// 1. Create an image pyramid and pack the pyramid into one big image. We call this
//
the "tiled pyramid image
".
//
image the "tiled pyramid
".
// 2. Run the tiled pyramid image through the CNN. The CNN outputs a new image where
// 2. Run the tiled pyramid image through the CNN. The CNN outputs a new image where
// bright pixels in the output image indicate the presence of cars.
// bright pixels in the output image indicate the presence of cars.
// 3. Find pixels in the CNN's output image with a value > 0. Those locations are your
// 3. Find pixels in the CNN's output image with a value > 0. Those locations are your
...
@@ -110,7 +110,7 @@ int main() try
...
@@ -110,7 +110,7 @@ int main() try
create_tiled_pyramid
<
pyramid_type
>
(
img
,
tiled_img
,
rects
,
create_tiled_pyramid
<
pyramid_type
>
(
img
,
tiled_img
,
rects
,
input_layer
(
net
).
get_pyramid_padding
(),
input_layer
(
net
).
get_pyramid_padding
(),
input_layer
(
net
).
get_pyramid_outer_padding
());
input_layer
(
net
).
get_pyramid_outer_padding
());
image_window
winpyr
(
tiled_img
,
"Tiled pyramid
image
"
);
image_window
winpyr
(
tiled_img
,
"Tiled pyramid"
);
...
...
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