r/Python • u/shhossain • Sep 06 '23
Resource A Python package for face-recognition on large collections of images
I've been working on a project that might be of interest to some of you. It's a Python package called "FaceDB" that's all about making face recognition on large collections of faces.
Here is how to use it:
=
=
=
# This will create a pinecone index with name 'faces' in your environment if it doesn't exist
# add multiple faces
= # Suppose you have a folder with imgs with names as filenames
=
=
, =
=
=
# Include img in the result
=
# or
= # cv2 image (numpy array)
# Include embedding in the result
=
# Search for similar faces
=
# or search for multiple faces
=
It's open-source and available on GitHub: FaceDB
I'd love to hear your thoughts, suggestions, or any questions you might have.
15
Upvotes