Facemaskppt
Facemaskppt
Facemaskppt
2.Objective • The model works efficiently with no noticeable lag time between wearing/removing a
mask and displaying predictions.
Hardware Requirements:
1.Webcam:
1. A functional webcam is necessary for capturing real-time video streams.
2. Ensure your system has a working webcam.
2.System Resources:
1. At least 4 GB RAM (more is preferable) for smooth execution.
3.System 2. Adequate storage space (e.g., 1TB hard disk).
Requirements 3. A 64-bit processor.
3.Operating System:
The software components mentioned above are compatible with various operating
systems (Windows, Linux, macOS).
4.Power Supply:
Ensure a stable power supply to avoid interruptions during model training or inference.
Software Requirements
1. Python:
Python is a versatile and powerful programming language widely used in machine learning
and data science. In this project, Python will be used to implement the Convolutional
Neural Network (CNN) model, handle image data, preprocess datasets, and visualize
3.System results.
4.System
Design
Use case diagram:
4.System
Design (Cont.)
Activity diagram:
4.System
Design (Cont.)
Modules:
1. NumPy (version 1.19.3 or compatible):
• NumPy is used for numerical computations and array manipulation.
• Install NumPy using pip install numpy.
2. TensorFlow (version 2.5.0 or compatible):
• TensorFlow is a deep learning framework.
5.System • Install TensorFlow using pip install tensorflow.
Implementation 3. Matplotlib:
• Matplotlib is an important python visualization library for 2D array Plots.
• Matplotlib is a multi-platform data visualization package based on numpy arrays and
intended to operate with scipy stack.
1. Importing Face mask Dataset
o Fetch the Dataset:
• You are using the Kaggle API to download the face mask dataset.
o Extract the Compressed Dataset:
• The downloaded dataset is in a compressed format (ZIP).
• You extract the contents of the ZIP file using Python.
4. Image Processing :
• Resize the Images.
• Convert the images to NumPy arrays.
5.System 5. Train Test Split.
Implementation
6. Building a Convolutional Neural Networks (CNN).
(Cont.)
7. Model Evaluation.
Appendices
Labeling the data
Image
processing
Appendices
train
test
split
Building the
CNN model
Appendices
Model
evaluation
6.Result
analysis
6.Result
analysis
(Cont.)
In summary, the CNN-based face mask detection system is a valuable tool for promoting
health and safety by ensuring that individuals wear masks in public spaces. The model
developed achieved 92 percent accuracy rate for 5
7.Conclusion epochs and its real-time processing capabilities make it suitable for deployment in places like
airports, schools, and workplaces, helping to mitigate the spread of
infectious diseases
• https://www.python.org/
• https://www.tensorflow.org/
• https://keras.io/
References •
•
https://numpy.org/
https://matplotlib.org/
• https://www.kaggle.com/datasets/omkargurav/face-mask-dataset