horfee / face-recognition

Face recognition services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

face-recognition

Face recognition services

Face recognition services is a docker micro service used to train and score facenet-pytorch algorithms to recognize faces on pictures.

Usage :

  • docker-compose -d up

It will instantiate :

  • a mongodb to store face encodings
  • a python container to run the python facenet models
  • an nginx container to host small training / test scoring UI

Then you can train your model with the UI, uploading photo and tagging every faces recognized, or by invoking python container services :

  • http://:<8080>/faceslocation with POST method. The body must include a form data with value "file", and the picture attached. This will return the coordinates of all faces detected in the picture
  • http://:<8080>/faces?id= with POST method. The body must include a form data with value "file", and the picture attached. This will train the model to recognize the person identified on the picture. Be careful : only one face per image is allowed
  • http://:<8080>/ with POST method. The body must include a form data with value "file", and the picture attached. This will score the image and return locations and name recognized on the picture.

About

Face recognition services


Languages

Language:Python 33.2%Language:HTML 29.5%Language:TypeScript 18.1%Language:JavaScript 8.8%Language:Dockerfile 6.8%Language:CSS 3.1%Language:Shell 0.5%