» Articles » PMID: 36744218

A New YOLO-based Method for Real-time Crowd Detection from Video and Performance Analysis of YOLO Models

Overview
Publisher Springer
Date 2023 Feb 6
PMID 36744218
Authors
Affiliations
Soon will be listed here.
Abstract

As seen in the COVID-19 pandemic, one of the most important measures is physical distance in viruses transmitted from person to person. According to the World Health Organization (WHO), it is mandatory to have a limited number of people in indoor spaces. Depending on the size of the indoors, the number of persons that can fit in that area varies. Then, the size of the indoor area should be measured and the maximum number of people should be calculated accordingly. Computers can be used to ensure the correct application of the capacity rule in indoors monitored by cameras. In this study, a method is proposed to measure the size of a prespecified region in the video and count the people there in real time. According to this method: (1) predetermining the borders of a region on the video, (2) identification and counting of people in this specified region, (3) it is aimed to estimate the size of the specified area and to find the maximum number of people it can take. For this purpose, the You Only Look Once (YOLO) object detection model was used. In addition, Microsoft COCO dataset pre-trained weights were used to identify and label persons. YOLO models were tested separately in the proposed method and their performances were analyzed. Mean average precision (mAP), frame per second (fps), and accuracy rate metrics were found for the detection of persons in the specified region. While the YOLO v3 model achieved the highest value in accuracy rate and mAP (both 0.50 and 0.75) metrics, the YOLO v5s model achieved the highest fps rate among non-Tiny models.

Citing Articles

Artificial Intelligence Classification for Detecting and Grading Lumbar Intervertebral Disc Degeneration.

Liawrungrueang W, Cholamjiak W, Sarasombath P, Jitpakdee K, Kotheeranurak V Spine Surg Relat Res. 2024; 8(6):552-559.

PMID: 39659374 PMC: 11625717. DOI: 10.22603/ssrr.2024-0154.


NABNet: Deep Learning-Based IoT Alert System for Detection of Abnormal Neck Behavior.

Qin H, Cai M, Qin H Sensors (Basel). 2024; 24(16).

PMID: 39205072 PMC: 11360098. DOI: 10.3390/s24165379.


Fusion of fruit image processing and deep learning: a study on identification of citrus ripeness based on R-LBP algorithm and YOLO-CIT model.

Wang C, Han Q, Li C, Zou T, Zou X Front Plant Sci. 2024; 15:1397816.

PMID: 38903428 PMC: 11188418. DOI: 10.3389/fpls.2024.1397816.


Automatic Localization of Five Relevant Dermoscopic Structures Based on YOLOv8 for Diagnosis Improvement.

Chabi Adjobo E, Sanda Mahama A, Gouton P, Tossa J J Imaging. 2023; 9(7).

PMID: 37504825 PMC: 10381143. DOI: 10.3390/jimaging9070148.

References
1.
Wan J, Chen B, Yu Y . Polyp Detection from Colorectum Images by Using Attentive YOLOv5. Diagnostics (Basel). 2021; 11(12). PMC: 8700704. DOI: 10.3390/diagnostics11122264. View

2.
Rahim A, Maqbool A, Rana T . Monitoring social distancing under various low light conditions with deep learning and a single motionless time of flight camera. PLoS One. 2021; 16(2):e0247440. PMC: 7906321. DOI: 10.1371/journal.pone.0247440. View

3.
He K, Zhang X, Ren S, Sun J . Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition. IEEE Trans Pattern Anal Mach Intell. 2015; 37(9):1904-16. DOI: 10.1109/TPAMI.2015.2389824. View

4.
Yu J, Zhang W . Face Mask Wearing Detection Algorithm Based on Improved YOLO-v4. Sensors (Basel). 2021; 21(9). PMC: 8125872. DOI: 10.3390/s21093263. View

5.
Pacal I, Karaman A, Karaboga D, Akay B, Basturk A, Nalbantoglu U . An efficient real-time colonic polyp detection with YOLO algorithms trained by using negative samples and large datasets. Comput Biol Med. 2021; 141:105031. DOI: 10.1016/j.compbiomed.2021.105031. View