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
35de9101
"tests/vscode:/vscode.git/clone" did not exist on "da5ab51d5458b415c822854ad1469008f686f75e"
Commit
35de9101
authored
Jun 23, 2014
by
Davis King
Browse files
Clarified the thread safety of evaluate_detectors().
parent
dd3bf1f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dlib/image_processing/scan_fhog_pyramid_abstract.h
dlib/image_processing/scan_fhog_pyramid_abstract.h
+6
-0
No files found.
dlib/image_processing/scan_fhog_pyramid_abstract.h
View file @
35de9101
...
@@ -744,6 +744,9 @@ namespace dlib
...
@@ -744,6 +744,9 @@ namespace dlib
- #dets[i].detection_confidence >= adjust_threshold
- #dets[i].detection_confidence >= adjust_threshold
This means that, for example, you can obtain the maximum possible number of
This means that, for example, you can obtain the maximum possible number of
detections by setting adjust_threshold equal to negative infinity.
detections by setting adjust_threshold equal to negative infinity.
- This function is threadsafe in the sense that multiple threads can call
evaluate_detectors() with the same instances of detectors and img without
requiring a mutex lock.
!*/
!*/
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
@@ -766,6 +769,9 @@ namespace dlib
...
@@ -766,6 +769,9 @@ namespace dlib
- This function just calls the above evaluate_detectors() routine and copies
- This function just calls the above evaluate_detectors() routine and copies
the output dets into a vector<rectangle> object and returns it. Therefore,
the output dets into a vector<rectangle> object and returns it. Therefore,
this function is provided for convenience.
this function is provided for convenience.
- This function is threadsafe in the sense that multiple threads can call
evaluate_detectors() with the same instances of detectors and img without
requiring a mutex lock.
!*/
!*/
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
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