Cargando…
A new YOLO-based method for real-time crowd detection from video and performance analysis of YOLO models
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 num...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer Berlin Heidelberg
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9885395/ https://www.ncbi.nlm.nih.gov/pubmed/36744218 http://dx.doi.org/10.1007/s11554-023-01276-w |
_version_ | 1784879922383159296 |
---|---|
author | Gündüz, Mehmet Şirin Işık, Gültekin |
author_facet | Gündüz, Mehmet Şirin Işık, Gültekin |
author_sort | Gündüz, Mehmet Şirin |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-9885395 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Springer Berlin Heidelberg |
record_format | MEDLINE/PubMed |
spelling | pubmed-98853952023-01-30 A new YOLO-based method for real-time crowd detection from video and performance analysis of YOLO models Gündüz, Mehmet Şirin Işık, Gültekin J Real Time Image Process Original Research Paper 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. Springer Berlin Heidelberg 2023-01-30 2023 /pmc/articles/PMC9885395/ /pubmed/36744218 http://dx.doi.org/10.1007/s11554-023-01276-w Text en © The Author(s), under exclusive licence to Springer-Verlag GmbH Germany, part of Springer Nature 2023, Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law. This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Original Research Paper Gündüz, Mehmet Şirin Işık, Gültekin A new YOLO-based method for real-time crowd detection from video and performance analysis of YOLO models |
title | A new YOLO-based method for real-time crowd detection from video and performance analysis of YOLO models |
title_full | A new YOLO-based method for real-time crowd detection from video and performance analysis of YOLO models |
title_fullStr | A new YOLO-based method for real-time crowd detection from video and performance analysis of YOLO models |
title_full_unstemmed | A new YOLO-based method for real-time crowd detection from video and performance analysis of YOLO models |
title_short | A new YOLO-based method for real-time crowd detection from video and performance analysis of YOLO models |
title_sort | new yolo-based method for real-time crowd detection from video and performance analysis of yolo models |
topic | Original Research Paper |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9885395/ https://www.ncbi.nlm.nih.gov/pubmed/36744218 http://dx.doi.org/10.1007/s11554-023-01276-w |
work_keys_str_mv | AT gunduzmehmetsirin anewyolobasedmethodforrealtimecrowddetectionfromvideoandperformanceanalysisofyolomodels AT isıkgultekin anewyolobasedmethodforrealtimecrowddetectionfromvideoandperformanceanalysisofyolomodels AT gunduzmehmetsirin newyolobasedmethodforrealtimecrowddetectionfromvideoandperformanceanalysisofyolomodels AT isıkgultekin newyolobasedmethodforrealtimecrowddetectionfromvideoandperformanceanalysisofyolomodels |