-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the question of face_recognition_sface_2021dec_int8 for java #187
Comments
FaceRecognizerSF faceRecognizerSF = FaceRecognizerSF.create("C:/Users/y1793/Downloads/face_recognition_sface_2021dec.onnx", "");
Mat alignFaceA = new Mat();
faceRecognizerSF.alignCrop(imageA, faceA, alignFaceA);
Mat alignFaceB = new Mat();
faceRecognizerSF.alignCrop(imageB, faceB, alignFaceB);
Mat featureA = new Mat();
faceRecognizerSF.feature(alignFaceA, featureA);
Mat featureB = new Mat();
faceRecognizerSF.feature(alignFaceB, featureB); |
Check whether |
|
See Python demo:
opencv_zoo/models/face_recognition_sface/sface.py Lines 54 to 63 in f872270
A face box should be sent to
, where |
|
hi @fengyuentau +1 for this, i think something is wrong with the model scoring. i tested 2 faces that are very different, yet the score indicates it was identical. |
|
hi @fengyuentau , I think the |
@12341234-yangboran Could you doublecheck with the Python demo as well with your images as input? |
You need clone the result of face recogniz feature to a new entity。 |
like this |
Yes that is right, it works. I think you could close this issue since it seemed the issue is solved. |
The text was updated successfully, but these errors were encountered: