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
Hi @shubham0204, I'm trying out your app and I have noticed an issue. When the FaceNet useGpu parameter is set to false, the app seems to recognize every face as the same person. This appears to be because faceNet.getFaceEmbedding() method is consistently returning the same value.
Have you encountered this before, and do you have any suggestions on how to address it for devices that don't support GPU delegate?
Steps to reproduce the issue:
In AppModule, change the provideFaceNetEmbeddingModel method to set useGpu to false when creating FaceNet instance:
fun provideFaceNetEmbeddingModel(context: Application): FaceNet {
return FaceNet(context, false)
}
Run the app and add a new face
Point the camera to any face. It will always be recognized as the one you just added.
The text was updated successfully, but these errors were encountered:
@leandro-miguenz How did you know that the model is producing the same embedding? Can you add a log statement in FaceNet.kt and check if the embeddings (vectors) are the same even for different faces?
Hi @shubham0204, I'm trying out your app and I have noticed an issue. When the FaceNet
useGpu
parameter is set to false, the app seems to recognize every face as the same person. This appears to be becausefaceNet.getFaceEmbedding()
method is consistently returning the same value.Have you encountered this before, and do you have any suggestions on how to address it for devices that don't support GPU delegate?
Steps to reproduce the issue:
provideFaceNetEmbeddingModel
method to setuseGpu
to false when creating FaceNet instance:Run the app and add a new face
Point the camera to any face. It will always be recognized as the one you just added.
The text was updated successfully, but these errors were encountered: