Industry leading face manipulation platform
Use different hashing for the face store
henryruhs27f77f92fbbe
diff --git a/facefusion/face_store.py b/facefusion/face_store.pyindex eb576a1b..fe888565 100644--- a/facefusion/face_store.py+++ b/facefusion/face_store.py@@ -34,8 +34,10 @@ def clear_static_faces() -> None:def create_frame_hash(vision_frame : VisionFrame) -> Optional[str]:- return hashlib.sha1(vision_frame.tobytes()).hexdigest() if numpy.any(vision_frame) else None-+ if numpy.any(vision_frame):+ frame_hash = hashlib.blake2b(vision_frame.tobytes(), digest_size = 16).hexdigest()+ return frame_hash+ return Nonedef get_reference_faces() -> Optional[FaceSet]:if FACE_STORE['reference_faces']: