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
6e06db71
"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "3ced3411e55bca803ed5ec5e1de6f62e1f21478f"
Commit
6e06db71
authored
Jan 07, 2012
by
Davis King
Browse files
Changed example so the cross validation comes out right.
parent
7fd3da34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/object_detector_ex.cpp
examples/object_detector_ex.cpp
+1
-1
No files found.
examples/object_detector_ex.cpp
View file @
6e06db71
...
@@ -88,7 +88,7 @@ void make_simple_test_data (
...
@@ -88,7 +88,7 @@ void make_simple_test_data (
{
{
for
(
long
c
=
0
;
c
<
images
[
i
].
nc
();
++
c
)
for
(
long
c
=
0
;
c
<
images
[
i
].
nc
();
++
c
)
{
{
images
[
i
][
r
][
c
]
=
put_in_range
(
0
,
255
,
images
[
i
][
r
][
c
]
+
5
0
*
rnd
.
get_random_gaussian
());
images
[
i
][
r
][
c
]
=
put_in_range
(
0
,
255
,
images
[
i
][
r
][
c
]
+
4
0
*
rnd
.
get_random_gaussian
());
}
}
}
}
}
}
...
...
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