feat: Add face emotion model

This commit is contained in:
yakhyo
2025-04-11 13:56:50 +09:00
parent 282737e0e9
commit 6a7ba6fc0a
5 changed files with 253 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ def extract_reference_embedding(detector, recognizer, image_path):
return embedding
def run_video(detector, recognizer, ref_embedding, threshold=0.45):
def run_video(detector, recognizer, ref_embedding, threshold=0.30):
cap = cv2.VideoCapture(0)
if not cap.isOpened():
raise RuntimeError("Webcam could not be opened.")