Agezao / node-cam

Webcam + AWS face Rekognition in node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"node-cam"

Authentication with Webcam using facial reckognition and node-js.

Github file size GitHub top language GitHub

How it works?

It snaps a picture with the configured camera module (webcam or raspberry w/ raspistill), send it to the aws rekognition with the configured params and return the person found, if any.

Getting started

Install Global Dependancies

Running the project

  • Download zip, or clone the repo git clone https://github.com/Agezao/node-cam.git
  • cd to project folder
  • run [sudo] npm install (first time users)
  • edit config with your informations and rename it to index.js (instead of index.example.js)
  • node index.js --help to get more info on how it works

##Examples

Setting up a new Face

  • node index.js --operation save --person someone If found someone in the snaped picture, saves the person with the alias "someone"

Validating a face

  • node index.js --operation match If found someone in the snaped picture, check if the face is known in the given bucket

License

Do whatever you want. open-source MIT license.

About

Webcam + AWS face Rekognition in node.js


Languages

Language:JavaScript 100.0%