Skip to content

Purpose of this project is to classified the captured image or input image, has masks or not. This model had trained with Convolutional Neural Network (CNN) and has high accuracy. The only problem of this model is it cannot detect the mask with different color due to dataset but included possible solution at the end of doc.

Notifications You must be signed in to change notification settings

aungkaungpyaepaing/Mask-NoMask-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mask and No Mask Classifier

After watching the news about air pollution, just thought about making a Mask and No Mask Classification Model so that it can be used in different programs like Real-time detection programs in Hotel, Hospital, Classroom, Work, and so on... This model is trained by Convolutional Neural Network and work pretty well based on the database.

Imported Packages

  • TensorFlow
  • Numpy
  • Matplotlib
  • CV2

Model Evaluation

image image

Model Performance

image

Testing Mask

Process 1

Input image

image

Process 2

Pre-processing image

image

Process 3

Model Prediction and Result

image

Process 4

No mask image input

image

Process 5

Pre-processing Image

image

Process 6

Model Prediction and Result

image

The dataset of this program is from here -> https://github.com/prajnasb/observations/tree/master/experiements/data

Problem Statement

Images that had used as a dataset doesn't include the masks with different colors. Although the model works well, the images that have been trained are with the masks with white color so the model sees the mask with different colors as no mask.

Solution

Train the model with a dataset that includes every kind of desired mask. Use image processing techniques to detect the mask or mask shape before doing classification.

About

Purpose of this project is to classified the captured image or input image, has masks or not. This model had trained with Convolutional Neural Network (CNN) and has high accuracy. The only problem of this model is it cannot detect the mask with different color due to dataset but included possible solution at the end of doc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published