Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
AI Face comparison using FaceNet, compare two photos and see if they are the same person.
pip install face-compare
Use compare_faces.py
to compare two images of people to see if they are the same person.
compare_faces.py --image-one /path/to/image_one.png --image-two /path/to/image_two.png
Optionally output the cropped image output to a directory (useful for inspecting input to AI model)
compare_faces.py --image-one /path/to/image_one.png --image-two /path/to/image_two.png -s /path/to/outputs/
If you are trying to run the module without a suitable GPU, you may run into the following error message:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Default MaxPoolingOp only supports NHWC on device type CPU
To fix this issue with Intel CPU architecture, you can install the TensorFlow Intel Optimization package via
pip install intel-tensorflow
This module uses the AI model FaceNet, which can be found here, and the journal article here.
FAQs
Compare if two faces are from the same person.
We found that face-compare demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.