GithubHelp home page GithubHelp logo

biparnakroy / shittybots Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hack-n-chill/shittybots

1.0 1.0 0.0 3.47 MB

License: BSD 3-Clause "New" or "Revised" License

Python 7.26% CMake 0.06% Makefile 0.26% PowerShell 0.09% Shell 0.46% C 62.88% C++ 13.72% Batchfile 0.15% Cuda 15.11%

shittybots's Introduction

MOXA - A Deep Learning Based Approach to detect face masks from CCTV feeds

Why do we need MOXA?

Why do we need mask detection?

With 6.31M confirmed cases under the attack of COVID-19 in India. Maintaining sanity and hygiene remains the only way to prevent and fight the spreading of this deadly virus and making every individual aware of their sanitary health and ongoing COVID-19 epidemic.

Then, Why MOXA?

Wearing masks is a necessity as per medical practitioners whenever you are at public places or places with high probability of people gathering, to reduce transmission rates. Manual monitoring would require a huge manpower engagement to overcome these we propose a real-monitoring of people wearing medical masks and determing the regions with high transmission chances.

Why is MOXA unique?

  • Custom Dataset

    • The model is trained on a custom dataset of 10000 images (with over 90000 labels)
  • Multiple Video-Streams

    • Streams videos after being run through detection model of different locations.
  • Mask to No-mask plot

    • Camera ID based line graph of number of people wearing masks to number of people not wearing masks on the basis of periodic frame counts.
  • Ratio to time plot

    • Camera ID based line graph of ratio (of nomasks to masks) to time.
  • Exportable Analytics

    • The analytics provided about the detection can be exported as .avi files.

A Look Into How MOXA Works

Flow Chart

What it Does

  1. CCTV feed - The model is provided with CCTV video feeds for detection.
  2. Detection Procedure - The model detects masks and no masks from the CCTV feeds.
  3. Ratio Calculation - Calculates the ratio of number of no-mask to mask in each frame and a finally its average across a periodic frame count is used to store in a .csv file.
  4. Graphical Representation- Two line graphs are plotted on the basis of the .csv files.
    • mask to no-mask
    • ratio to time
  5. Remote Detection Streams- The CCTV feeds are streamed with detections.
  6. Overlay Warning- The loactions with ratio lower than threshold value are marked with higher transmission chances

Technology Stack and Dependencies

  • Operating System
    • Linux (with xterm)
  • Deep Learning
    • Darknet Framework
    • CUDA 10.1
    • CUDNN
    • OpenCV(with CUDA support)
  • APIs
    • Python Script
  • Front-end
    • PyQt5

Future Developments

Dataset Enrichment

With time to increase the accuracy of the model we wish to enrich our dataset further more.

Unsupervised Learning

We wish to incoporate unsupervised learning to reduce periodic updates of the model for upgrading its functioning precision.

Multiple Object Tracking

We wish to develop an algorithm to identify a person occuring in multiple frames as one to overcome the redundancy in the ratio calculation and its plot.

Thank You!

Contributors

Biparnak Roy

Biparnak Roy

Debojit Ghosh

Debojit Ghosh

Subhadip Nandy

Subhadip Nandy

shittybots's People

Contributors

biparnakroy avatar subhadip-decode avatar drag-ged avatar

Stargazers

 avatar

Watchers

James Cloos avatar

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.