项目作者: Jonsnow21

项目描述 :
Face Recognition Using Keras/tensorflow coupled with Node.js Server
高级语言: Python
项目地址: git://github.com/Jonsnow21/Face-Recognition.git
创建时间: 2018-03-18T18:59:45Z
项目社区:https://github.com/Jonsnow21/Face-Recognition

开源协议:

下载


Face Recognition based on FaceNet paper by Google researchers

A simple Face recognition AI coupled with Node.js server.
Following Technologies were used while building the software

Machine Learning

Image Processing

Server

Pub/Sub

API end point

Post localhost:3000/

  • Request Body to train

    You can send upto 10 images for each person
    image is an array of image files

note: you have to prepend “images/“ to each file name
I am planning to change this in future

  1. {
  2. "type": "train",
  3. "data": {
  4. "name": "String",
  5. "image": ["images/file1", "images/file2"]
  6. }
  7. }
  • Request Body to test

note: you have to prepend “images/“ to each file name
I am planning to change this in future

  1. {
  2. "type": "test",
  3. "data": "images/file"
  4. }

How to run on your own machine

  1. Before You start make sure you have every thing setuped

    • Install Anaconda
    • Create a Conda environment
    • Install Keras and Tensorflow
    • Install Opencv and dlib
    • Install Node.js
    • Install Redis
  2. Next cd to faceReco dir

    cd /path/to/faceReco

  3. Start redis server

    redis-server --daemonize yes

  4. Start Node server

    npm install

    node server.js

  5. Activate Conda environment

    source activate environmentName

  6. Start AI

    python pubsub.py