A package to compare face similarity from documents and original image.
Project description
Person Image Verification Package
Overview
The Person Image Verification Package allows users to upload a document containing an image of a person and an original image of a person. It then determines whether the person in both images is the same or different. This package leverages advanced image processing and machine learning techniques to provide accurate results. A package to compare face similarity using HOG features and cosine similarity.
Features
- Image Upload: Upload any document containing an image of a person.
- Original Image Comparison: Upload an original image of the person for comparison.
- Verification: Determine whether the person in both images is the same or different.
- Easy Integration: Simple and straightforward integration into any project.
Installation
pip install Face_Similarity
Example Usage
from face_similarity.similarity import compare_faces
image_path_1 = 'path/to/Document_image.jpg'
image_path_2 = 'path/to/original_image.jpg'
result = compare_faces(image_path_1, image_path_2)
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
face_similarity-0.0.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for face_similarity-0.0.2-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | ef984570ef232ff3b690912a27519b6f13bc19675e0ac43e5c8dc3f9f73a496e |
|
| MD5 | 7cabf045e315ddf8a62eae4ad6f3d679 |
|
| BLAKE2b-256 | a806147340a62373ba3b84071a597dc9aaa499169a8a6a1b3d3128246642d8c1 |