Abstract
Repetitive Action Counting (RepCount) is essential for applications ranging from fitness tracking to physical rehabilitation. However, traditional methods often struggle with viewpoint sensitivity and human fatigue. This paper presents an evolution of the Pose Saliency Transformer (PoseRAC) that integrates joint angles with body pose landmarks. By leveraging angle-based features, the model achieves state-of-the-art performance on the RepCount dataset, demonstrating significant robustness against camera angle variations and movement noise.
Introduction
Automated Repetitive Action Counting (RepCount) is a foundational task for computer vision in sports science and healthcare. While seemingly straightforward, accurately counting repetitions like squats or push-ups is complicated by real-world variables. Existing models, which typically rely on raw RGB frames or 2D/3D skeleton landmarks, frequently encounter four primary challenges:
- Viewpoint Sensitivity: Performance drops when the camera angle deviates from the training data.
- Over-counting: Minor tremors or "half-reps" caused by fatigue are often misinterpreted as full repetitions.
- Under-counting: Fast or subtle movements may be missed.
- Sub-action Confusion: Complex routines often contain non-repetitive "mini-actions" that confuse standard models.
Methodology: Integrating Joint Angles
The researchers built upon the Pose Saliency Representation (PSR) framework. Unlike traditional methods that weight every frame equally, PSR identifies two "salient" poses—such as the peak and trough of a movement—to define a repetition.
The core innovation lies in the feature set. Using Google’s MediaPipe BlazePose, the model extracts 33 body landmarks and calculates five critical joint angles: the elbow, shoulder, hip, knee, and ankle.
The study determined that combining landmarks with the average of left and right joint angles yielded the best results. These features are processed by a Swin Transformer to generate a "density map," which indicates how closely a frame matches the salient poses. An action-trigger mechanism then scans this map to count completed cycles. Notably, the authors performed manual verification of the RepCount dataset, correcting labeling errors to ensure a high-quality benchmark.
Results and Key Insights
The proposed joint-based model outperformed previous state-of-the-art (SOTA) methods on the RepCount benchmark. The Mean Absolute Error (MAE) was reduced to 0.211 (from 0.236), and Off-By-One (OBO) accuracy improved to 0.599 (from 0.559).
Qualitative Improvements
The integration of joint angles provides several qualitative advantages:
- Invariance: While (x, y) coordinates change with camera movement, joint angles remain consistent, making the model viewpoint-invariant.
- Fatigue Robustness: In exercises like pull-ups, landmark-only models often count the slight movements of a fatigued user as reps. The joint-angle model recognizes when a joint fails to reach the required threshold, correctly ignoring failed attempts.
- Noise Filtering: In complex movements like the Pommel Horse, the model successfully distinguishes between core repetitions and terminal actions (like a final jump).
As shown in the density maps, the joint-angle integration filters out erratic spikes and noise, resulting in smooth, rhythmic peaks that align precisely with actual repetitions.
Conclusion and Future Work
By incorporating geometric joint information, the PoseRAC model achieves a new level of robustness in action counting. While highly effective for symmetric actions, future iterations could explore asymmetric movements (e.g., baseball pitching). Additionally, optimizing for real-time inference on mobile devices remains a priority for practical fitness applications. This approach provides a clear roadmap for developing more reliable computer vision tools for unconstrained environments.
Summary updated