Commit 927dccb4 authored by Anatoly Baksheev's avatar Anatoly Baksheev

fixed compilation WITH_TBB

parent 1c18e5fe
......@@ -224,10 +224,8 @@ namespace cv
tvec.copyTo(initTvec);
}
private:
PnPSolver& operator=(const PnPSolver&);
PnPSolver(const PnPSolver&);
const Mat& objectPoints;
const Mat& imagePoints;
const Parameters& parameters;
......
......@@ -272,7 +272,7 @@ int searchObjectThreshold(const CvLSVMFeaturePyramid *H,
float scoreThreshold,
CvPoint **points, int **levels, int *kPoints,
float **score, CvPoint ***partsDisplacement,
int /*numThreads*/)
int numThreads)
{
int opResult;
......@@ -294,6 +294,8 @@ int searchObjectThreshold(const CvLSVMFeaturePyramid *H,
scoreThreshold,
score, points, levels,
kPoints, partsDisplacement);
(void)numThreads;
#endif
if (opResult != LATENT_SVM_OK)
{
......@@ -551,7 +553,7 @@ int searchObjectThresholdSomeComponents(const CvLSVMFeaturePyramid *H,
const float *b, float scoreThreshold,
CvPoint **points, CvPoint **oppPoints,
float **score, int *kPoints,
int /*numThreads*/)
int numThreads)
{
int error = 0;
int i, j, s, f, componentIndex;
......@@ -592,6 +594,7 @@ int searchObjectThresholdSomeComponents(const CvLSVMFeaturePyramid *H,
return LATENT_SVM_SEARCH_OBJECT_FAILED;
}
#else
(void)numThreads;
searchObjectThreshold(H, &(filters[componentIndex]), kPartFilters[i],
b[i], maxXBorder, maxYBorder, scoreThreshold,
&(pointsArr[i]), &(levelsArr[i]), &(kPointsArr[i]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment