Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

The python library always loads all images in the known people folder #41

Open
Skarlso opened this issue Oct 22, 2021 · 1 comment
Open

Comments

@Skarlso
Copy link
Owner

Skarlso commented Oct 22, 2021

Once there are a gazillion images, that will definitely be a problem. Probably should cache those images and refresh the cache from time to time.

@Skarlso
Copy link
Owner Author

Skarlso commented Oct 22, 2021

On startup, pre-load all images using https://github.com/ageitgey/face_recognition/blob/master/examples/recognize_faces_in_pictures.py

and save them in a dict for easy name or image compare.

I wonder which would be better. Calling the compare_faces with a list of encodings and then looking through the array to find the first True... or have a dict and call it with a single image multiple times.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant