Giter Site home page Giter Site logo

hritik5102 / tata_innoverse_solverhunt8 Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 8.0 200.7 MB

Tata_Innoverse_SolverHunt8 Submission , Real time face mask detection and social distancing detector

License: MIT License

Jupyter Notebook 99.95% Python 0.05%
coronavirus facemask facemask-detection socialdistancing mobilenetv2 yolov3 face-mask-classification face-mask-detector tata-innoverse-solverhunt8 covid-19

tata_innoverse_solverhunt8's Introduction

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

โ•”โ•โ•—โ•”โ•ฆโ•—โ•”โ•โ•—โ•ฆ โ•ฆ  โ•ฆ โ•ฆโ•”โ•โ•—โ•”โ•ฆโ•—โ•”โ•โ•—
โ•šโ•โ•— โ•‘ โ• โ•โ•ฃโ•šโ•ฆโ•  โ• โ•โ•ฃโ•‘ โ•‘โ•‘โ•‘โ•‘โ•‘โ•ฃ
โ•šโ•โ• โ•ฉ โ•ฉ โ•ฉ โ•ฉ   โ•ฉ โ•ฉโ•šโ•โ•โ•ฉ โ•ฉโ•šโ•โ•
โ•”โ•โ•—โ•”โ•ฆโ•—โ•”โ•โ•—โ•ฆ โ•ฆ  โ•”โ•โ•—โ•”โ•โ•—โ•”โ•โ•—โ•”โ•โ•—
โ•šโ•โ•— โ•‘ โ• โ•โ•ฃโ•šโ•ฆโ•  โ•šโ•โ•—โ• โ•โ•ฃโ• โ•ฃ โ•‘โ•ฃ
โ•šโ•โ• โ•ฉ โ•ฉ โ•ฉ โ•ฉ   โ•šโ•โ•โ•ฉ โ•ฉโ•š  โ•šโ•โ•

tata_innoverse_solverhunt8's People

Contributors

hritik5102 avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tata_innoverse_solverhunt8's Issues

Proper citation required

Hi @hritik5102 -- Adrian here from PyImageSearch.com. it looks like you're using code from two of my tutorials:

  1. https://www.pyimagesearch.com/2020/06/01/opencv-social-distancing-detector/
  2. https://www.pyimagesearch.com/2020/05/04/covid-19-face-mask-detector-with-opencv-keras-tensorflow-and-deep-learning/

While my code and tutorials are free for you to learn from, my FAQ states that you need to cite the original tutorials if you are using them in your own projects (otherwise it is plagiarism):

https://www.pyimagesearch.com/faqs/single-faq/how-do-i-reference-or-cite-one-of-your-blog-posts-books-or-courses

Kindly update your GitHub repo and all Jupyter Notebooks you have posted on Colab to properly cite the materials. Until that is done the MIT License you have added to this repo is not valid.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.