# 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
```python
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)
Raw data
{
"_id": null,
"home_page": "https://github.com/mfurqanjaved/Face_similarity.git",
"name": "face-similarity",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Muhammad Furqan Javed",
"author_email": "mfurqanjaved@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/1a/ed/e65cecdb2433c21b58d5d489cf3ddb910d8d1c13aabf5d0773b9a7e3f16d/face_similarity-0.0.2.tar.gz",
"platform": null,
"description": "# Person Image Verification Package\r\n\r\n## Overview\r\nThe 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.\r\nA package to compare face similarity using HOG features and cosine similarity.\r\n\r\n## Features\r\n- Image Upload: Upload any document containing an image of a person.\r\n- Original Image Comparison: Upload an original image of the person for comparison.\r\n- Verification: Determine whether the person in both images is the same or different.\r\n- Easy Integration: Simple and straightforward integration into any project.\r\n\r\n## Installation\r\n`pip install Face_Similarity`\r\n\r\n## Example Usage\r\n```python\r\nfrom face_similarity.similarity import compare_faces\r\n\r\nimage_path_1 = 'path/to/Document_image.jpg'\r\nimage_path_2 = 'path/to/original_image.jpg'\r\n\r\nresult = compare_faces(image_path_1, image_path_2)\r\nprint(result)\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A package to compare face similarity from documents and original image.",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/mfurqanjaved/Face_similarity.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a806147340a62373ba3b84071a597dc9aaa499169a8a6a1b3d3128246642d8c1",
"md5": "7cabf045e315ddf8a62eae4ad6f3d679",
"sha256": "ef984570ef232ff3b690912a27519b6f13bc19675e0ac43e5c8dc3f9f73a496e"
},
"downloads": -1,
"filename": "face_similarity-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7cabf045e315ddf8a62eae4ad6f3d679",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 2758,
"upload_time": "2024-08-08T10:09:27",
"upload_time_iso_8601": "2024-08-08T10:09:27.771387Z",
"url": "https://files.pythonhosted.org/packages/a8/06/147340a62373ba3b84071a597dc9aaa499169a8a6a1b3d3128246642d8c1/face_similarity-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1aede65cecdb2433c21b58d5d489cf3ddb910d8d1c13aabf5d0773b9a7e3f16d",
"md5": "ef907d2bf14d388776ef99c93ef6ce4d",
"sha256": "2e6ac4e45ce35d619ce81e2f40e9d52b46a10b3c895ada0cbaa2ecd4f1d6f30b"
},
"downloads": -1,
"filename": "face_similarity-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "ef907d2bf14d388776ef99c93ef6ce4d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 2488,
"upload_time": "2024-08-08T10:09:29",
"upload_time_iso_8601": "2024-08-08T10:09:29.637062Z",
"url": "https://files.pythonhosted.org/packages/1a/ed/e65cecdb2433c21b58d5d489cf3ddb910d8d1c13aabf5d0773b9a7e3f16d/face_similarity-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-08 10:09:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mfurqanjaved",
"github_project": "Face_similarity",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "face-similarity"
}