lehoangduc / face-recognition-api

⭐️Facial Recognition API made easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Face Recognition API

An Open-source built on top of Python and NodeJs that lets you build your own Face Recognition API

Requiments

Installation

$ cd api
$ npm install
$ cp .env.example .env

$ pip3 install zerorpc

How It Works

User request an URL <==> NodeJs API (Download image from URL) <==> Python RPC Server (Identify the face from known images)

Quick Start

  • Edit variables in .env file
  • Copy person pictures you already know to "examples/images" folder
  • Run commands
# Start RPC server
$ cd rpc
$ python3 server.py -h 127.0.0.1 -p 8001 -d examples/images

# Start NodeJs API service
$ cd api
$ npm start

# Run with example URL
$ curl http://127.0.0.1:8000/find?url=http://media.doanhnghiepvn.vn/Images/thuphuong/2016/11/18/obama.jpg

Contributing

All contributions are welcome to help improve Face Recognition API.

License

MIT

Copyright (c) 2017-present, Golr

About

⭐️Facial Recognition API made easy

License:MIT License


Languages

Language:JavaScript 80.5%Language:Python 19.5%