We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let's migrate to insightface huggingface model to do face feature extraction? Need to figure out how to verify by the model -
import cv2 from insightface.app import FaceAnalysis import torch app = FaceAnalysis(name="buffalo_l", providers=['CUDAExecutionProvider', 'CPUExecutionProvider']) app.prepare(ctx_id=0, det_size=(640, 640)) image = cv2.imread("person.jpg") faces = app.get(image) faceid_embeds = torch.from_numpy(faces[0].normed_embedding).unsqueeze(0)
Current implementation - https://gitlab.com/inferencetraining.ai/faceAuth/-/blob/master/FaceAuth.py?ref_type=heads
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Let's migrate to insightface huggingface model to do face feature extraction? Need to figure out how to verify by the model -
Current implementation - https://gitlab.com/inferencetraining.ai/faceAuth/-/blob/master/FaceAuth.py?ref_type=heads
The text was updated successfully, but these errors were encountered: