Skip to content

Conversation

Auron-X
Copy link
Contributor

@Auron-X Auron-X commented Mar 16, 2015

The bug appears on the initialization step, if the initial bounding box width was larger than height. The problem was in function calculating a binary code for ensemble classifiers. In this function “measurement” values were used in wrong order (h1,w1,h2,w2; instead of: w1,w2,h1,h2), generating a access violation error on “patch” data access by the reason that width>height and pointer to data is calculated linearly data.step*height+width

The bug appears on the initialization step, if the initial bounding box width was larger than height. The problem was in function calculating a binary code for ensemble classifiers. In this function “measurement” values were used in wrong order (h1,w1,h2,w2; instead of: w1,w2,h1,h2), generating a access violation error on “patch” data access by the reason that width>height and pointer to data is calculated linearly data.step*height+width
@vpisarev vpisarev self-assigned this Mar 16, 2015
@vpisarev
Copy link
Contributor

thanks! 👍

vpisarev added a commit that referenced this pull request Mar 16, 2015
@vpisarev vpisarev merged commit 63a86ac into opencv:master Mar 16, 2015
@Auron-X Auron-X deleted the tracking_TLD_bug_fixes branch March 16, 2015 10:43
@plutus666
Copy link

good!

@Auron-X Auron-X mentioned this pull request Mar 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants