All Projects → danielgatis → facematch

danielgatis / facematch

Licence: MIT license
Facematch is a tool to verifies if two photos contain the same person.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to facematch

FaceIDLight
A lightweight face-recognition toolbox and pipeline based on tensorflow-lite
Stars: ✭ 17 (-72.58%)
Mutual labels:  recognition, face, face-recognition
Imagedetect
✂️ Detect and crop faces, barcodes and texts in image with iOS 11 Vision api.
Stars: ✭ 286 (+361.29%)
Mutual labels:  recognition, face, face-recognition
timeline
Timeline - A photo organizer
Stars: ✭ 39 (-37.1%)
Mutual labels:  recognition, face, face-recognition
PyVGGFace
VGG-Face CNN descriptor in PyTorch.
Stars: ✭ 21 (-66.13%)
Mutual labels:  identity, face, face-recognition
DLCV2018SPRING
Deep Learning for Computer Vision (CommE 5052) in NTU
Stars: ✭ 38 (-38.71%)
Mutual labels:  recognition, face-recognition
small model face recognition
针对移动端的人脸识别需求,训练测试一些相关的小模型实验。
Stars: ✭ 27 (-56.45%)
Mutual labels:  recognition, face
Php Opencv Examples
Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)
Stars: ✭ 333 (+437.1%)
Mutual labels:  recognition, face
FaceNet-IOT
IOT implementation for FaceNet project by David Sandberg https://github.com/davidsandberg/facenet
Stars: ✭ 18 (-70.97%)
Mutual labels:  face, face-recognition
Dockerface
Face detection using deep learning.
Stars: ✭ 173 (+179.03%)
Mutual labels:  face, face-recognition
React Facial Feature Tracker
React Component for Facial Feature Recognition based on the clmtracker
Stars: ✭ 13 (-79.03%)
Mutual labels:  recognition, face
Face recognition
Face recognition docker image to provide a web service which is able to register and recognize faces
Stars: ✭ 74 (+19.35%)
Mutual labels:  recognition, face
Opencv Course
Learn OpenCV in 4 Hours - Code used in my Python and OpenCV course on freeCodeCamp.
Stars: ✭ 185 (+198.39%)
Mutual labels:  recognition, face-recognition
Pychubby
Automated face warping tool.
Stars: ✭ 240 (+287.1%)
Mutual labels:  face, face-recognition
Fbrecog
An unofficial python wrapper for the Facebook face recognition endpoint
Stars: ✭ 184 (+196.77%)
Mutual labels:  recognition, face
Php Opencv
php wrapper for opencv
Stars: ✭ 194 (+212.9%)
Mutual labels:  recognition, face
Faceimagequality
Code and information for face image quality assessment with SER-FIQ
Stars: ✭ 223 (+259.68%)
Mutual labels:  face, face-recognition
Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (+6.45%)
Mutual labels:  recognition, face
Face Recognition.js
Simple Node.js package for robust face detection and face recognition. JavaScript and TypeScript API.
Stars: ✭ 1,768 (+2751.61%)
Mutual labels:  face, face-recognition
Lookatme
VideoView that plays video only when 👀 are open and 👦 is detected with various other features
Stars: ✭ 161 (+159.68%)
Mutual labels:  face, face-recognition
Tf Siamesenet
Face recognition based on SiameseNet
Stars: ✭ 87 (+40.32%)
Mutual labels:  recognition, face

Facematch

Downloads Downloads Downloads License

Facematch is a tool to verifies if two photos contain the same person.

input1 input2 output result
{"match": true, "distance": 0.38913072553055295}
{"match": true, "distance": 0.5131670729305189}
{"match": true, "distance": 0.4370069082351905}
{"match": false, "distance": 0.7838337220196059}
{"match": false, "distance": 0.8705370438394476}

Installation

Install it from pypi

    pip install facematch

Usage as a cli

Without output image

    facematch input1.png input2.png

With output image

    facematch -o output.png input1.png input2.png

Usage as a library

In app.py

    from facematch.face import match

    f = open('img1.png', 'rb')
    data1 = f.read()
    f.close()

    f = open('img2.png', 'rb')
    data2 = f.read()
    f.close()

    result, distance, data = match(data1, data2)

    f = open('out.png', 'wb')
    f.write(data)
    f.close()

    print(distance)
    print(result)

Then run

    python app.py

License

Copyright (c) 2020-present Daniel Gatis

Licensed under MIT License

Buy me a coffee

Liked some of my work? Buy me a coffee (or more likely a beer)

Buy Me A Coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].