Hostname: page-component-74656f9884-rngvg Total loading time: 0 Render date: 2026-11-06T01:59:06.566Z Has data issue: false hasContentIssue false

Enhancing real-time patient activity recognition for consistent performance in varying illumination and complex indoor environment

Published online by Cambridge University Press:  04 September 2025

Manoj Kumar Sain*
Affiliation:
Department of Electronics and Communication, The LNM Institute of Information Technology, Jaipur, India Current affiliation: Department of Computer Science, Banasthali Vidyapith, Niwai, Rajasthan, India
Rabul Laskar
Affiliation:
Department of Electronics and Communication, National Institute of Technology, Silchar, Assam, India
Joyeeta Singha
Affiliation:
Department of Electronics and Communication, The LNM Institute of Information Technology, Jaipur, India
Sandeep Saini
Affiliation:
Department of Electronics and Communication, The LNM Institute of Information Technology, Jaipur, India
*
Corresponding author: Manoj Kumar Sain; Email: manoj.sain@lnmiit.ac.in
Rights & Permissions [Opens in a new window]

Abstract

Human Activity Recognition (HAR) holds significant importance in health and human-machine interaction. However, recognizing actions from 2D information faces challenges like occlusion, illumination variation, cluttered backgrounds, and view invariance. These hurdles are particularly pronounced in indoor patient monitoring settings due to fluctuating lighting conditions and cluttered backgrounds, which compromise the accuracy of activity recognition systems. A new architecture named IlluminationRevive has been proposed to tackle this issue, which utilizes an encoder-decoder convolutional neural network (CNN) and image post-processing blocks to enhance the image’s visual appearance. A new dataset comprising seven indoor physical activities has been proposed, created with contributions from thirty individuals aged 20–45. A hybrid fusion architecture is proposed to classify activities, integrating motion sequence information and body joint features. The proposed classification model incorporates generated Skeleton Motion History Images (SMHIs), collected human joint motion features from video frames, and novel kinematic and geometric features within window frames as inputs. The model can extract spatial and temporal feature vectors by integrating ResNet50-ViT (Residual Network-50 layers, Vision Transformer) and CNN-BiLSTM (Convolutional Neural Network-Bidirectional Long Short-Term Memory) layers. The suggested classification model was evaluated alongside state-of-the-art models using the LNMIIT-SMD (The LNM Institute of Information Technology-Skeleton Motion Dataset) and established NTU-RGBD (Nanyang Technological University’s Red Blue Green and Depth information) dataset. The evaluation aimed to assess the effectiveness of the proposed classification model architecture. Results demonstrate the superiority of the proposed model, achieving impressive accuracies of 98.21% on real-time data, 98.45% on the proposed dataset, and 97.12% on the NTU-RGBD dataset. This high-accuracy, low-latency approach enhances robotic perception for healthcare applications, enabling service robots to perform real-time patient monitoring and assistive tasks in dynamic indoor environments.

Information

Type
Research Article
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Table I. Taxonomy of activity recognition literature.

Figure 1

Figure 1. Sample images of real-time testing videos.

Figure 2

Table II. Dataset collection and preprocessing.

Figure 3

Figure 2. Skeleton joints based activity classification methodology.

Figure 4

Figure 3. Informative joints selection for analysis.

Figure 5

Figure 4. Skeleton motion history images representation for each activity.

Figure 6

Figure 5. Geometric and kinematic features representation.

Figure 7

Figure 6. Sliding window approach for action recognition.

Figure 8

Figure 7. Image-to-image translation network.

Figure 9

Figure 8. SSIM and PSNR variation w.r.t lambda($\lambda$).

Figure 10

Algorithm 1 Detect Image Illumination

Figure 11

Figure 9. Restoration of underexposed image.

Figure 12

Table III. Accuracy of different approaches for human activity recognition.

Figure 13

Table IV. Configuration parameters for ViT.

Figure 14

Figure 10. Proposed hybrid model for activity detection/Classification architecture.

Figure 15

Table V. Analysis of different architectures leading to the proposed classification model.

Figure 16

Algorithm 2 Image Input Stream Algorithm

Figure 17

Algorithm 3 s Stream Algorithm

Figure 18

Table VI. Test results of various methodologies on the LNMIIT-SMD dataset.

Figure 19

Figure 11. Effect of illuminationRevive architecture: (a) Output without illuminationRevive architecture (b) Output with illuminationRevive architecture.

Figure 20

Figure 12. Graphical representation of test parameters for different illumination correction methods.

Figure 21

Figure 13. Testing illuminationRevive architecture on different datasets.

Figure 22

Figure 14. Testing existing dataset on illuminationRevive architecture and existing methods.

Figure 23

Figure 15. Skeleton motion history image representation for NTU RGB + D dataset.

Figure 24

Table VII. Hyperparameters used for model training.

Figure 25

Table VIII. Comparative analysis of different classification models on LNMIIT-SMD and NTU-RGBD dataset.

Figure 26

Figure 16. Batch size selection w.r.t accuracy for different classification models.

Figure 27

Figure 17. Accuracy comparison for different deep learning models on the NTU RGB + D dataset.

Figure 28

Figure 18. Accuracy comparison for different deep learning models on MSR daily activity and I3D post dataset.

Figure 29

Table IX. Model testing accuracy on MSR daily activity dataset and I3D post human action dataset.

Figure 30

Table X. Tukey test for comparative analysis among different classification models.

Figure 31

Figure 19. Variations in accuracy and loss across existing and proposed classification models. (a) Accuracy, loss variation w.r.t to epochs for CNN architecture. (b) Accuracy, loss variation w.r.t to epochs for LSTM architecture. (c) Accuracy, loss variation w.r.t to epochs for conLSTM architecture. (d) Accuracy, loss variation w.r.t to epochs for vision transformer-LSTM architecture. (e) Accuracy, loss variation w.r.t to epochs for proposed architecture.

Figure 32

Figure 20. ANOVA analysis for different classification models.

Figure 33

Table XI. Performance metrics for existing deep learning models and proposed model.

Figure 34

Figure 21. Variations in precision, recall, and F1-score across different deep learning models. (a) Variations in precision, recall, and F1-score for CNN architecture. (b) Variations in precision, recall, and F1-score for LSTM architecture. (c) Variations in precision, recall, and F1-score for convLSTM architecture. (d) Variations in precision, recall, and F1-score for vision transformer-LSTM architecture. (e) Variations in precision, recall, and F1-score for vision proposed architecture.

Figure 35

Figure 22. Confusion matrices for existing classification architectures and proposed classification model for LNNMIIT-SMD (a) Confusion metrics for CNN architecture. (b)Confusion metrics for LSTM architecture. (c) Confusion metrics for convLSTM architecture. (d) Confusion metrics for vision transformer-LSTM architecture. (e) Confusion metrics for proposed architecture.