Back To Projects

Automated Highlight Generation of Amateur Table Tennis Videos Using Machine Learning

This study develops a machine learning system using a Temporal Segment Network with a ResNet-50 backbone to automatically identify active gameplay and generate highlights from amateur table tennis videos. The system achieved over 90% test accuracy while reducing viewing time by approximately 60 to 70%, demonstrating an efficient approach to automated sports video review.


The widespread use of smartphones has made it common for amateur players to record table tennis matches. However, active gameplay can account for less than half of the recording time (about 40% in our annotated match recordings), making manual review and highlight creation time-consuming. This study describes a machine learning system that automatically generates highlights from amateur table tennis videos by classifying video segments as Action or No Action. Using Temporal Segment Network (TSN) with a ResNet-50 backbone, the model classifies video clips using information from multiple sampled frames. The model does not explicitly perform ball or player tracking or pose detection. We converted a dataset of 28 manually annotated match videos containing over 253,000 labeled frames into over 5,800 fixed-length clips. We split the clips at the video level into training, validation, and test sets. The primary 64-frame model attained 88.7% validation accuracy and 92.28% test accuracy. A temporal sensitivity study showed that the 16-frame configuration achieved 90.10% validation accuracy with a Macro F1 score of 0.8997. The inference time also decreased from 16.55 ms/clip to 5.56 ms/clip compared with the 64-frame model. Another study comparing 10 different train-validation splits across the video set showed consistent performance among combinations. In practice, the generated highlights video reduced total viewing time by about 60–70%. This shows that a machine learning-based approach to automated highlight generation can make reviewing amateur table tennis matches significantly more efficient.

Explore More!

Published Paper
Vishal S.
Abdulla Kerimov

Related Projects

Path Planning for Autonomous Cinematic Drones

This study explores autonomous drone navigation for aerial cinematography, focusing on algorithms that enable drones to smoothly reach specified locations while maintaining high-definition camera quality. Using a simulation environment, the study tested multiple path planning algorithms and found that A* consistently outperformed others in both accuracy and efficiency, making it the most suitable for enhancing autonomous drone cinematography.
Brayden T.
Mentored by Rima Rebei
Using Machine Learning to Detect Parkinson’s Disease Through Drawing Data

This research explores the use of machine learning models, particularly logistic regression, on patients' spiral and wave drawings as an accessible and cost-effective method to improve Parkinson's disease diagnosis, achieving an accuracy of 91%, precision of 92%, and recall of 89%.
Katie Y.
Mentored by Sriram Hathwar
A Methodology for Learning Airplane Descent Patterns

In this study, we trained a plane to land without human assistance.
Michael T.
Mentored by Sean Konz