Skip to content

This is our python minor project made to work on Raspberry Pi

Notifications You must be signed in to change notification settings

Smart-Brain-s/MaskDetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Face Mask Detection System 🚀

Our project is based on real life problem faced by many organizations in this pendemic phase which is improper wearing of face mask which can cause serious damages to there employees and co-workers 🤖

To deal with this problem our team Smart Brains have came up with the solution "The Face Mask Detection System" which can be implemented in very simple steps and at a very low cost and is very flexible

Implementation

Hardware we need to work with this project:-

  • Raspberry Pi
  • Raspberry Pi Camera Module
  • Buzzer
  • Jumper Wires
  • 2 LED Bulbs

Software we need in Raspberry Pi to continue with our project

  • Raspbian Os
  • Python 3
    • Tensorflow
    • Tensorflow Hub
    • Keras
    • Scikit Learn
    • MatPlotLib
    • Numpy
    • Imutils
    • Open Cv
    • Scipy

Connections

Gpio

  • Connect the positive end of the buzzer to the Gpio pin 17 and negative end to the ground pin
  • Connect Led1 positive end to Gpio pin 4 and negative to ground this will indicate that all files are loaded and ready to use
  • Connect Led2 positive end to Gpio 21 and negative to ground
  • Connect the Camera module to Raspberry pi camera ribbon connector
Once Hardware setup is done we are ready to boot up raspberry pi 🚀

resp

Setting up directory

Frist we need to setup Raspberry Pi:-
  1. Install raspbian on sd card and insert it into the raspberry pi and boot it up for frist use
  2. Now save all the files given in this directory into Raspberry pi (For this we assume you have pasted the files into desktop)
  3. Now open the terminal and install the dependencies we metioned earlier
  4. Open rasp_mask_detector.py in text editor
  5. Goto line 71 and check the camera setup you are using and change accordingly
  6. Now save that file and we are ready to run the script

Running Project

python3 rasp_mask_detector.py

Install Dependencies Instructions

Python3 is already installed in Raspbian Os so we only need to install other packages

pip3 install tensorflow

pip3 install opencv-python

pip3 install imutils

pip3 install keras

The good part is that python distributions for Raspberry pi comes with Matplotlib and Numpy with optimal versions so you dont have to worry about it 🕸

About

This is our python minor project made to work on Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published