Classification of Tennis Shots with a Neural Network Approach

Data analysis plays an increasingly valuable role in sports. The better the data that is analysed, the more concise training methods that can be chosen. Several solutions already exist for this purpose in the tennis industry; however, none of them combine data generation with a wristband and classification with a deep convolutional neural network (CNN). In this article, we demonstrate the development of a reliable shot detection trigger and a deep neural network that classifies tennis shots into three and five shot types. We generate a dataset for the training of neural networks with the help of a sensor wristband, which recorded 11 signals, including an inertial measurement unit (IMU). The final dataset included 5682 labelled shots of 16 players of age 13–70 years, predominantly at an amateur level. Two state-of-the-art architectures for time series classification (TSC) are compared, namely a fully convolutional network (FCN) and a residual network (ResNet). Recent advances in the field of machine learning, like the Mish activation function and the Ranger optimizer, are utilized. Training with the rather inhomogeneous dataset led to an F1 score of 96% in classification of the main shots and 94% for the expansion. Consequently, the study yielded a solid base for more complex tennis analysis tools, such as the indication of success rates per shot type.

[1]  Sandra J Shefelbine,et al.  Using Magneto-Inertial Measurement Units to Pervasively Measure Hip Joint Motion during Sports , 2020, Sensors.

[2]  Seiichi Uchida,et al.  Time Series Data Augmentation for Neural Networks by Time Warping with a Discriminative Teacher , 2020, 2020 25th International Conference on Pattern Recognition (ICPR).

[3]  Albert Gollhofer,et al.  Validation of Wearable Sensors during Team Sport-Specific Movements in Indoor Environments , 2019, Sensors.

[4]  Lei Zhang,et al.  Gradient Centralization: A New Optimization Technique for Deep Neural Networks , 2020, ECCV.

[5]  et al.,et al.  Jupyter Notebooks - a publishing format for reproducible computational workflows , 2016, ELPUB.

[6]  Hang Su,et al.  A Fast and Robust Deep Convolutional Neural Networks for Complex Human Activity Recognition Using Smartphone , 2019, Sensors.

[7]  Xiaomin Song,et al.  Time Series Data Augmentation for Deep Learning: A Survey , 2020, IJCAI.

[8]  Arnaud Buhot,et al.  Bio-Inspired Strategies for Improving the Selectivity and Sensitivity of Artificial Noses: A Review , 2020, Sensors.

[9]  R. Bartlett,et al.  Extended Book Review: Introduction to Sports Biomechanics: Analysing Human Movement Patterns, 2nd Edn. , 2008 .

[10]  Geoffrey I. Webb,et al.  Encyclopedia of Machine Learning and Data Mining , 2017, Encyclopedia of Machine Learning and Data Mining.

[11]  Rohit J. Kate Using dynamic time warping distances as features for improved time series classification , 2016, Data Mining and Knowledge Discovery.

[12]  Valentina Camomilla,et al.  Trends Supporting the In-Field Use of Wearable Inertial Sensors for Sport Performance Evaluation: A Systematic Review , 2018, Sensors.

[13]  Luc Tremblay,et al.  Comparison between Accelerometer and Gyroscope in Predicting Level-Ground Running Kinematics by Treadmill Running Kinematics Using a Single Wearable Sensor , 2021, Sensors.

[14]  Stephen Marshall,et al.  Activation Functions: Comparison of trends in Practice and Research for Deep Learning , 2018, ArXiv.

[15]  Sunil Kumar,et al.  Efficient characterization of tennis shots and game analysis using wearable sensors data , 2015, 2015 IEEE SENSORS.

[16]  Tara N. Sainath,et al.  Deep Neural Networks for Acoustic Modeling in Speech Recognition: The Shared Views of Four Research Groups , 2012, IEEE Signal Processing Magazine.

[17]  Jason Lines,et al.  Time Series Classification with HIVE-COTE , 2018, ACM Trans. Knowl. Discov. Data.

[18]  Germain Forestier,et al.  Data augmentation using synthetic data for time series classification with deep residual networks , 2018, ArXiv.

