mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-08-27 03:07:46 +00:00
Some more adaptation to get the first version of interface working with FaceLandmarkVid
This commit is contained in:
@@ -377,6 +377,9 @@ float DetectionValidator::Check(const cv::Vec3d& orientation, const cv::Mat_<uch
|
||||
// The actual validation step
|
||||
double dec = CheckCNN(warped, id);
|
||||
|
||||
// Convert it to a more interpretable signal (0 low confidence, 1 high confidence)
|
||||
dec = 0.5 * (1.0 - dec);
|
||||
|
||||
return (float)dec;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user