You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pair<double, bool> res = sface.match(img1, face1_features, img2, face2_features);
When I use the image and the detected facial feature information using YuNet for inference with this model, the result is as follows:
In any case, the facial matching score is always 1! This is not normal.
The text was updated successfully, but these errors were encountered:
YuNet model("/home/hy/code/face_detection_yunet_2023mar.onnx", cv::Size(160, 120), 0.9, 0.3, 5000, 0, 0);
SFace sface("/home/hy/code/face_recognition_sface_2021dec_int8.onnx",0,0,0);
DetectedFace dface1,dface2;
// std::cout<<"scores:"<<static_cast(dface1.faces.at(0, 14))<<std::endl;
cv::Range cols_range(0, 13);
cv::Mat face1_features = dface1.faces.row(0).colRange(cols_range);
cv::Mat face2_features = dface2.faces.row(0).colRange(cols_range);
When I use the image and the detected facial feature information using YuNet for inference with this model, the result is as follows:
In any case, the facial matching score is always 1! This is not normal.
The text was updated successfully, but these errors were encountered: