Skip to content

10zinten/face-recognition-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

face-recognition

This project is about Facial Recognition webservices through RestFul API that has been developed under the SRM Institute of Science and Technology B.Tech 2015 curriculum as Major project for final semester, 2019. Our team has implemented this webservices for enhancing the banking security through facial recognition with deep learning.

Installation

Linux Ubuntu 18.04 LTS

$ git clone https://github.com/10zinten/face-recognition.git
$ cd face-recognition-api
$ virtualenv env -p python3.6
$ source env/bin/activate
$ pip install -r requirements.txt

Usage

Start the server

$ cd app
$ python run.py

User registeration:

$ curl -X POST -F "[email protected]"  -F "[email protected]"  -F "[email protected]"  -F "[email protected]"  -F "[email protected]"  -F "userid=<userid>" http://0.0.0.0:5000/register

{
  "type": "registration",
  "status": succeed/failed,
  "userid": <userid>
  "face_detected": succeed/failed
}

user authentication:

$ curl -X POST -F "image=@<path-to-image>" -F "userid=<userid>" http://0.0.0.0:5000/auth

{
  "type": "auth",
  "status": succeed/failed, 
  "data_received": succeed/failed, 
  "user_id": <userid>
  "face_detected": succeed/failed
}

Client examples:

Releases

No releases published

Packages

No packages published

Languages