| Literature DB >> 35494812 |
Md Roman Bhuiyan1, Junaidi Abdullah1, Noramiza Hashim1, Fahmid Al Farid1, Mohammad Ahsanul Haque2, Jia Uddin3, Wan Noorshahida Mohd Isa1, Mohd Nizam Husen4, Norra Abdullah5.
Abstract
This research enhances crowd analysis by focusing on excessive crowd analysis and crowd density predictions for Hajj and Umrah pilgrimages. Crowd analysis usually analyzes the number of objects within an image or a frame in the videos and is regularly solved by estimating the density generated from the object location annotations. However, it suffers from low accuracy when the crowd is far away from the surveillance camera. This research proposes an approach to overcome the problem of estimating crowd density taken by a surveillance camera at a distance. The proposed approach employs a fully convolutional neural network (FCNN)-based method to monitor crowd analysis, especially for the classification of crowd density. This study aims to address the current technological challenges faced in video analysis in a scenario where the movement of large numbers of pilgrims with densities ranging between 7 and 8 per square meter. To address this challenge, this study aims to develop a new dataset based on the Hajj pilgrimage scenario. To validate the proposed method, the proposed model is compared with existing models using existing datasets. The proposed FCNN based method achieved a final accuracy of 100%, 98%, and 98.16% on the proposed dataset, the UCSD dataset, and the JHU-CROWD dataset, respectively. Additionally, The ResNet based method obtained final accuracy of 97%, 89%, and 97% for the proposed dataset, UCSD dataset, and JHU-CROWD dataset, respectively. The proposed Hajj-Crowd-2021 crowd analysis dataset and the model outperformed the other state-of-the-art datasets and models in most cases.Entities:
Keywords: Crowd analysis; Crowd density classification; Fully convolutional neural network (FCNN); Hajj crowd dataset
Year: 2022 PMID: 35494812 PMCID: PMC9044363 DOI: 10.7717/peerj-cs.895
Source DB: PubMed Journal: PeerJ Comput Sci ISSN: 2376-5992
Figure 1Input fully convolutional neural networks output.
Figure 2Crowd density classification process.
Figure 3Image labeling followed by manual checking on the labeling.
Figure 4Example of five classes dataset.
Figure 5Crowd analysis density training process using FCNNs.
Figure 6Crowd analysis density testing process using FCNN.
Comparison of eight real world dataset.
| Dataset | Number of image | Resolutions | Extreme congestion |
|---|---|---|---|
| UCSD ( | 2,000 | 158 × 238 | No |
| UCF-CC-50 ( | 50 | 2,101 × 2,888 | No |
| Mall ( | 2,000 | 480 × 640 | No |
| WorldExpo’10 ( | 3,980 | 576 × 720 | No |
| ShanghaiTech Part A ( | 482 | 589 × 868 | Yes |
| ShanghaiTech Part B ( | 716 | 768 × 1,024 | Yes |
| JHU-CROWD ( | 4,250 | 1,450 × 900 | Yes |
| NWPU-Crowd ( | 5,109 | 2,311 × 3,383 | Yes |
| PROPOSED HAJJ-CROWD DATASET | 27,000 | 1,914 × 922 | Yes |
Figure 7Five classes graphical presentation results.
Figure 8Confusion matrices for the test dataset, Van der Maaten & Hinton (2008) (A) Hajj-Crowd dataset, (B) UCSD dataset, and (C) JHU-CROWD dataset.
Five classes classification report using FCNN model with proposed Hajj-Crowd dataset.
| Class | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| VLOW | 1.00 | 1.00 | 1.00 | 1,080 |
| LOW | 1.00 | 1.00 | 1.00 | 1,080 |
| MEDIUM | 1.00 | 1.00 | 1.00 | 1,080 |
| HIGH | 1.00 | 1.00 | 1.00 | 1,080 |
| VHIGH | 1.00 | 1.00 | 1.00 | 1,080 |
| micro avg | 1.00 | 1.00 | 1.00 | 5,400 |
| macro avg | 1.00 | 1.00 | 1.00 | 5,400 |
Five classes classification report using FCNN model with JHU-CROWD dataset.
| Class | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| VLOW | 1.00 | 1.00 | 1.00 | 160 |
| LOW | 0.81 | 1.00 | 0.89 | 160 |
| MEDIUM | 1.00 | 0.76 | 0.86 | 160 |
| HIGH | 1.00 | 1.00 | 1.00 | 160 |
| VHIGH | 1.00 | 1.00 | 1.00 | 160 |
| micro avg | 0.95 | 0.95 | 0.95 | 800 |
| macro avg | 0.96 | 0.95 | 0.95 | 800 |
Five classes classification report using ResNet model with proposed Hajj-Crowd dataset.
| Class | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| VLOW | 1.00 | 1.00 | 1.00 | 1,080 |
| LOW | 0.82 | 1.00 | 0.88 | 1,080 |
| MEDIUM | 1.00 | 1.00 | 1.00 | 1,080 |
| HIGH | 1.00 | 1.00 | 1.00 | 1,080 |
| VHIGH | 1.00 | 1.00 | 1.00 | 1,080 |
| micro avg | 0.95 | 0.95 | 0.95 | 5,400 |
| macro avg | 0.96 | 0.95 | 0.95 | 5,400 |
Five classes classification report using ResNet model with JHU-CROWD dataset.
| Class | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| VLOW | 1.00 | 1.00 | 1.00 | 160 |
| LOW | 0.81 | 1.00 | 0.89 | 160 |
| MEDIUM | 1.00 | 0.76 | 0.86 | 160 |
| HIGH | 1.00 | 1.00 | 1.00 | 160 |
| VHIGH | 1.00 | 1.00 | 1.00 | 160 |
| micro avg | 0.95 | 0.95 | 0.95 | 800 |
| macro avg | 0.96 | 0.95 | 0.95 | 800 |
Figure 9Graphical result for the training dataset using ResNet method, (A) Hajj-Crowd dataset, (B) UCSD dataset, and (C) JHU-CROWD dataset.
Three classes classification report using FCNN model with proposed Hajj-Crowd dataset.
| Class | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| HIGH | 1.00 | 1.00 | 1.00 | 1,080 |
| VLOW | 1.00 | 1.00 | 1.00 | 1,080 |
| LOW | 1.00 | 1.00 | 1.00 | 1,080 |
| micro avg | 1.00 | 1.00 | 1.00 | 3,240 |
| macro avg | 0.60 | 0.60 | 0.60 | 3,240 |
Five classes classification report using FCNN model with UCSD dataset.
| Class | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| VLOW | 1.00 | 1.00 | 1.00 | 100 |
| LOW | 0.88 | 1.00 | 0.93 | 100 |
| MEDIUM | 1.00 | 0.86 | 0.92 | 100 |
| HIGH | 1.00 | 1.00 | 1.00 | 100 |
| VHIGH | 1.00 | 1.00 | 1.00 | 100 |
| micro avg | 0.97 | 0.97 | 0.97 | 500 |
| macro avg | 0.98 | 0.97 | 0.97 | 500 |
Five classes classification report using ResNet model with UCSD dataset.
| Class | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| VLOW | 1.00 | 1.00 | 1.00 | 100 |
| LOW | 1.00 | 0.46 | 0.63 | 100 |
| MEDIUM | 1.00 | 1.00 | 1.00 | 100 |
| HIGH | 1.00 | 1.00 | 1.00 | 100 |
| VHIGH | 0.67 | 1.00 | 0.80 | 100 |
| micro avg | 0.90 | 0.89 | 0.90 | 500 |
| macro avg | 0.93 | 0.89 | 0.89 | 500 |