ref: Update some modules and remove redundant parts

This commit is contained in:
yakhyo
2025-05-08 17:11:13 +09:00
parent b35b1a3f7c
commit fb29a919b1
6 changed files with 323 additions and 228 deletions

View File

@@ -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