Practical:12 MINI PROJECT – FACE MASK DETECTION
INTRODUCTION
The world is fighting against the health crisis named Covid-19. This virus is killing people on large scale and the cases increases as days passes. Because of this virus, people had forgotten to live a normal life. The impact of this virus and its consequence are felt differently depending on the symptoms they have. There were many symptoms of coronavirus such as fever, sneezing, coughing, etc. There are many precautions as social distancing, wearing a mask, use of sanitizers, etc. The important is to wear a face mask whenever you are in the public or around the crowd. The virus spreads through to a close contacts. The rules and laws are made by the government as an action to the increase of cases and deaths in many areas.
Reports indicate the wearing a facemask while it works reduces the risk of transmission. A hybrid model using deep learning and classical machine learning for face mask detection has been presented. A face mask detection dataset contains a mask image and without a mask image by using OpenCV we are going to do face detection from the image in the dataset and also video stream. We will use python, OpenCV, Tensor Flow, and Keras. Our goal is to identify whether the person on the image or video is wearing a mask or not with the help of Computer vision and deep learning. We will proceed two more Python script used to
1. Detect a person has face mask in image.
2. Detect a person has face mask in video stream
TECHNIQUES USED
1. Tensorflow
It is an open source library which we will use to train and test the model of our project.
2. Keras
It is an easy to use open source library for developing deep neural network.
3. OpenCV
We will use OpenCV to analysis the images and video if people are wearing the mask or not through face detection.
4. CNN Architecture.
It is use for the classification of the images and train the model.
Dataset
To test and train the model we have simply taken the dataset of 25 images of mask and 25 images of no mask.
System Design
Firstly, we will implement the project in python using Google Colab. The techniques we use in this project is OpenCV, Deep Learning and also some python libraries like TensorFlow, Keras, imutils, Numpy, Matplotlib and Scipy. We have use MobileNetV2 architecture and CNN algorithm for model as it can get high and low computation scenarios.
Implementation
Project is divided into 4 modules:
1.Dataset Collecting: We collect the data of wearing mask and not wearing mask and find the accuracy of dataset.
2.Dataset Extracting: Using MobilenetV2 we will extract the features of mask and no mask sets.
3.Training model: We will train the model using Keras, Python library and OpenCV.
4.Face Mask Detection: Lastly, we will detect the mask or not mask in images and live video stream.
Functionality
The major function of our project is to detect whether the person is wearing a mask or not. If the person is not wearing mask we can send the message to them to wear the mask. It is useful at various places like airport, railway station, offices, hospitals, schools and many more places which are always crowded.
Expected Outcome:
Reference link: https://github.com/Riya2112/DS_Practicals/tree/main/Practical12
Thank you:)
Comments
Post a Comment