Skip to content

This repo contains an IoT Edge solution developed using VSCode IoT extension (highly recommended!).

Notifications You must be signed in to change notification settings

capside/facerecognition-drone

 
 

Repository files navigation

IoT Face Recognition Demo

This repo contains an IoT Edge solution developed using VSCode IoT extension (highly recommended!).

Architecture

Architecture diagram

The main module (FaceAPIServerModule) integrates the fantastic face-api.js tensorflow wrapper for browser/nodejs face detection. If the detected face on the webcam matches the provided models, a new message is written in the IotEdge-hub and forwarded to the Azure IoT Hub to be processed with an Azure Function.

The function checks if the matched names are considered dangerous in a CosmoDB database and in that case uses the hub to send a Direct Method Invocation to the IoT Edge Module.

If the IoT Edge Module method is invoked, it executes a HTTP request to change the state of a Sonoff relay (burnt with Espurna firmware) to switch on a siren.

Additional resources

The repository also includes several other examples, including a python example about how to create and visualize a Histogram of Oriented Gradients and Facial landmarks.

HOG demo

Slides

The first version of this project was used in a demo during the Global Azure Bootcamp 2019 in Barcelona. The slides are also available for viewing, although they are not intended to provide useful guidance but to help presenting IoT Edge and face recognition technology.

Further assistance

You will find two branches with instruction about how to run a little IoT workshop using this project. Just check the vm based version or the raspberry pi flavour.

About

This repo contains an IoT Edge solution developed using VSCode IoT extension (highly recommended!).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.2%
  • HTML 36.3%
  • Python 5.7%
  • CSS 2.5%
  • Dockerfile 0.3%