A Machine Learning Model for Crowd Density Classification in Hajj Video Frames
- URL: http://arxiv.org/abs/2501.04911v1
- Date: Thu, 09 Jan 2025 01:58:14 GMT
- Title: A Machine Learning Model for Crowd Density Classification in Hajj Video Frames
- Authors: Afnan A. Shah,
- Abstract summary: This research proposes a machine learning model to classify crowd density into three levels: moderate crowd, overcrowded and very dense crowd.
It was tested on the KAU-Smart Crowd 'HAJJv2' dataset which contains 18 videos from various key locations during Hajj.
The model achieved an accuracy rate of 87% with a 2.14% error percentage (misclassification rate)
- Score: 0.0
- License:
- Abstract: Managing the massive annual gatherings of Hajj and Umrah presents significant challenges, particularly as the Saudi government aims to increase the number of pilgrims. Currently, around two million pilgrims attend Hajj and 26 million attend Umrah making crowd control especially in critical areas like the Grand Mosque during Tawaf, a major concern. Additional risks arise in managing dense crowds at key sites such as Arafat where the potential for stampedes, fires and pandemics poses serious threats to public safety. This research proposes a machine learning model to classify crowd density into three levels: moderate crowd, overcrowded and very dense crowd in video frames recorded during Hajj, with a flashing red light to alert organizers in real-time when a very dense crowd is detected. While current research efforts in processing Hajj surveillance videos focus solely on using CNN to detect abnormal behaviors, this research focuses more on high-risk crowds that can lead to disasters. Hazardous crowd conditions require a robust method, as incorrect classification could trigger unnecessary alerts and government intervention, while failure to classify could result in disaster. The proposed model integrates Local Binary Pattern (LBP) texture analysis, which enhances feature extraction for differentiating crowd density levels, along with edge density and area-based features. The model was tested on the KAU-Smart Crowd 'HAJJv2' dataset which contains 18 videos from various key locations during Hajj including 'Massaa', 'Jamarat', 'Arafat' and 'Tawaf'. The model achieved an accuracy rate of 87% with a 2.14% error percentage (misclassification rate), demonstrating its ability to detect and classify various crowd conditions effectively. That contributes to enhanced crowd management and safety during large-scale events like Hajj.
Related papers
- Multimodal video analysis for crowd anomaly detection using open access tourism cameras [76.93566452564627]
We propose the detection of crowd anomalies through the extraction of information in the form of time series from video format using a multimodal approach.
The application of this methodology on the webcam of Turisme Comunitat Valenciana in the town of Morella has provided excellent results.
arXiv Detail & Related papers (2024-05-21T11:56:01Z) - Backdoor Attacks on Crowd Counting [63.90533357815404]
Crowd counting is a regression task that estimates the number of people in a scene image.
In this paper, we investigate the vulnerability of deep learning based crowd counting models to backdoor attacks.
arXiv Detail & Related papers (2022-07-12T16:17:01Z) - Vision-based Conflict Detection within Crowds based on High-Resolution
Human Pose Estimation for Smart and Safe Airport [5.694579371558041]
This paper details the development of a machine learning model to classify conflicting behaviour in a crowd.
It was found that the support vector machine (SVM) achieved the most performant achieving precision of 94.37%.
The resulting model has potential for deployment within an airport if improvements are made to cope with the vast number of potential passengers in view.
arXiv Detail & Related papers (2022-07-01T14:54:12Z) - Spatial-Temporal Hypergraph Self-Supervised Learning for Crime
Prediction [60.508960752148454]
This work proposes a Spatial-Temporal Hypergraph Self-Supervised Learning framework to tackle the label scarcity issue in crime prediction.
We propose the cross-region hypergraph structure learning to encode region-wise crime dependency under the entire urban space.
We also design the dual-stage self-supervised learning paradigm, to not only jointly capture local- and global-level spatial-temporal crime patterns, but also supplement the sparse crime representation by augmenting region self-discrimination.
arXiv Detail & Related papers (2022-04-18T23:46:01Z) - Crowd counting with crowd attention convolutional neural network [23.96936386014949]
We propose a novel end-to-end model called Crowd Attention Convolutional Neural Network (CAT-CNN)
Our CAT-CNN can adaptively assess the importance of a human head at each pixel location by automatically encoding a confidence map.
With the guidance of the confidence map, the position of human head in estimated density map gets more attention to encode the final density map, which can avoid enormous misjudgements effectively.
arXiv Detail & Related papers (2022-04-15T06:51:58Z) - Towards Adversarial Patch Analysis and Certified Defense against Crowd
Counting [61.99564267735242]
Crowd counting has drawn much attention due to its importance in safety-critical surveillance systems.
Recent studies have demonstrated that deep neural network (DNN) methods are vulnerable to adversarial attacks.
We propose a robust attack strategy called Adversarial Patch Attack with Momentum to evaluate the robustness of crowd counting models.
arXiv Detail & Related papers (2021-04-22T05:10:55Z) - Scale-Aware Network with Regional and Semantic Attentions for Crowd
Counting under Cluttered Background [7.108205342578417]
We propose a ScaleAware Crowd Counting Network (SACCN) with regional and semantic attentions.
The proposed SACCN distinguishes crowd and background by applying regional and semantic self-attention mechanisms.
All codes and pretrained models will be released soon.
arXiv Detail & Related papers (2021-01-05T12:20:10Z) - Toward Accurate Person-level Action Recognition in Videos of Crowded
Scenes [131.9067467127761]
We focus on improving the action recognition by fully-utilizing the information of scenes and collecting new data.
Specifically, we adopt a strong human detector to detect spatial location of each frame.
We then apply action recognition models to learn thetemporal information from video frames on both the HIE dataset and new data with diverse scenes from the internet.
arXiv Detail & Related papers (2020-10-16T13:08:50Z) - Tracking in Crowd is Challenging: Analyzing Crowd based on Physical
Characteristics [0.0]
Event detection method is developed to identify abnormal behavior intelligently.
The problem is very challenging due to high crowd density in different areas.
We consider a novel method to deal with these challenges.
arXiv Detail & Related papers (2020-08-08T22:42:25Z) - Fine-Grained Crowd Counting [59.63412475367119]
Current crowd counting algorithms are only concerned with the number of people in an image.
We propose fine-grained crowd counting, which differentiates a crowd into categories based on the low-level behavior attributes of the individuals.
arXiv Detail & Related papers (2020-07-13T01:31:12Z) - PDANet: Pyramid Density-aware Attention Net for Accurate Crowd Counting [7.02081613648832]
Crowd counting remains an open real-world problem due to the vast scale variations in crowd density within the interested area.
We propose a novel Pyramid Density-Aware Attention-based network, abbreviated as PDANet, that leverages the attention, pyramid scale feature and two branch decoder modules for density-aware crowd counting.
arXiv Detail & Related papers (2020-01-16T04:26:05Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.