[Paper Review] An IoT Based Framework For Activity Recognition Using Deep Learning Technique
This paper proposes an IoT-enabled, low-cost activity recognition framework using 3D-Convolutional Neural Networks (3D-CNNs) with background subtraction pre-processing for improved accuracy in human activity recognition. The system processes video streams from a Raspberry Pi, achieving correct activity classification in real-time on portable hardware, demonstrating feasibility for real-world deployment in healthcare, surveillance, and HCI applications.
Activity recognition is the ability to identify and recognize the action or goals of the agent. The agent can be any object or entity that performs action that has end goals. The agents can be a single agent performing the action or group of agents performing the actions or having some interaction. Human activity recognition has gained popularity due to its demands in many practical applications such as entertainment, healthcare, simulations and surveillance systems. Vision based activity recognition is gaining advantage as it does not require any human intervention or physical contact with humans. Moreover, there are set of cameras that are networked with the intention to track and recognize the activities of the agent. Traditional applications that were required to track or recognize human activities made use of wearable devices. However, such applications require physical contact of the person. To overcome such challenges, vision based activity recognition system can be used, which uses a camera to record the video and a processor that performs the task of recognition. The work is implemented in two stages. In the first stage, an approach for the Implementation of Activity recognition is proposed using background subtraction of images, followed by 3D- Convolutional Neural Networks. The impact of using Background subtraction prior to 3D-Convolutional Neural Networks has been reported. In the second stage, the work is further extended and implemented on Raspberry Pi, that can be used to record a stream of video, followed by recognizing the activity that was involved in the video. Thus, a proof-of-concept for activity recognition using small, IoT based device, is provided, which can enhance the system and extend its applications in various forms like, increase in portability, networking, and other capabilities of the device.
Motivation & Objective
- To develop a low-cost, portable activity recognition system using IoT-enabled devices for real-time monitoring.
- To improve the accuracy of 3D-CNN-based human activity recognition by integrating background subtraction as a pre-processing step.
- To validate the feasibility of deploying a trained 3D-CNN model on resource-constrained IoT devices like the Raspberry Pi.
- To enable real-time video processing and classification on edge devices for applications in healthcare, surveillance, and human-computer interaction.
- To demonstrate that lower-resolution video input can maintain classification performance while reducing computational load.
Proposed method
- Background subtraction is applied to video frames to isolate moving foreground objects from static backgrounds, enhancing feature extraction for subsequent processing.
- Pre-processed video clips (35 frames from 7 seconds of 8-second videos) are fed into a 3D-Convolutional Neural Network (3D-CNN) for spatio-temporal feature learning and classification.
- The 3D-CNN model is trained on the KTH dataset using a high-performance system due to the computational intensity of training.
- Trained model weights are transferred to a Raspberry Pi for inference, avoiding on-device training due to limited processing power.
- Video is captured at 160×120 resolution using the Raspberry Pi camera module, with frame sampling ensuring consistency with training data dimensions.
- Post-classification outputs are communicated via IoT protocols (e.g., SMS via GSM, email via SMTP) for real-time alerting or actuation.
Experimental results
Research questions
- RQ1Does background subtraction pre-processing improve the accuracy of 3D-CNN-based human activity recognition compared to using raw video frames?
- RQ2Can a 3D-CNN model trained on high-end hardware be effectively deployed and achieve reliable inference on low-power IoT devices like the Raspberry Pi?
- RQ3How does video resolution impact the trade-off between computational efficiency and classification accuracy in edge-based activity recognition?
- RQ4To what extent can a portable, IoT-based system maintain real-time performance and accuracy in real-world indoor environments with static backgrounds?
- RQ5What are the practical limitations of deploying deep learning models on edge devices with constrained computational resources?
Key findings
- Background subtraction pre-processing significantly improved classification accuracy compared to using raw video frames directly with 3D-CNNs.
- The system achieved correct activity classification on the Raspberry Pi using video captured from its onboard camera module, validating real-time deployment on edge devices.
- Lower-resolution video input (160×120) was sufficient for accurate classification and reduced computational load, enabling feasible on-device inference.
- Model inference on the Raspberry Pi was slower than on the training system, primarily due to limited computational capabilities, but remained functional for real-time applications.
- The transfer of pre-trained model weights from a high-performance system to the Raspberry Pi enabled effective deployment without on-device training.
- The framework supports integration with IoT communication protocols (e.g., GSM, SMTP), enabling real-time alerts and actuation in surveillance and healthcare applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.