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
da73e4bd
"...python/common/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "9211d34fb8b53f2f83b6f35f601a64822f9a0f0c"
Commit
da73e4bd
authored
Dec 08, 2013
by
Davis King
Browse files
Changed requires clause slightly to increase usability.
parent
be31bd47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/image_processing/scan_fhog_pyramid.h
dlib/image_processing/scan_fhog_pyramid.h
+1
-1
dlib/image_processing/scan_fhog_pyramid_abstract.h
dlib/image_processing/scan_fhog_pyramid_abstract.h
+1
-1
No files found.
dlib/image_processing/scan_fhog_pyramid.h
View file @
da73e4bd
...
@@ -928,7 +928,7 @@ namespace dlib
...
@@ -928,7 +928,7 @@ namespace dlib
)
)
{
{
// make sure requires clause is not broken
// make sure requires clause is not broken
DLIB_ASSERT
(
thresh
>
0
,
DLIB_ASSERT
(
thresh
>
=
0
,
"
\t
object_detector threshold_filter_singular_values()"
"
\t
object_detector threshold_filter_singular_values()"
<<
"
\n\t
Invalid inputs were given to this function."
<<
"
\n\t
Invalid inputs were given to this function."
<<
"
\n\t
thresh: "
<<
thresh
<<
"
\n\t
thresh: "
<<
thresh
...
...
dlib/image_processing/scan_fhog_pyramid_abstract.h
View file @
da73e4bd
...
@@ -66,7 +66,7 @@ namespace dlib
...
@@ -66,7 +66,7 @@ namespace dlib
);
);
/*!
/*!
requires
requires
- thresh > 0
- thresh >
=
0
- weight_index < detector.num_detectors()
- weight_index < detector.num_detectors()
- detector.get_w(weight_index).size() >= detector.get_scanner().get_num_dimensions()
- detector.get_w(weight_index).size() >= detector.get_scanner().get_num_dimensions()
(i.e. the detector must have been populated with a HOG filter)
(i.e. the detector must have been populated with a HOG filter)
...
...
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