Script fixes, and confidence correction where it should be (not in the executable scripts), starting work on capture in utilities

This commit is contained in:
Tadas Baltrusaitis
2017-11-08 09:02:50 +00:00
parent 815cb58b30
commit 9c1fc21da1
17 changed files with 129 additions and 34 deletions

View File

@@ -488,6 +488,10 @@ double DetectionValidator::Check(const cv::Vec3d& orientation, const cv::Mat_<uc
//dec = CheckCNN(warped, id);
dec = CheckCNN_tbb(warped, id);
}
// Convert it to a more interpretable signal (0 low confidence, 1 high confidence)
dec = 0.5 * (1 - dec);
return dec;
}