face_picture_comparator
Description.
The package face_picture_comparator is used to:
- Delimit face
- Confront faces
- Confront faces message
- 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
# the image containing the contour of the face should not be used as input to face comparison methods
# (confront_faces_message and confront_faces)
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")
message_result = comparation.confront_faces_message(image, image_compare)
# result_confront_faces returns a string informing whether or not the faces belong to the same person and the distance between them
comparison_result = comparation.confront_faces(image, image_compare)
# returns a tuple where the first value is a boolean, which says whether or not the faces belong to the same person, and the second
# value is a float that represents the distance between the faces
plot.plot_result(image, image_compare, message_result)
# 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
Metadata
Release files for face-picture-comparator 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| face_picture_comparator-0.0.4.tar.gz | 2.8 kB | Without provenance | Details for face_picture_comparator-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| face_picture_comparator-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for face_picture_comparator-0.0.4-py3-none-any.whl |
Total release size: 8.0 kB
Release files / face_picture_comparator-0.0.4.tar.gz
| Download URL | face_picture_comparator-0.0.4.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfad05f381bd3afaaa16a4f50b8b64264ca1fd03b315270025e0cdf79849e3f6
|
|
BLAKE2b-256 checksum How to use checksums |
253d3af82153976800f4cec69f190f5804131d9f9b22c37b28a34f727ea98d67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Release files / face_picture_comparator-0.0.4-py3-none-any.whl
| Download URL | face_picture_comparator-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72c13b5d0565e277e0a2a8d4492b25c8cc0f5c7edf031c00805993cb8011e898
|
|
BLAKE2b-256 checksum How to use checksums |
0a4255ad65cac734a2dbf100189ac730eba439ad7e107fe201a0013a1c6f4fb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Security for face-picture-comparator 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.