Enforcing Social Distancing with YOLO Algorithm Utilizing Object-to-Object Distance
Muhamad Irsan, Rosilah Binti Hassan, Taj-Aldeen Naser Abdali, Mohamad Khairi Ishak · 2023
Instances of COVID-19 transmission occur daily due to individuals failing to maintain distance or engaging in physical contact with others who may be contaminated with the virus. To mitigate this issue, this study has developed a system to detect human subjects practicing social distancing. The system utilizes a Raspberry Pi 4 Model B 8GB device in combination with a Logitech HD Webcam C270 camera. To detect human subjects, the Convolutional Neural Network is employed, utilizing the You Only Look Once (YOLO) method. In the testing phase of the tool, the system successfully identifies human subjects and assesses their proximity to others. It also detects instances of social distancing violations. The system achieved an average mean Average Precision (mAP) of 0.9792, a Precision of 0.9482, a Recall of 0.9819, and an f1 score of 0.9648.