Skip to content

Latest commit

 

History

History
187 lines (136 loc) · 10.6 KB

README.md

File metadata and controls

187 lines (136 loc) · 10.6 KB

Tata_Innoverse_SolverHunt8 😷 tweet



Content

Load data

Download the dataset by visiting the Face mask dataset and click the “Download” button.


Folder structure


📁 Face Mask Dataset
          📁 Training
          📁 Validation
          📁 Testing

  |__ Training
    |______ WithMask: [Mask.1.jpg, Mask.2.jpg, Mask.3.jpg ....]
    |______ NO_Mask: [NO_Mask.1.jpg, NO_Mask.2.jpg, NO_Mask.3.jpg ...]

  |__ Validation
    |______ WithMask: [Mask.1.jpg, Mask.2.jpg, Mask.3.jpg ....]
    |______ NO_Mask: [NO_Mask.1.jpg, NO_Mask.2.jpg, NO_Mask.3.jpg ...]

  |__ testing
    |______ [test.1.jpg, test.2.jpg, test.3.jpg , test.4.jpg , test.5.jpg , ....]

Face mask classification using custom model

Training and validation accuracy Training and validation loss

Output prediction

Face mask classification using MobileNetV2

Training and validation accuracy Training and validation loss

Output prediction

Classification report

              precision    recall  f1-score   support

    WithMask       1.00      1.00      1.00       882
 WithoutMask       1.00      0.99      1.00       722

    accuracy                           1.00      1604
   macro avg       1.00      1.00      1.00      1604
weighted avg       1.00      1.00      1.00      1604

Confusion matrix

Face mask detector

Mask detection on image

Input Image-01 Input Image-02

Real time face mask detecting

Social Distancing Detector

Features

  • live video surveillance to fight against covid-19 spread
  • The project can be integrated with embedded systems for application in airports, railway stations, offices, schools, and public places to ensure that public safety guidelines are followed.
  • Real time face mask detection and for social distancing tracking the crowd movement across the day time.
  • Hot-spot area can be monitored by security forces from central station.
  • If AI based solution used by authority then there will be less chance get infected security forces.

Clone git repository

    $ Git clone "https://github.com/hritik5102/Tata_Innoverse_SolverHunt8"

Google colab notebook

Filename Notebook
Face mask classification using custom model Open In Colab
Face mask classification using MobileNetv2 Open In Colab
Face mask Detection on image Open In Colab
Face mask Detection on video Open In Colab
Social distancing detector Open In Colab

Reference

License

Licensed under the MIT License

Contributor

Hritik Jaiswal

╔═╗╔╦╗╔═╗╦ ╦  ╦ ╦╔═╗╔╦╗╔═╗
╚═╗ ║ ╠═╣╚╦╝  ╠═╣║ ║║║║║╣
╚═╝ ╩ ╩ ╩ ╩   ╩ ╩╚═╝╩ ╩╚═╝
╔═╗╔╦╗╔═╗╦ ╦  ╔═╗╔═╗╔═╗╔═╗
╚═╗ ║ ╠═╣╚╦╝  ╚═╗╠═╣╠╣ ║╣
╚═╝ ╩ ╩ ╩ ╩   ╚═╝╩ ╩╚  ╚═╝