Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
41c47a84
Commit
41c47a84
authored
Oct 26, 2016
by
E Sommerlade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restored Parameters() constructor to maintain ABI compatibility. Added CV_EXPORTS to nested class
parent
d0474a9b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
detection_based_tracker.hpp
...ect/include/opencv2/objdetect/detection_based_tracker.hpp
+2
-6
detection_based_tracker.cpp
modules/objdetect/src/detection_based_tracker.cpp
+6
-0
No files found.
modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp
View file @
41c47a84
...
...
@@ -59,16 +59,12 @@ namespace cv
class
CV_EXPORTS
DetectionBasedTracker
{
public
:
struct
Parameters
struct
CV_EXPORTS
Parameters
{
int
maxTrackLifetime
;
int
minDetectionPeriod
;
//the minimal time between run of the big object detector (on the whole frame) in ms (1000 mean 1 sec), default=0
Parameters
()
{
maxTrackLifetime
=
5
;
minDetectionPeriod
=
0
;
}
Parameters
();
};
class
IDetector
...
...
modules/objdetect/src/detection_based_tracker.cpp
View file @
41c47a84
...
...
@@ -578,6 +578,12 @@ bool cv::DetectionBasedTracker::SeparateDetectionWork::communicateWithDetectingT
return
shouldHandleResult
;
}
cv
::
DetectionBasedTracker
::
Parameters
::
Parameters
()
{
maxTrackLifetime
=
5
;
minDetectionPeriod
=
0
;
}
cv
::
DetectionBasedTracker
::
InnerParameters
::
InnerParameters
()
{
numLastPositionsToTrack
=
4
;
...
...
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