Abstract
This paper presents a high-speed, linear-time approach for detecting human actions in 3D skeletal data streams. By integrating a "Bag of Gesturelets" representation with a novel "Efficient Linear Search" (ELS) algorithm, the proposed framework achieves state-of-the-art accuracy while processing data at over 90 frames per second on a standard CPU. The method effectively bridges the gap between offline action recognition and real-time online action detection.
Introduction
While action recognition—identifying actions in pre-segmented video clips—has seen significant progress, real-world applications such as gaming, surveillance, and human-machine interaction require robust action detection. Detection involves processing an unsegmented data stream to determine the precise start and end points of an action. This is inherently more challenging due to the computational complexity of searching through temporal windows.
Existing methods often rely on sliding windows ($O(N^2)$ complexity) or dynamic programming techniques that require future data, making them unsuitable for low-latency, online use. This research introduces a system that is both highly accurate and fast enough for live, real-time applications.
System Architecture
The proposed framework is divided into two main phases: a training phase and an online detection phase.
Bag of Gesturelets (BoG)
Actions are represented using "gesturelets"—local features capturing both static pose (joint arrangements) and kinematics (velocity and acceleration).
- Descriptor: A weighted concatenation of joint angles and a modified "Moving Pose" descriptor is used.
- Representation: These descriptors are clustered into a codebook. Sequences are represented as histograms of these clusters using "soft-binning" to increase robustness against noise and variations.
Efficient Linear Search (ELS)
The core contribution is the ELS algorithm. By utilizing a linear classifier, the temporal detection problem is transformed into a Maximum Subarray Sum problem. Each frame in the stream is assigned a score based on the weights of its constituent gesturelet clusters.
In this formulation, finding the optimal action interval corresponds to finding the sequence of frames where the sum of scores is maximized. While typically solved offline via Kadane’s algorithm in $O(N)$ time, the authors adapt it for online use. A detection is triggered the moment the cumulative score exceeds a learned threshold $\theta_c$ and subsequently starts to decrease, as illustrated in Figure 2.
Experimental Evaluation
The approach was evaluated on two major benchmarks:
- MSRC-12: A large-scale dataset with over 700,000 frames and 6,244 gesture instances across 12 categories, specifically designed for action detection.
- MSR-Action3D: A standard recognition dataset used here to test detection by concatenating clips into unsegmented streams.
Key Results
- Accuracy: On MSRC-12, ELS achieved an F-score of 0.704, significantly outperforming previous state-of-the-art methods (ranging from 0.579 to 0.624).
- Recognition Performance: On MSR-Action3D, the "Bag of Gesturelets" achieved 96.05% accuracy, demonstrating high discriminative power.
- Efficiency: The implementation processed frames in approximately 10.7ms (~93 FPS) on a standard i7 processor, well exceeding the 30 FPS capture rate of depth sensors like the Kinect.
Discussion and Conclusion
A key insight of this work is that linearity enables extreme speed. By sticking to a linear classifier, complex temporal searches become simple 1D signal summations. Furthermore, the "greedy" online approach handles repeated actions better than global offline optimization, as it correctly identifies pauses between gestures.
While the current ELS relies on additive scoring functions, future work could explore extending this to non-linear kernels or deep learning architectures without sacrificing $O(N)$ efficiency. The framework provides a solid foundation for real-time video segmentation and precise temporal boundary detection in live data streams.
Summary updated