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
4483a0bc
Commit
4483a0bc
authored
Jun 30, 2015
by
Vladimir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing Warnings #4
parent
fcd1a682
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tldDetector.cpp
modules/tracking/src/tldDetector.cpp
+3
-3
No files found.
modules/tracking/src/tldDetector.cpp
View file @
4483a0bc
...
...
@@ -513,7 +513,7 @@ namespace cv
//e1 = getTickCount();
for
(
int
i
=
0
;
i
<
(
int
)
varBuffer
.
size
();
i
++
)
{
prepareClassifiers
(
(
int
)
blurred_imgs
[
varScaleIDs
[
i
]].
step
[
0
]
);
prepareClassifiers
(
static_cast
<
int
>
(
blurred_imgs
[
varScaleIDs
[
i
]].
step
[
0
])
);
if
(
ensembleClassifierNum
(
&
blurred_imgs
[
varScaleIDs
[
i
]].
at
<
uchar
>
(
varBuffer
[
i
].
y
,
varBuffer
[
i
].
x
))
<=
ENSEMBLE_THRESHOLD
)
continue
;
ensBuffer
.
push_back
(
varBuffer
[
i
]);
...
...
@@ -582,7 +582,7 @@ namespace cv
int
scaleID
;
std
::
vector
<
Mat
>
resized_imgs
,
blurred_imgs
;
std
::
vector
<
Point
>
varBuffer
,
ensBuffer
;
std
::
vector
<
double
>
varScaleIDs
,
ensScaleIDs
;
std
::
vector
<
int
>
varScaleIDs
,
ensScaleIDs
;
//int64 e1, e2;
//double t;
...
...
@@ -636,7 +636,7 @@ namespace cv
//NN classification
//e1 = getTickCount();
//Prepare batch of patches
int
numOfPatches
=
ensBuffer
.
size
();
int
numOfPatches
=
(
int
)
ensBuffer
.
size
();
Mat_
<
uchar
>
stdPatches
(
numOfPatches
,
225
);
double
*
resultSr
=
new
double
[
numOfPatches
];
double
*
resultSc
=
new
double
[
numOfPatches
];
...
...
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