Industry leading face manipulation platform
Update face store to faster hashing
henryruhs93756d129510
diff --git a/facefusion/face_store.py b/facefusion/face_store.pyindex 59e6d5d1..ccb83803 100644--- a/facefusion/face_store.py+++ b/facefusion/face_store.py@@ -1,8 +1,8 @@-import hashlibfrom typing import List, Optionalimport numpy+from facefusion.hash_helper import create_hashfrom facefusion.types import Face, FaceSet, FaceStore, VisionFrameFACE_STORE : FaceStore =\@@ -35,7 +35,7 @@ def clear_static_faces() -> None:def create_frame_hash(vision_frame : VisionFrame) -> Optional[str]:if numpy.any(vision_frame):- frame_hash = hashlib.blake2b(vision_frame.tobytes(), digest_size = 16).hexdigest()+ frame_hash = create_hash(vision_frame.tobytes())return frame_hashreturn None