[19]  Score Normalization , 2009, Encyclopedia of Biometrics.

[20]  Eli De Poorter,et al.  Ultra-Wideband Indoor Positioning and IMU-Based Activity Recognition for Ice Hockey Analytics , 2021, Sensors.

[21]  David Whiteside,et al.  Monitoring Hitting Load in Tennis Using Inertial Sensors and Machine Learning. , 2017, International journal of sports physiology and performance.

[22]  Tobias Meisen,et al.  Ablation Studies in Artificial Neural Networks , 2019, ArXiv.

[23]  Tim Oates,et al.  Time series classification from scratch with deep neural networks: A strong baseline , 2016, 2017 International Joint Conference on Neural Networks (IJCNN).

[24]  Aleksander Madry,et al.  How Does Batch Normalization Help Optimization? (No, It Is Not About Internal Covariate Shift) , 2018, NeurIPS.

[25]  Ananya Dey,et al.  Semiconductor metal oxide gas sensors: A review , 2018 .

[26]  Peter O’Donoghue,et al.  Research Methods for Sports Performance Analysis , 2010 .

[27]  Diganta Misra Mish: A Self Regularized Non-Monotonic Activation Function , 2020, BMVC.

[28]  Bolei Zhou,et al.  Learning Deep Features for Discriminative Localization , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[29]  Germain Forestier,et al.  Deep learning for time series classification: a review , 2018, Data Mining and Knowledge Discovery.

[30]  Jun Wang,et al.  An embedded 6-axis sensor based recognition for tennis stroke , 2017, 2017 IEEE International Conference on Consumer Electronics (ICCE).

[31]  Eamonn J. Keogh,et al.  The great time series classification bake off: a review and experimental evaluation of recent algorithmic advances , 2016, Data Mining and Knowledge Discovery.

[32]  Filipe Manuel Clemente,et al.  Validity and Reliability of the Inertial Measurement Unit for Barbell Velocity Assessments: A Systematic Review , 2021, Sensors.

[33]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[34]  Ying Wah Teh,et al.  Deep learning algorithms for human activity recognition using mobile and wearable sensor networks: State of the art and research challenges , 2018, Expert Syst. Appl..

[35]  Jian Sun,et al.  Identity Mappings in Deep Residual Networks , 2016, ECCV.

[36]  Daniel Memmert,et al.  Big data and tactical analysis in elite soccer: future challenges and opportunities for sports science , 2016, SpringerPlus.

[37]  Sebastian Stabinger,et al.  Using Wearable Sensors and a Convolutional Neural Network for Catch Detection in American Football , 2020, Sensors.

[38]  Akash Anand,et al.  Wearable Motion Sensor Based Analysis of Swing Sports , 2017, 2017 16th IEEE International Conference on Machine Learning and Applications (ICMLA).

[39]  Geoffrey E. Hinton,et al.  Lookahead Optimizer: k steps forward, 1 step back , 2019, NeurIPS.

[40]  Quoc V. Le,et al.  Sequence to Sequence Learning with Neural Networks , 2014, NIPS.

[41]  A. Mitiche,et al.  A Comparative Study of End-To-End Discriminative Deep Learning Models for Knee Joint Kinematic Time Series Classification , 2019, 2019 IEEE Signal Processing in Medicine and Biology Symposium (SPMB).

[42]  Gui-Bin Bian,et al.  Performance Analysis of Google Colaboratory as a Tool for Accelerating Deep Learning Applications , 2018, IEEE Access.

[43]  Michael I. Jordan,et al.  On Discriminative vs. Generative Classifiers: A comparison of logistic regression and naive Bayes , 2001, NIPS.

[44]  A. Edelmann-Nusser,et al.  Validation of Sensor-Based Game Analysis Tools in Tennis , 2019, Int. J. Comput. Sci. Sport.

[45]  Liyuan Liu,et al.  On the Variance of the Adaptive Learning Rate and Beyond , 2019, ICLR.