VeuReu commited on
Commit
c0a953e
·
verified ·
1 Parent(s): 9cbc99e

Upload 2 files

Browse files
Files changed (1) hide show
  1. api.py +3 -0
api.py CHANGED
@@ -579,9 +579,12 @@ def process_video_job(job_id: str):
579
 
580
  print(f"[{job_id}] [VALIDATION] Cluster {char_id}: validant millor cara (bbox_area={best_face['score']:.0f}px²)")
581
  print(f"[{job_id}] [VALIDATION] Cluster {char_id}: millor cara path={best_face_path}")
 
582
 
583
  validation = validate_and_classify_face(str(best_face_path))
584
 
 
 
585
  if not validation:
586
  print(f"[{job_id}] [VALIDATION] ✗ Cluster {char_id}: error en validació DeepFace, eliminant cluster")
587
  continue
 
579
 
580
  print(f"[{job_id}] [VALIDATION] Cluster {char_id}: validant millor cara (bbox_area={best_face['score']:.0f}px²)")
581
  print(f"[{job_id}] [VALIDATION] Cluster {char_id}: millor cara path={best_face_path}")
582
+ print(f"[{job_id}] [VALIDATION] ▶▶▶ CRIDANT validate_and_classify_face() ◀◀◀")
583
 
584
  validation = validate_and_classify_face(str(best_face_path))
585
 
586
+ print(f"[{job_id}] [VALIDATION] ▶▶▶ validate_and_classify_face() RETORNAT ◀◀◀")
587
+
588
  if not validation:
589
  print(f"[{job_id}] [VALIDATION] ✗ Cluster {char_id}: error en validació DeepFace, eliminant cluster")
590
  continue