Applying OpenCV and Machine Learning to the Enforcement of COVID-19 Prevention Guidelines
ISEF · 2022 Robotics and Intelligent Machines
Overview
The COVID-19 pandemic has affected the lives of millions of people since it started. Because SARS-CoV-2 is present in droplets, its spread can be prevented by practicing social distancing and wearing face masks. As years passed, people became less cautious in public spaces, including queues. The researcher noticed that a computer vision project could be used to detect if people are following COVID-19 prevention guidelines in queues and hypothesized that he could apply machine learning to detect if people are wearing masks and practicing social distancing. In this project, the researcher used OpenCV to read recorded video footage, and used MediaPipe’s “Face Detection” and the “MobileNetV3-Large” detection models to calculate the distance between people and detect the use of face masks. The code displays the placements of the people not distancing and the faces of the people that are not wearing face masks in a new window. The researcher collected data surrounding the accuracy of the models and the speed at which the code ran using videos that featured himself on a simulated background. The code successfully detected the correct amount of people in all simulations and ran at an average of 15 frames per second but faced problems detecting faces when those were of smaller resolution. Since the project could detect face masks and social distancing, his hypothesis was accepted. Using better detection models or higher resolution footage could yield better accuracy. This project can be applied to distancing in traffic and the use of face masks in laboratories.
Competition history
- ISEF 2022
Resources
Related projects
ISEF · 2021
Autonomous COVID-19 Screening Using Deep Learning and Low-cost Thermal Imaging
ISEF · 2021
Assessing the Efficacy of COVID-19 Policies Using Machine Learning
ISEF · 2022
A Novel Methodology To Improve Hand Hygiene Compliance Using Computer Vision and 3D Depth Sensors
ISEF · 2021
Smartphone Capable Lightweight Convolutional Neural Network Model for Detecting COVID-19 in Chest X-rays: Addressing the Need of Resource-strapped Locations
Closest projects by meaning, across every fair and year in the corpus.
Source: Regeneron International Science and Engineering Fair