mirror of
https://github.com/yakhyo/uniface.git
synced 2025-12-30 09:02:25 +00:00
ref: Update some modules and remove redundant parts
This commit is contained in:
@@ -18,7 +18,6 @@ def extract_reference_embedding(detector, recognizer, image_path):
|
||||
raise RuntimeError("No faces found in reference image.")
|
||||
|
||||
embedding = recognizer.get_embedding(image, landmarks[0])
|
||||
print(f"Reference embedding extracted (L2 norm = {np.linalg.norm(embedding):.4f})")
|
||||
return embedding
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user