Two face comparison pack
Project description
face_picture_comparator
Description.
The package face_picture_comparator is used to:
- Delimit face
- Confront faces
- Plot image
- Plot result
- Get image file
Installation
Use the package manager pip to install face_picture_comparator
pip install face_picture_comparator
Usage
from face_picture_comparator import load_img
image = load_img.get_image_file("my_image.jpg")
image = load_img.delimit_face(image)
# delimit_face returns an image with a rectangle delimiting the first face detected in the input image
from face_picture_comparator import load_img
from face_picture_comparator import comparation
from face_picture_comparator import plot
image = load_img.get_image_file("my_image.jpg")
image_compare = load_img.get_image_file("other_image.jpg")
result_message = comparation.confront_faces(image, image_compare)
# confront_image returns a string informing whether or not the faces belong to the same person and the distance between them
plot.plot_result(image, image_compare, result_message)
# plot_result displays the images and the massage using matplotlib library
from face_picture_comparator import load_img
from face_picture_comparator import plot
image = load_img.get_image_file("my_image.jpg")
plot.plot_image(image)
# plot_image displays the image using matplotlib library
Author
Ronaldo Nunes
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for face_picture_comparator-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a9c4d775acac0a3162c29c797934cfeef559d076f4d30006515f8ae38a8c987 |
|
MD5 | 29a95c93e3268684bddbbda7bbb715dd |
|
BLAKE2b-256 | ab2e6dd9551ea4ef2b4899b85dc16105cca76f9c73ce036e73c93bc6f1631dc9 |
Close
Hashes for face_picture_comparator-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 243f509514a1d6207767bcbdf2eefbfdb9494d2bc4cd42fc989b90536b535b6d |
|
MD5 | 1d57f3c057caa17eee84567618252f20 |
|
BLAKE2b-256 | 9497d668288879fd44eb5751bd8da2d141453ac889d655a0ff894ea6ed9cc0d0 |