Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
ad69756b
Commit
ad69756b
authored
Aug 18, 2015
by
Vladimir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restored *protected:*' in tracker.hpp
parent
bae3dac9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
multiTracker.cpp
modules/tracking/src/multiTracker.cpp
+7
-7
No files found.
modules/tracking/src/multiTracker.cpp
View file @
ad69756b
...
...
@@ -130,7 +130,7 @@ namespace cv
trackerPtr
=
trackers
[
k
];
tracker
=
static_cast
<
tld
::
TrackerTLDImpl
*>
(
trackerPtr
);
//TLD Model Extraction
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
model
));
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
getModel
()
));
data
=
tracker
->
data
;
data
->
frameNum
++
;
...
...
@@ -311,7 +311,7 @@ namespace cv
trackerPtr
=
trackers
[
k
];
tracker
=
static_cast
<
tld
::
TrackerTLDImpl
*>
(
trackerPtr
);
//TLD Model Extraction
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
model
));
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
getModel
()
));
//Optimized variance calculation
bool
varPass
=
(
windowVar
>
tld
::
VARIANCE_THRESHOLD
*
*
tldModel
->
detector
->
originalVariancePtr
);
...
...
@@ -340,7 +340,7 @@ namespace cv
trackerPtr
=
trackers
[
k
];
tracker
=
static_cast
<
tld
::
TrackerTLDImpl
*>
(
trackerPtr
);
//TLD Model Extraction
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
model
));
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
getModel
()
));
for
(
int
i
=
0
;
i
<
(
int
)
varBuffer
[
k
].
size
();
i
++
)
...
...
@@ -382,7 +382,7 @@ namespace cv
trackerPtr
=
trackers
[
k
];
tracker
=
static_cast
<
tld
::
TrackerTLDImpl
*>
(
trackerPtr
);
//TLD Model Extraction
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
model
));
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
getModel
()
));
npos
=
0
;
nneg
=
0
;
...
...
@@ -505,7 +505,7 @@ namespace cv
trackerPtr
=
trackers
[
k
];
tracker
=
static_cast
<
tld
::
TrackerTLDImpl
*>
(
trackerPtr
);
//TLD Model Extraction
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
model
));
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
getModel
()
));
//Optimized variance calculation
bool
varPass
=
(
windowVar
>
tld
::
VARIANCE_THRESHOLD
*
*
tldModel
->
detector
->
originalVariancePtr
);
...
...
@@ -534,7 +534,7 @@ namespace cv
trackerPtr
=
trackers
[
k
];
tracker
=
static_cast
<
tld
::
TrackerTLDImpl
*>
(
trackerPtr
);
//TLD Model Extraction
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
model
));
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
getModel
()
));
for
(
int
i
=
0
;
i
<
(
int
)
varBuffer
[
k
].
size
();
i
++
)
...
...
@@ -576,7 +576,7 @@ namespace cv
trackerPtr
=
trackers
[
k
];
tracker
=
static_cast
<
tld
::
TrackerTLDImpl
*>
(
trackerPtr
);
//TLD Model Extraction
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
model
));
tldModel
=
((
tld
::
TrackerTLDModel
*
)
static_cast
<
TrackerModel
*>
(
tracker
->
getModel
()
));
npos
=
0
;
nneg
=
0
;
maxSc
=
-
5.0
;
...
...
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