Code Monkey home page Code Monkey logo

touchfree-v2's Introduction

TouchFree v2: AI-based Mask Detection and Temperature Check

work in progress licence MIT Build Status

Explanation

Firstly, the Tensorflow based Deep Learning Neural Network tries to detect if the person is wearing a Mask or not. The System has been made Robust by training it with many different examples to prevent False Positives. Picture 1

Once, the System has detected the Mask it performs Facial Landmarking. The System is using DLIB Module for Facial Landmarking to find the best Spot on the Forehead of the person to take Temperature from.

Then by using PID Control System with Servo Motors, the system tries to align the Selected Spot on the Forehead with the Sensor OR if in self align mode the User can align himself based on the visual clues. Once aligned the system takes Temperature Reading using Contactless IR Temperature Sensor. Picture 2

Picture 3

If the temperature is within normal Human Body Temperature range it allows the Person to Proceed and sends an email to the Admin with a Picture and other Details like Body Temperature, etc.

Picture 4

Setup for PC (Windows/Mac/Linux)

  • Install Python
  • Download the Code and the Required Files
    • Download the Code as Zip from Github.
    • Or by using command git clone https://github.com/saksham2001/TouchFree-v2
  • Install Requirements by running command
    pip install -r requirements.txt
  • Enable Less Secure App Access from here or Create an App Specific Password here.
  • Save the Sender's email Address, Password and Email Permission as Local Variables.
    export SEND_EMAIL="TRUE" export EMAIL_ID="your-email-here" export EMAIL_PWD="your-password-here"
  • Or If you do not want Email Feature just add Email Permission as Local Variable export SEND_EMAIL="FALSE"
    Note- For PC Version you have to design your own approach for temperature measurement and add the code to temp_check in line 36 of app.py

Setup for BalenaFin/ Raspberry Pi

Follow Hackster Tutorial

Running

  • Run the Application by the command python app.py

touchfree-v2's People

Contributors

dependabot[bot] avatar saksham2001 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.