Abstract
Automated physical fitness assessment requires fine-grained analysis of exercise form, a task often overlooked by general human action recognition (HAR) datasets. This paper introduces HSiPu², a specialized dataset containing 8,044 action sequences of push-ups, pull-ups, and sit-ups, labeled for both standard and non-standard execution. We propose a deep learning pipeline utilizing a two-branch multi-stage CNN for spatial feature extraction and an Attention-based LSTM for temporal modeling. Our results demonstrate that this architecture achieves over 97% accuracy in automated fitness assessment, significantly outperforming traditional machine learning models and providing a robust benchmark for 3D human reconstruction.
Introduction
While human action recognition has seen significant progress in broad categories like "walking" or "running," the "fine-grained" analysis of physical exercise remains a challenge. In educational, military, and personal fitness contexts, evaluating whether an exercise is performed correctly is currently a manual and subjective process. Most existing datasets lack the multi-view perspectives and "standard vs. non-standard" labels necessary to automate this evaluation.
The HSiPu² dataset and its associated deep learning framework aim to bridge this gap by providing high-quality, labeled data and a model capable of identifying subtle form errors that distinguish a "standard" repetition from a "non-standard" one.
The HSiPu² Dataset
The primary contribution of this work is the HSiPu² dataset, which consists of:
- Scale: 8,044 action sequences comprising 80,440 individual images.
- Actions: Three fundamental exercises: sit-ups, push-ups, and pull-ups.
- Views: Each action is captured from two synchronized angles: Front and Side.
- Labels: Every sequence is binary-labeled as either Standard or Non-standard.
The inclusion of multiple views is critical; for instance, a sagging hip in a push-up or a rounded back in a sit-up may be nearly invisible from a front-facing camera but is immediately apparent from a side profile.
Methodology
The proposed recognition pipeline operates in two distinct stages:
1. Spatial Feature Extraction
We utilize a two-branch multi-stage CNN, based on the OpenPose architecture, to extract 17 key human body joints from each video frame. One branch predicts "confidence maps" for joint locations, while the second predicts "Part Affinity Fields" to model the skeletal connections. This process transforms raw video pixels into a 68-dimensional vector of relative coordinates and confidence scores.
2. Temporal Modeling with Attention
To capture the dynamics of exercise form over time, the sequence of joint coordinates is processed by a Long Short-Term Memory (LSTM) network. We enhance this with an Attention Mechanism, which allows the model to dynamically weight specific frames or joints. This is particularly effective for fitness assessment, as certain moments (e.g., the peak of a pull-up) or specific joints (e.g., elbows and shoulders) are more indicative of form quality than others.
Results and Discussion
The CNN + LSTM-Attention model achieved high accuracy across all exercise categories, significantly surpassing traditional machine learning baselines like SVM (66-81%) and XGBoost (92-94%).
| Exercise | View | Accuracy |
|---|---|---|
| Push-ups | Front | 98.80% |
| Push-ups | Side | 97.22% |
| Pull-ups | Front | 95.74% |
| Pull-ups | Side | 96.61% |
| Sit-ups | Front | 97.23% |
| Sit-ups | Side | 97.31% |
The Attention mechanism proved vital, as it allowed the model to "focus" on the most informative features of the movement. Additionally, the dataset was used to evaluate 3D reconstruction models, where SMPL-X generally outperformed PIFuHD in recreating fitness poses from single-view images.
Conclusion
HSiPu² provides a much-needed benchmark for fine-grained fitness analysis. While the current results are promising, future work will focus on adapting the system for complex, real-world gym environments and multi-person scenarios. The dataset is publicly available on GitHub to support further research in 3D reconstruction and automated physical assessment.
Summary updated