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
63a86ac4
Commit
63a86ac4
authored
Mar 16, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #187 from Auron-X/tracking_TLD_bug_fixes
Bug fix #1
parents
ec2b3ed6
afa9e933
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tld_utils.cpp
modules/tracking/src/tld_utils.cpp
+2
-2
No files found.
modules/tracking/src/tld_utils.cpp
View file @
63a86ac4
...
...
@@ -359,8 +359,8 @@ int TLDEnsembleClassifier::code(const uchar* data, int rowstep) const
for
(
int
i
=
0
;
i
<
(
int
)
measurements
.
size
();
i
++
)
{
position
=
position
<<
1
;
if
(
*
(
data
+
rowstep
*
measurements
[
i
].
val
[
0
]
+
measurements
[
i
].
val
[
1
])
<
*
(
data
+
rowstep
*
measurements
[
i
].
val
[
2
]
+
measurements
[
i
].
val
[
3
])
)
if
(
*
(
data
+
rowstep
*
measurements
[
i
].
val
[
2
]
+
measurements
[
i
].
val
[
0
])
<
*
(
data
+
rowstep
*
measurements
[
i
].
val
[
3
]
+
measurements
[
i
].
val
[
1
])
)
{
position
++
;
}
...
...
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