Skip to main content

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


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 details)

Uploaded Source

Built Distribution

face_similarity-0.0.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file face_similarity-0.0.2.tar.gz.

File metadata

  • Download URL: face_similarity-0.0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for face_similarity-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2e6ac4e45ce35d619ce81e2f40e9d52b46a10b3c895ada0cbaa2ecd4f1d6f30b
MD5 ef907d2bf14d388776ef99c93ef6ce4d
BLAKE2b-256 1aede65cecdb2433c21b58d5d489cf3ddb910d8d1c13aabf5d0773b9a7e3f16d

See more details on using hashes here.

File details

Details for the file face_similarity-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for face_similarity-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef984570ef232ff3b690912a27519b6f13bc19675e0ac43e5c8dc3f9f73a496e
MD5 7cabf045e315ddf8a62eae4ad6f3d679
BLAKE2b-256 a806147340a62373ba3b84071a597dc9aaa499169a8a6a1b3d3128246642d8c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page