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
35de9101
Commit
35de9101
authored
Jun 23, 2014
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified the thread safety of evaluate_detectors().
parent
dd3bf1f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
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