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
Commit
da73e4bd
authored
Dec 08, 2013
by
Davis King
Browse files
Changed requires clause slightly to increase usability.
parent
be31bd47
Changes
2
Show 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
)
{
// make sure requires clause is not broken
DLIB_ASSERT
(
thresh
>
0
,
DLIB_ASSERT
(
thresh
>
=
0
,
"
\t
object_detector threshold_filter_singular_values()"
<<
"
\n\t
Invalid inputs were given to this function."
<<
"
\n\t
thresh: "
<<
thresh
...
...
dlib/image_processing/scan_fhog_pyramid_abstract.h
View file @
da73e4bd
...
...
@@ -66,7 +66,7 @@ namespace dlib
);
/*!
requires
- thresh > 0
- thresh >
=
0
- weight_index < detector.num_detectors()
- detector.get_w(weight_index).size() >= detector.get_scanner().get_num_dimensions()
(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