<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "https://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.3" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">IJCRT</journal-id>
<journal-title-group><journal-title>International Journal of Creative Research Thoughts</journal-title><abbrev-journal-title abbrev-type="publisher">IJCRT</abbrev-journal-title></journal-title-group>
<issn publication-format="electronic">2320-2882</issn>
<publisher><publisher-name>IJCRT Publication</publisher-name></publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">IJCRTBG02007</article-id>
<article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="discipline"><subject>Science and Technology</subject></subj-group></article-categories>
<title-group><article-title>Real-time abnormal activity detection in psychiatric care using hybrid 3D CNN-LSTM and identity tracking</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>Sahitya</surname><given-names>A</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<contrib contrib-type="author"><name><surname>Srilekha</surname><given-names>P</given-names></name></contrib>
<contrib contrib-type="author"><name><surname>Janakasudha</surname><given-names>G</given-names></name></contrib>
<contrib contrib-type="author"><name><surname>Mithun</surname><given-names>S</given-names></name></contrib>
</contrib-group>
<aff id="aff1">-</aff>
<pub-date publication-format="electronic" date-type="pub"><day>22</day><month>09</month><year>2025</year></pub-date>
<volume>13</volume>
<issue>9</issue>
<fpage>62</fpage>
<lpage>72</lpage>
<permissions><copyright-statement>© 2025 The Author(s)</copyright-statement><copyright-year>2025</copyright-year><copyright-holder>The Author(s)</copyright-holder><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><ali:license_ref>https://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This is an open access article distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0).</license-p></license></permissions>
<self-uri content-type="pdf" xlink:href="https://ijcrt.org/papers/IJCRTBG02007.pdf"/>
<self-uri content-type="html" xlink:href="https://ijcrt.org/fulltext.php?paper=IJCRTBG02007"/>
<abstract><p>Continuous monitoring of psychiatric and elderly patients is essential for ensuring safety and timely intervention in critical healthcare environments. Many elderly patients may be unable to express pain whenever care is actually crucial. Traditional wearable-based systems often fall short due to discomfort, limited compliance, and inability to detect abnormal disturbances among patients in real-time. The World Health Organization (WHO) recommends a doctor to population ratio of 1:1000; however, India currently averages only 1 doctor per 1500 people. To address these limitations and bridge the gap in scenarios lacking human supervision, this paper proposes a non- intrusive, vision-based framework for real-time abnormal activity detection in elderly people and for psychiatric patient monitoring using a deep learning framework integrated with alert system. The system combines YOLOv8 and DeepSORT for identification and tracking the patient. For behavioral analysis, two deep learning models were compared: a shallow 3D Convolutional Neural Network (3D CNN) and a hybrid MobileNetV2 model combined with GRU (Gated Recurrent Unit). Experimental results demonstrate that the MobileNetV2-GRU model outperforms the shallow 3D CNN in fall detection and for violence detection, the MobileNetV2-LSTM model is employed due to its superior ability to capture temporal features. Upon detecting abnormality in patients, the system triggers real-time alerts to caregivers via the Twilio API. Future work will focus on improving the robustness of the identity tracking module and extending the framework to multi- subject environments.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Continuous monitoring of psychiatric and elderly patients is essential for ensuring safety and timely intervention in critical healthcare environments. Many elderly patients may be unable to express pain whenever care is actually crucial. Traditional wearable-based systems often fall short due to discomfort</kwd><kwd>limited compliance</kwd><kwd>and inability to detect abnormal disturbances among patients in real-time. The World Health Organization (WHO) recommends a doctor to population ratio of 1:1000</kwd><kwd>however</kwd></kwd-group>
<counts><fig-count count="10"/><table-count count="3"/><equation-count count="0"/><ref-count count="19"/><word-count count="3320"/></counts>
</article-meta>
</front>
<body>
<p>vision and AI technologies to enhance patient care and safety. By using video feeds from cameras installed in patient rooms or home settings, these systems provide non-invasive, continuous monitoring without the need for wearable devices— making them ideal for elderly, psychiatric, or critically ill patients. The system’s core functionality involves analyzing video footage in real time to detect abnormal activities, such as falls, unusual movements, or signs of distress.</p>
<p>Despite their benefits, vision-based monitoring systems face challenges. Environmental factors like lighting changes, varied camera angles, and multiple individuals in view can affect accuracy. Moreover, ethical and privacy concerns must be addressed, especially when monitoring vulnerable populations. The primary goals of this project are to develop a vision-based patient monitoring system using the Abnormal Activity Recognition Network (AARNet) - a unified deep learning framework that combines fall detection and violence detection engines, specifically tailored for elderly and psychiatric patients in home settings. 1.1 <bold>Problem Statement: </bold>Elderly individuals and patients in psychiatric care are highly susceptible to sudden critical situations like a sudden fall or even medical emergencies like heart attacks or seizures. In many cases, these individuals may be unable to call for help or express discomfort, making timely detection and response vital to prevent serious injury or even death. Wearables can cause discomfort, may be removed or misplaced, and frequently produce inconsistent results, particularly in sensitive care settings. Moreover, human supervision alone is neither scalable nor continuous.</p>
<p>To address these limitations, the proposed work presents a vision-based, non-contact patient monitoring system leveraging computer vision and deep learning techniques. By offering continuous, individualized observation without physical intrusion, this approach significantly enhances patient safety, responsiveness, and overall healthcare delivery efficiency.</p>
<sec id="s-1-2-objective"><title>1.2 Objective:</title>
<p>The vision-based patient monitoring system aims to deliver a real -time, non-intrusive solution for improving safety and care quality in healthcare and assisted living environments. Key objectives include:</p>
<list list-type="bullet"><list-item><p>Patient identification using YOLO -v8, continuous tracking via DeepSORT to maintain patient identity and observe behaviour patterns over time. Behaviour recognition through spatial-temporal video analysis, identifying signs of distress or abnormal movements.</p></list-item><list-item><p>Real-time alerts sent to caregivers via SMS to the list of emergency contacts, including patient ID (in case of assisted living environments), and type of abnormality detected. No use of wearables, improving comfort for elderly or psychiatric patients.</p></list-item></list>
</sec>
<sec id="s-2-literature-survey"><title>2. LITERATURE SURVEY:</title>
<p>Vision-based fall detection using deep learning has seen extensive development. Alam et al. reviewed vision-based human fall detection systems, emphasizing the role of CNNs in real-world settings [1]. Chhetri et al. enhanced accuracy under variable lighting conditions with CNNs combined with optical flow [2]. Lee et al. proposed an EfficientNetB4–BiLSTM hybrid achieving over 97% accuracy on fall datasets [3]. Paul et al. implemented fall detection on edge devices using EdgeTPU and ResNet50 achieving 95% accuracy [4].</p>
<p>Hybrid spatio-temporal CNN-LSTM models are effective for detecting violent behaviours. Gaya‑Morey et al. surveyed CNN architectures for elderly behaviour recognition [5]. Alanazi et al. used 3D multi-stream CNNs with image fusion to detect falls and violence simultaneously [6]. Kumar et al. leveraged DenseNet121- LSTM for aggression detection in healthcare surveillance [7]. MobileNetV2-based models have been favoured for lightweight, resource-constrained deployment. Zhang et al. fused MobileNetV2 with attention mechanisms for elderly activity classification [8]. Singh and Bhattacharya deployed MobileNetV2 -LSTM on ARM platforms to achieve near-real-time processing [9].</p>
<p>Real-time object detection and tracking frameworks have matured. Redmon et al. introduced the YOLOv5 architecture achieving 45 FPS on full HD [10]. Ultralytics released YOLOv8, demonstrating improved accuracy and speed in healthcare contexts [11]. Wojke et al. introduced DeepSORT, prioritizing deep embedding updates for robust identity tracking [12]. Faisal’s GitHub implementation validates YOLOv8 and DeepSORT for multi-person tracking [13].</p>
<p>Several studies explore combined frameworks. Nongbri et al. developed an IoT-enabled system integrating fall detection and caregiver notifications, though without identity tracking [14]. Mohammed et al. presented a cloud-based healthcare alert platform using CNN and LSTM but lacked subject-specific tracking [15]. Tripathi et al. combined action recognition with SMS alerts for elderly care but did not include identity maintenance [16].</p>
<p>Previous systems either address fall, violence, or identity tracking in isolation. Few integrate all three in a unified framework suitable for deployment in home or clinical settings. Existing models often lack scalability and non-intrusiveness. In contrast, our work proposes AARNet, a unified vision-based framework with: Hybrid MobileNetV2–GRU for fall and MobileNetV2–LSTM for abnormal activity detection, YOLOv8 and DeepSORT for accurate subject tracking, and Real-time SMS alerts for caregivers.</p>
</sec>
<sec id="s-3-proposed-methodology"><title>3. PROPOSED METHODOLOGY:</title>
<p>The proposed system will improve the monitoring and safety of an individual, chiefly in places where vigilant monitoring is necessary, such as homes for the aged, psychiatric units, and distant care settings. There are three central modules around which the system is built. Subject Identity Recognition module is proposed to identify individuals in video feeds to facilitate personalized monitoring.</p>
<p>Second module leverages MobileNetV2-GRU networks to accurately identify fall incidents in real-time video streams and for abnormal activity detection, MobileNetV2-LSTM model is used to recognize violent or abnormal behaviours.</p>
<p>Alert Generation module will make sure that the alerting of the emergency contacts is done promptly through SMS alerts whenever abnormal activities are detected. Figure 3.1 depicts this proposed architecture diagram.</p>
<fig id="f1" position="anchor"><label>Figure 1</label><caption><p>Figure 3.1 Proposed Architecture Diagram</p></caption><graphic xlink:href="https://ijcrt.org/html/IJCRTBG02007-f1.png"/></fig>
<sec id="s-3-1-subject-identity-recognition-module"><title>3.1 Subject Identity Recognition Module:</title>
<p>Subject Identity Recognition module is responsible for identifying and tracking individuals in video streams using facial features. The InsightFace library is used to detect faces and extract high-quality face embeddings from a set of reference images. For the purposed work, a sample folder containing labelled images of known individuals is used. This module leverages the combined capabilities of YOLOv8 (You Only Look Once, version 8) for real-time object detection and DeepSORT (Simple Online and Realtime Tracking with a Deep Association Metric) for robust multi-object tracking, enabling reliable recognition and monitoring of individuals across sequential video frames.</p>
<p>YOLOv8 is a state-of-the-art object detection model known for its balance between speed and accuracy, making it highly suitable for real-time applications such as video surveillance. It incorporates an advanced architecture comprising enhanced backbone and neck layers that effectively capture multi-scale spatial features.</p>
<p>In the context of subject identification, YOLOv8 detects human subjects in video frames by predicting bounding boxes, confidence scores, and class probabilities. It employs preprocessing steps such as image resizing and normalization, followed by feature extraction through its deep convolutional backbone. To maintain identity continuity across video frames, YOLOv8 is integrated with the DeepSORT tracking algorithm.</p>
<p>DeepSORT uses the detection outputs from YOLOv8— specifically the bounding boxes and class labels— as inputs and assigns a unique track ID to each detected subject. It extracts appearance descriptors, which are high-dimensional feature vectors generated using a CNN-based embedding model trained on person re- identification datasets. These descriptors facilitate accurate subject tracking even in challenging scenarios involving occlusion, reappearance, or scene clutter. This integration of YOLOv8 and DeepSORT provides a robust mechanism for real-time identity recognition and tracking in dynamic multi-person environments.</p>
</sec>
<sec id="s-3-2-abnormal-activity-recognition-aar-module"><title>3.2 Abnormal Activity Recognition (AAR) Module</title>
<p>The Abnormal Activity Recognition (AAR) module is the core analytical engine of the proposed system, designed to detect abnormal behaviour in real-time. This module plays a pivotal role in enhancing the safety of individuals, particularly in environments that demand continuous monitoring, such as elder care facilities, psychiatric units, and remote healthcare settings.</p>
<p>For behaviour analysis in input video streams, this work employs a hybrid deep learning architecture combining MobileNetV2 and Long Short-Term Memory (LSTM) networks. MobileNetV2 is a lightweight and efficient convolutional neural network (CNN) designed for fast and accurate feature extraction from individual video frames. It is particularly well-suited for real-time applications and resource-constrained environments due to its low computational cost.</p>
<p>To capture this temporal information, the high-level features extracted by MobileNetV2 from each frame are fed into an LSTM network. LSTMs are a type of recurrent neural network (RNN) that excel at modeling sequential data and learning long-term dependencies, making them ideal for analyzing the progression of actions across multiple frames.</p>
<p>By combining MobileNetV2 for spatial feature extraction and LSTM for temporal sequence modeling, the system achieves robust and efficient detection of abnormality such as falls and violence, even in challenging real-world video scenarios. It ensures precision and accuracy, making it implementable for real-time surveillance.</p>
<fig id="f2" position="anchor"><label>Figure 2</label><caption><p><bold>Figure 3.2 Flowchart of the architecture used for Abnormal activity recognition(AAR) </bold></p></caption><graphic xlink:href="https://ijcrt.org/html/IJCRTBG02007-f2.png"/></fig>
</sec>
<sec id="s-3-3-alert-generation-module"><title>3.3 Alert Generation Module:</title>
<p>The Alert Generation Module constitutes a critical component of the proposed intelligent monitoring system. This module bridges the gap between detection and response by delivering real-time alerts, thereby enabling rapid intervention and potentially mitigating the consequences of critical incidents such as falls or violent actions.</p>
<p>The alert system is seamlessly integrated with Twilio, a robust cloud communication platform that supports programmatic messaging via SMS. Twilio&#039;s Application Programming Interface (API) is employed to facilitate reliable and scalable delivery of alerts to pre-defined emergency contacts, including caregivers, medical personnel, or law enforcement authorities.</p>
<p>When the Abnormal Activity Recognition (AAR) Module identifies a significant incident— such as a fall, violent behaviour, or the appearance of a flagged individual— the Alert Generation Module is immediately activated.</p>
</sec>
</sec>
<sec id="s-4-design-implementation"><title>4. DESIGN IMPLEMENTATION:</title>
<sec id="s-4-1-data-collection-and-pre-processing"><title>4.1 Data Collection and Pre-Processing</title>
<p>Data collection and pre-processing is a foundational step in the implementation pipeline of the proposed system. The proposed system utilizes two independent datasets for violence detection and fall detection. Each dataset is preprocessed and annotated according to the respective task requirements.Table 4.1 gives the summary of the datasets used in the proposed work.</p>
<table-wrap id="t1" position="anchor"><label>Table 1</label><caption><p><bold>Table 4.1 Summary of the datasets used </bold></p></caption><table frame="hsides" rules="groups"><thead><tr><th><bold>Submodule </bold></th><th><bold>Dataset Used </bold></th><th><bold>Total Samples </bold></th><th><bold>Positive </bold> <bold>Class </bold></th><th><bold>Negative </bold> <bold>Class </bold></th></tr></thead><tbody><tr><td>Fall Detection</td><td>Multiple Camera Fall Dataset (Kaggle)</td><td>110</td><td>52 (Fall)</td><td>58 (Normal)</td></tr><tr><td>Violence</td><td>Custom AIRTLab Dataset (4</td><td>350 (train), 70 230</td><td></td><td>120 (Non-</td></tr><tr><td>Detection</td><td>Cams Total)</td><td>(test)</td><td>(Violent)</td><td>Violent)</td></tr></tbody></table></table-wrap>
<sec id="s-4-1-1-violence-detection-dataset"><title>4.1.1 Violence Detection Dataset</title>
<p>The violence detection dataset (Custom AIRTLab Dataset) is organized into two main categories: violent and non-violent, each further subdivided into recordings from two surveillance camera angles: cam1 and cam2[19]. Metadata is extracted from an auxiliary CSV file (action-class-occurrences.csv) to identify action class labels and their corresponding binary violence annotations. Video frames are extracted at uniform intervals, preserving temporal consistency across samples. Each video is downsampled to a fixed-length sequence of eight frames, with each frame resized to 160 × 160 pixels and normalized in the range [0,1]. This approach ensures a compact, memory-efficient representation without compromising spatio temporal features critical for violence classification.</p>
</sec>
</sec>
</sec>
<sec id="s-4-1-2-fall-detection-dataset"><title>.4.1.2 Fall Detection Dataset</title>
<p>The Multiple Cameras Fall Dataset from Kaggle [18] is employed as the principal dataset for training and evaluating the proposed fall detection system. This dataset is specifically curated to simulate real-world conditions and provide comprehensive coverage of diverse scenarios in which fall events may occur. It comprises 192 video sequences, recorded using eight synchronized IP cameras across 24 distinct conditions. The inclusion of multiple cameras and varied environments makes this dataset a robust benchmark for developing deep learning models aimed at recognizing abnormal activities, particularly falls, in surveillance footage.</p>
<p>The multi-camera configuration provides a diverse set of viewpoints for each fall incident. This is particularly valuable in realistic settings where camera placement, occlusions, and the subject’s orientation may vary significantly. The dataset captures subjects moving towards and away from the camera, from left to right, or even partially occluded by obstacles. Such variability ensures that the trained model is not limited by the constraints of a single viewpoint or controlled setting. It promotes the learning of generalized patterns that are essential for accurate and real-time fall detection in complex environments such as homes, hospitals, or public surveillance zones.</p>
<p>A significant challenge in fall detection is the real -world variability in lighting, posture, and motion dynamics. Illumination conditions, for example, may shift abruptly— ranging from brightly lit areas to dimly lit corners or changing dynamically due to the time of day or movement of light sources. Likewise, human falls can manifest in numerous forms, such as forward, backward, or sideways, with varying speed and impact. These factors pose difficulties for models trained only on controlled, homogenous datasets. The Multiple Cameras Fall Dataset addresses this issue by incorporating a broad spectrum of fall scenarios under diverse environmental conditions, thereby enhancing the model’s robustness and generalization ability.</p>
<p>Each video segment is converted into either 3D spatiotemporal volumes or frame sequences based on the downstream model. For the 3D CNN model, a continuous sequence of 16 frames is extracted, resized to 112 × 112, and stacked into a (16, 112, 112, 3) tensor. For this, 96 x 96 resized, sequences of 8 frames are processed with Keras’s MobileNet specific preprocess_input.</p>
<sec id="s-4-2-model-architectures"><title>4.2 Model Architectures</title>
<sec id="s-4-2-1-abnormality-detection"><title>4.2.1 Abnormality Detection</title>
<p>A hybrid deep learning model combining MobileNetV2 with Long Short-Term Memory (LSTM) was employed for violence or abnormal activity detection. A pre-trained ImageNet MobileNetV2 is employed to extract visual features from each frame, integrated via a Time Distributed wrapper to manage sequential inputs. The 1280-dimensional feature vector output for each frame is passed through a single-layer LSTM with 32 hidden units, capturing temporal dependencies and motion dynamics. A dense sigmoid layer is used for final binary classification.</p>
</sec>
<sec id="s-4-2-2-fall-detection-model-comparison"><title>4.2.2 Fall Detection: Model Comparison</title>
<list list-type="order"><list-item><p>3D CNN-Based Model</p></list-item></list>
<p>This model adopts a hierarchical 3D convolutional pipeline that simultaneously learns spatial and temporal features. The model comprises three blocks of Conv3D and MaxPooling3D layers followed by Batch Normalization. The output is passed through a Global Average Pooling layer and two dense layers for classification. While computationally intensive, the 3D CNN offers strong joint spatio temporal learning and performed reliably under constrained video segments.</p>
<list list-type="order"><list-item><p>MobileNetV2 + GRU (Gated Recurrent Unit)</p></list-item></list>
<p>This model employs a frame-wise feature extraction approach using MobileNetV2 followed by GRU for sequence learning. Each frame is passed through MobileNetV2 (output: 1280-dimensional feature vector), followed by a GRU layer that models temporal relationships across the sequence.</p>
<p>The MobileNetV2 + GRU model demonstrated superior performance in both accuracy and training efficiency, attributed to its ability to decouple spatial and temporal learning while leveraging pretrained semantic features.</p>
</sec>
<sec id="s-4-2-3-training-and-evaluation-strategy"><title>4.2.3 Training and Evaluation Strategy</title>
<p>For both tasks, the dataset was split into 80% training and 20% validation using stratified sampling to preserve class balance. Models were trained using the binary cross -entropy loss and monitored via validation accuracy and AUC. Standard callbacks such as EarlyStopping, ReduceLROnPlateau, and ModelCheckpoint were employed to ensure robust convergence and prevent overfitting. All training was performed on a standard CPU environment, and models were carefully designed to remain computationally efficient, ensuring feasibility for deployment in low-resource or real-time applications.</p>
</sec>
</sec>
</sec>
<sec id="s-5-results-and-comparative-analysis"><title>5. Results and Comparative Analysis</title>
<p>This section presents the empirical results for the fall and violence detection modules, comparing deep learning architectures based on standard evaluation metrics such as accuracy, precision, recall, F1-score, and AUC.</p>
<sec id="s-5-1-fall-detection-model-comparison"><title>5.1 Fall Detection: Model Comparison</title>
<p>Two deep learning models were evaluated for fall detection using the same dataset and preprocessing pipeline to ensure a fair comparison. Figure 5.1 represent the ROC curve of the 3D CNN model and Figure 5.2 represents the confusion matrix of the 3D CNN model.</p>
<fig id="f3" position="anchor"><label>Figure 3</label><caption><p>Figure 5.1 ROC Curve of the 3D CNN model Figure 5.2 Confusion Matrix of the 3D CNN model</p></caption><graphic xlink:href="https://ijcrt.org/html/IJCRTBG02007-f3.png"/></fig>
<fig id="f4" position="anchor"><label>Figure 4</label><caption><p>Figure 5.3 ROC Curve of the MobilenetV2 model Figure 5.4 Confusion matrix of the MobilenetV2 model combined with GRU combined with GRU</p></caption></fig>
<p>Figure 5.3 represents the ROC curve of the MobilenetV2 combined with GRU and Figure 5.4 represents the Confusion matrix of the MobilenetV2 combined with GRU for detecting falls in a input video stream.</p>
<table-wrap id="t2" position="anchor"><label>Table 2</label><caption><p><bold>Table 4.2 Performance Comparison of Fall Detection Models </bold></p></caption><alternatives><graphic xlink:href="https://ijcrt.org/papers/IJCRTBG02007.pdf#page=7"/></alternatives></table-wrap>
<p>Table 4.2 compares the metrics of both the approaches. The MobileNetV2 + GRU model outperformed the 3D CNN in all metrics. The 3D CNN suffered from low recall on fall class, likely due to underfitting or inability to capture fine-grained temporal motion with limited depth. MobileNetV2 + GRU provided better temporal modeling with a lower parameter count, supporting real-time deployment.</p>
<fig id="f5" position="anchor"><label>Figure 5</label><caption><p>Figure 5.5 Fall detected and flagged by the system in a sample input sequence.</p></caption><graphic xlink:href="https://ijcrt.org/html/IJCRTBG02007-f5.jpg"/></fig>
</sec>
<sec id="s-5-2-abnormal-activity-detection"><title>5.2 Abnormal activity detection</title>
<p>For violence detection, a single hybrid model was employed based on MobileNetV2 and LSTM. The results on a test set of 70 videos are summarized below. Table 4.3 presents the evaluation metrics for the sub module - abnormality detection.</p>
<table-wrap id="t3" position="anchor"><label>Table 3</label><caption><p><bold>Table 4.3 Evaluation metrics for the sub module -abnormality detection </bold></p></caption><alternatives><graphic xlink:href="https://ijcrt.org/papers/IJCRTBG02007.pdf#page=8"/></alternatives></table-wrap>
<p>The model was highly effective in detecting violent events (Recall = 1.00), but exhibited some false positives in the non-violent class. High AUC confirms the model&#039;s strong discriminative power. Future improvements can include fine-tuning the class imbalance and incorporating attention mechanisms.</p>
<fig id="f6" position="anchor"><label>Figure 6</label><caption><p>Figure 5.6 Confusion matrix of the MobilenetV2 model Figure 5.7 ROC Curve of the MobilenetV2</p></caption></fig>
<fig id="f7" position="anchor"><label>Figure 7</label><caption><p>Figure 5.8 Results of the trained model on a sample test video for detecting violence/abnormality</p></caption><graphic xlink:href="https://ijcrt.org/html/IJCRTBG02007-f7.jpg"/></fig>
</sec>
<sec id="s-5-3-subject-identification-and-tracking"><title>5.3 Subject identification and tracking</title>
<p>To associate detected abnormal behaviours with specific individuals, the system incorporates a robust subject identification pipeline based on YOLOv8 and DeepSORT. YOLOv8 is employed as a real-time object detector, fine-tuned to localize human subjects in each frame. It outputs bounding boxes with high precision under varying lighting and orientation. These detections are then passed to DeepSORT, a multi- object tracking algorithm that filtering for motion prediction and a deep appearance descriptor for matching.</p>
<fig id="f8" position="anchor"><label>Figure 8</label><caption><p>Figure 5.9 Results of the Subject identification Figure 5.10 Subject identification (in case of any</p></caption><graphic xlink:href="https://ijcrt.org/html/IJCRTBG02007-f8.jpg"/></fig>
<p>and tracking module violence detected)</p>
<p>The output of the subject identification module is illustrated in Figure 5.9, which demonstrates real-time person detection and consistent ID assignment across frames using the YOLOv8 –DeepSORT pipeline. In surveillance scenarios involving abnormal behaviours, the identity-aware tracking remains robust.</p>
<p>As shown in Figure 5.10, the system successfully maps detected violent behaviour to the corresponding individual by associating bounding boxes with unique subject IDs. This capability is critical for incident accountability in multi-person environments. Furthermore, Figure 5.11 highlights the integration of violence prediction with subject tracking, providing a seamless overlay of detected actions and associated identities.</p>
<fig id="f9" position="anchor"><label>Figure 9</label><caption><p><bold>Figure 5.11 Violent Behaviour Prediction and Tracking </bold></p></caption><graphic xlink:href="https://ijcrt.org/html/IJCRTBG02007-f9.jpg"/></fig>
</sec>
<sec id="s-5-3-alert-generation-module"><title>5.3 Alert generation module</title>
<p>The alert generation module is triggered immediately upon detection of an abnormal event such as a fall or violent behaviour. This mechanism is a critical component of the system, designed to ensure real-time response and intervention by caregivers or security personnel.</p>
<p>Twilio’s Messaging API is utilized to send SMS notifications, ensuring fast and direct communication. These alerts are especially vital in scenarios where rapid physical intervention is necessary to ensure the safety and well-being of the monitored individual. Figure 5.12 illustrate examples of the alert messages generated by the system and sent to designated caregivers, showcasing both the content and delivery interface of the real-time emergency notifications.</p>
<p>This integration of intelligent behaviour detection with an automated alerting system significantly enhances situational awareness and response efficiency, making the system suitable for deployment in elder care facilities, psychiatric wards, public transport terminals, and other sensitive environments.</p>
<fig id="f10" position="anchor"><label>Figure 10</label><caption><p><bold>FIGURE 5.12 SMS ALERT MESSAGE TO EMERGENCY CONTACTS(USING TWILIO API) </bold></p></caption><graphic xlink:href="https://ijcrt.org/html/IJCRTBG02007-f10.jpg"/></fig>
</sec>
</sec>
<sec id="s-6-conclusion-and-future-work"><title>6. CONCLUSION AND FUTURE WORK:</title>
<p>This work presents the development of a vision-based patient monitoring system capable of detecting falls and violent behaviour in real-time, utilizing the AARNet model. The system demonstrates strong performance in classifying abnormal events, thereby enabling timely intervention to enhance patient safety— particularly in vulnerable populations such as the elderly and individuals with psychiatric conditions.</p>
<p>Additionally, the integration of YOLOv8 and DeepSORT has enabled multi -person identification and tracking in crowded scenes, marking a significant step toward robust patient monitoring. Despite this progress, further improvements are necessary to address challenges such as occlusion, varying lighting conditions, and dynamic subject movements.</p>
<p>Future enhancements include expanding the system’s capabilities to detect a broader spectrum of abnormal behaviours, notably epileptic seizures, through advanced machine learning techniques. Overall, this vision- based monitoring system holds significant promise for improving healthcare delivery and safety. Continued research and development will pave the way for its deployment in diverse real -world settings such as hospitals, elder care facilities, and psychiatric centers.</p>
</sec>
</body>
<back><ref-list><title>REFERENCES</title>
<ref id="r1"><label>1</label><mixed-citation>E. Alam, A. Sufian, P. Dutta, and M. Leo, “Vision -based human fall detection systems using deep learning: a review,” Comput. Biol. Med., vol. 146, no. 105626, Jul. 2022.</mixed-citation></ref>
<ref id="r2"><label>2</label><mixed-citation>S. Chhetri, A. Alsadoon, T. Al‑Dala’in, P. W. C. Prasad, T. A. Rashid, and A. Maag, “Deep learning for vision-based fall detection system: enhanced optical dynamic flow,” Comput. Intell., vol. 37, pp. 578–595, Apr. 2021.</mixed-citation></ref>
<ref id="r3"><label>3</label><mixed-citation>J. Lee, H. Kim, and S. Park, “Efficient fall detection using EfficientNet and BiLSTM,” in Proc. IEEE Int. Conf. Image Process., 2022, pp. 1234–1238.</mixed-citation></ref>
<ref id="r4"><label>4</label><mixed-citation>N. Paul, P. Konwar, W. Nongbri, and A. Bora, “Real-time fall detection monitoring on elderly using IoT and deep learning,” in Explainable IoT Applications, 1st ed., Singapore: Springer, 2025, pp. 325–339.</mixed-citation></ref>
<ref id="r5"><label>5</label><mixed-citation>F. X. Gaya‑Morey, C. Manresa‑Yee, and J. M. Buades‑Rubio, “Deep learning for computer vision based activity recognition and fall detection of the elderly: a systematic review,” arXiv, Jan. 2024.</mixed-citation></ref>
<ref id="r6"><label>6</label><mixed-citation>T. Alanazi, K. Babutain, and G. Muhammad, “A robust and automated vision-based human fall detection system using 3D multi-stream CNNs with an image fusion technique,” arXiv, 2023.</mixed-citation></ref>
<ref id="r7"><label>7</label><mixed-citation>A. Kumar, S. Roy, and P. Sharma, “Aggression detection in healthcare settings using DenseNet121- LSTM,” in Proc. IEEE Int. Conf. Health Comput. Syst., 2023, pp. 78–84.</mixed-citation></ref>
<ref id="r8"><label>8</label><mixed-citation>L. Zhang, Y. Wei, and X. Sun, “Attention-augmented MobileNetV2 for activity recognition among elderly,” IEEE Access, vol. 11, pp. 45 678–45 689, 2023.</mixed-citation></ref>
<ref id="r9"><label>9</label><mixed-citation>R. Singh and S. Bhattacharya, “MobileNetV2-LSTM on ARM for fall detection in smart homes,” J. Real-Time Image Process., vol. 22, pp. 202–211, 2024.</mixed-citation></ref>
<ref id="r10"><label>10</label><mixed-citation>J. Redmon, A. Farhadi, and G. Jocher, “YOLOv5: A real-time object detection system,” arXiv, 2020.</mixed-citation></ref>
<ref id="r11"><label>11</label><mixed-citation>G. Jocher et al., “YOLOv8 by Ultralytics,” GitHub, 2023.</mixed-citation></ref>
<ref id="r12"><label>12</label><mixed-citation>N. Wojke, A. Bewley, and D. Paulus, “DeepSORT: Simple online and realtime tracking with a deep association metric,” in Proc. IEEE Int. Conf. Image Process., 2021, pp. 6056–6060.</mixed-citation></ref>
<ref id="r13"><label>13</label><mixed-citation>M. M. Faisal, YOLOv8‑DeepSORT‑Object‑Tracking, GitHub, Mar. 2023.</mixed-citation></ref>
<ref id="r14"><label>14</label><mixed-citation>W. Nongbri, P. Konwar, and N. Paul, “Fall detection and alert notification for elderly care using IoT and CNN,” in Proc. IEEE Int. Conf. Connected Health, 2022, pp. 110–116.</mixed-citation></ref>
<ref id="r15"><label>15</label><mixed-citation>A. Mohammed and B. Johnson, “Cloud -enabled CNN-LSTM healthcare alert system for emergency events,” IEEE Trans. Cloud Comput., vol. 9, no. 2, pp. 128–139, Apr. 2024.</mixed-citation></ref>
<ref id="r16"><label>16</label><mixed-citation>S. Tripathi and S. Bansal, “Real-time violence detection and SMS alert system for elderly care,” in Proc. IEEE ICCCNT, 2021, pp. 645–651.</mixed-citation></ref>
<ref id="r17"><label>17</label><mixed-citation>Z. Huang, H. Liu, and L. Yang, “Lightweight R-GCN-LSTM for dynamic activity classification in smart care,” IEEE Internet Things J., vol. 12, no. 5, pp. 34 567–34 576, May 2025.</mixed-citation></ref>
<ref id="r18"><label>18</label><mixed-citation>S. Sarker, “Multiple Cameras Fall Dataset”, Kaggle [Onlinne]. Available: <ext-link ext-link-type="uri" xlink:href="https://www.kaggle.com/datasets/soumicksarker/multiple-cameras-fall-dataset">https://www.kaggle.com/datasets/soumicksarker/multiple-cameras-fall-dataset</ext-link>.</mixed-citation></ref>
<ref id="r19"><label>19</label><mixed-citation>M. Bianculli, N. Falcionelli, P. Sernani, S. Tomassini, P. Contardo, M. Lombardi, and A. F. Dragoni, “A Dataset for Automatic Violence Detection in Videos,” Data in Brief, vol. 33, p. 106587, 2020, doi: <pub-id pub-id-type="doi">10.1016/j.dib.2020.106587</pub-id>.</mixed-citation></ref>
</ref-list></back>
</article>
