Facemaskppt 1
Facemaskppt 1
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:
3.System 1. At least 4 GB RAM (more is preferable) for smooth execution with A 64-bit processor.
2. Adequate storage space (e.g., 1TB hard disk).
Requirements
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
3.System visualize results.
4.System
Design
Use case diagram:
4.System Design
(Cont.)
Activity diagram:
4.System Design
(Cont.)
Modules:
1. NumPy NumPy is used for numerical computations and array manipulation.
• Install NumPy using pip install numpy.
2. TensorFlow
• TensorFlow is a deep learning framework.
• Install TensorFlow using pip install tensorflow.
5.System 3. Matplotlib:
Implementation • 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 Count Images:
• It calculates the total number of images in each category.
3. Creating Labels for the two class of Images
4. Image Processing :
5.System • Resize the images and convert them into NumPy arrays.
7. Model Evaluation.
Appendices
2) Labeling the data
3) Image processing
Appendices
Appendices
6) Model
evaluation
6.Result
analysis
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