This is the official implementation of MTI2021 paper:"Deep Learning-Enabled Multitask System for Exercise Recognition and Counting"
The code implementation refers to the project"Deep Human Action Recognition".
If you want to know more about machine learning-based exercise field, please refer to our survey: "Digital Twin Coaching for Physical Activities: A Survey"
The inputs are RGB frames from an exercise video. The whole system is mainly composed of 4 parts: MSPN 2D human pose estimation model, joint location calculation, heatmap processing and the multitask model for exercise recognition & counting.
- Tensorflow 1.16
- Python 3
Rep-Penn Dataset is not provided here. If you want to create the dataset in the same way, please refer to our paper.
The optional method is generating a heatmap for one-cycle exercise videos, and duplicate&concatenate heatmaps using similar methods introduced in the paper.
Train from scratch. Please change the keywords ('action' or 'counting') to train corresponding branch.
python3 train_multitask.py
python3 eval_multitask.py
If you use this code, please cite the following:
@article{yu2021deep,
title={Deep Learning-Enabled Multitask System for Exercise Recognition and Counting},
author={Yu, Qingtian and Wang, Haopeng and Laamarti, Fedwa and El Saddik, Abdulmotaleb},
journal={Multimodal Technologies and Interaction},
volume={5},
number={9},
pages={55},
year={2021},
publisher={Multidisciplinary Digital Publishing Institute}
}