0% found this document useful (0 votes)
4 views19 pages

AI_MINIP

The document outlines the development of a Python program for mask detection using image processing techniques, aimed at enhancing public health safety post-COVID-19. It details the project’s goals, methodology, and implementation, highlighting the use of various libraries and frameworks like TensorFlow and Keras. The results indicate high accuracy and robustness of the model, emphasizing its potential impact on public health monitoring and enforcement of mask-wearing protocols.

Uploaded by

Tanvi Yeole
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views19 pages

AI_MINIP

The document outlines the development of a Python program for mask detection using image processing techniques, aimed at enhancing public health safety post-COVID-19. It details the project’s goals, methodology, and implementation, highlighting the use of various libraries and frameworks like TensorFlow and Keras. The results indicate high accuracy and robustness of the model, emphasizing its potential impact on public health monitoring and enforcement of mask-wearing protocols.

Uploaded by

Tanvi Yeole
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

MASK

DETECTION
TEAM MEMBERS
25 – SAMRADNI SALUNKE

26 – SUDARSHAN SANAP

27 – SAKSHI SANGALE

28 – ANANYA SAPKALE
CONTENTS
01 02
Problem Explanation
statement

03 04 05 06
Block Implementation Results and Conclusion
diagram Analysis
Problem
01 Statement
Design a Python program that utilizes image
processing techniques to determine whether a
person is wearing a mask in a given image.
02
EXPLANATION
Introduction:
In the wake of the global COVID-19 pandemic, the simple act of wearing masks emerged as a critical
defense measure against the spread of the virus. During those challenging times, adherence to mask-
wearing protocols became paramount in safeguarding public health and preventing the transmission of
infectious diseases.

Goal:
Develop a Python program using advanced image processing techniques to automate mask detection,
facilitating safety protocol enforcement.

Significance:
In the post-pandemic era, precise mask detection is vital. Our project offers a powerful tool for public
health monitoring, safeguarding global well-being.
HOW CAN AI BE USED FOR MASK DETECTION?

• Preparing the Dataset


• Exploring the Image Data
• Labeling Masked and Unmasked Images
• Data Augmentation Techniques
• Training the Mask Detection Model
• Evaluating Model Performance
• Fine-tuning and Optimization
• Real-world Application and Deployment
APPROACH
• Install and import all dependencies
• Download and fetch dataset from Kaggle
• Fetch dataset into code
• Convert images to numpy arrays  image to pixels
• Create labels and train our dataset
• Import TensorFlow and Keras for image recognition
• Train data model
03
BLOCK
DIAGRAM
BLOCK-DIAGRAM:
04
IMPLEMENTATION
Required Dependencies:

1. OpenCV (cv2):
Essential for image processing tasks like loading, preprocessing, and analysis.
2. NumPy (np):
Provides efficient handling of image data as arrays and numerical operations.
3. Matplotlib (plt) and Matplotlib Image (mpimg):
Used for displaying images and visualizing model performance.
4. Google Colab (cv2_imshow):
Allows direct display of images within Colab notebooks.
5. PIL (Image):
Supports image loading, resizing, and conversion.
6. scikit-learn (train_test_split):
Facilitates dataset splitting for model evaluation.
Dataset used:
Technology used
• The primary programming language used for developing
the mask detection solution.
Python • Known for its simplicity, versatility, and rich ecosystem of
libraries and frameworks.

• An open-source machine learning framework developed


by Google.
TF • Used for building, training, and deploying deep learning
models, including neural networks.

• A high-level neural networks API, built on top of TensorFlow.


• Provides a user-friendly interface for building and training deep
Keras learning models with ease.
• Integrated seamlessly with TensorFlow for efficient model
development and experimentation.
05
RESULTS AND
ANALYSIS
Training Progress and Model Performance
Visualization
Our mask detection model excels in accurately
identifying individuals wearing masks and those
without masks, achieving high scores in
accuracy, precision, recall, and F1-score metrics.
Compared to baseline models, our model
demonstrates significant improvements in
accuracy and performance. Error analysis reveals
minimal misclassifications, primarily attributed
to challenging scenarios like partial occlusions.
The model exhibits strong generalization ability
and robustness to variations in input data,
making it effective in diverse environments.
Future enhancements could focus on further
refining the model's performance and exploring
specialized applications. Overall, our mask
detection model provides a valuable tool for
monitoring and enforcing mask-wearing
protocols, contributing to public health efforts.
06
CONCLUSION
In conclusion, our mask detection model has
demonstrated exceptional performance in
accurately identifying individuals wearing
masks and those without masks. With high
accuracy, robustness, and generalization
capability, our model is poised to make a
significant impact in public health efforts. As
we look to the future, we are optimistic about
the continued development and application of
mask detection technology in safeguarding
public health and safety.

You might also like