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, I just want to make sure of the preprocessing method for the arcface model is the one here below or the one named inv_preprocess here
Because, when i tried to use the preprocessing the 512 embedding output is always random, but when i tried to use for example facenet preprocessing input, the embedding output is similar each time its generated.
I am looking forward to hear the explanation, Thank You !
The text was updated successfully, but these errors were encountered:
img=#aligned image of face of size 112x112 or what ever size you are looking forself.input_size= (112, 112)
self.input_mean=127.5self.input_std=127.5blob=cv2.dnn.blobFromImage(img, 1.0/self.input_std, self.input_size,
(self.input_mean, self.input_mean, self.input_mean), swapRB=True)
Hi, I just want to make sure of the preprocessing method for the arcface model is the one here below or the one named inv_preprocess here
Because, when i tried to use the preprocessing the 512 embedding output is always random, but when i tried to use for example facenet preprocessing input, the embedding output is similar each time its generated.
I am looking forward to hear the explanation, Thank You !
The text was updated successfully, but these errors were encountered: