added performance test for LBP classifier.

This commit is contained in:
Marina Kolpakova
2012-07-04 12:11:07 +00:00
parent 51f6127e0a
commit 248f39e13e
6 changed files with 57 additions and 10 deletions

View File

@@ -350,7 +350,9 @@ int cv::gpu::CascadeClassifier_GPU_LBP::detectMultiScale(const GpuMat& image, Gp
if (groupThreshold <= 0 || objects.empty())
return 0;
return cv::gpu::device::lbp::connectedConmonents(candidates, groupThreshold, grouping_eps, dclassified);
cv::gpu::device::lbp::connectedConmonents(candidates, groupThreshold, grouping_eps, dclassified);
cudaSafeCall( cudaDeviceSynchronize() );
return *classified;
}
// ============ old fashioned haar cascade ==============================================//