1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

fixed parser bug.

fixed TBB version in LatentSVM.
example works ok.
This commit is contained in:
Evgeniy Kozinov
2011-07-15 06:35:12 +00:00
parent a9508d2f67
commit c3e9d0dd7e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1575,7 +1575,7 @@ int tbbThresholdFunctionalScore(const CvLSVMFilterObject **all_F, int n,
// Computation the number of levels for seaching object,
// first lambda-levels are used for computation values
// of score function for each position of root filter
numLevels = H->numLevels;
numLevels = H->numLevels - LAMBDA;
kLevels = (int *)malloc(sizeof(int) * threadsNum);
procLevels = (int **)malloc(sizeof(int*) * threadsNum);
computeBorderSize(maxXBorder, maxYBorder, &bx, &by);