/Social_distancing_and_Mask_detection

CV model to detect social distancing and whether the person is wearing mask or not.

Primary LanguageJupyter Notebook

Social_distancing_and_Mask_detection

CV model to detect social distancing and whether the person is wearing mask or not.

Social Distancing — the term that has taken the whole world by storm and is transforming the way we live. Social distancing also called “physical distancing”, means keeping a safe space between yourself and other people who are not from your household. As the country has started to unlock amid surging COVID-19 cases, maintaining social distancing has become a key issue. The biggest concern revolving around the COVID-19 situation is how quickly the infection spreads from one person to another through contact or even being within proximity of an infected person. Social Distancing is here to stay longer than expected to fight Covid-19.

So this got me thinking to develop an AI model to detect if people are following social distancing and at the same time are wearing masks. So here is a sample of the outcome of the model. With the use of deep learning and OpenCV, we can extract interesting insights from video clips. Red bounding boxes indicate that the person is in the proximity of another person and the blue box indicates the person is maintaining social distance. And we have separate bounding boxes for identifying if the person is wearing a mask or not.

https://medium.com/@vijayarajan.s/a-social-distancing-and-mask-detector-using-a-tensorflow-object-detection-model-python-and-opencv-dfe5f7a8bace

videoplayback-min