SmartCrop: AI-Based Cropping of Sports Videos
Abstract
Sports multimedia is among the most prominent types of content distributed acrosssocial media today, necessitating the retargeting of videos to diverse aspect ratios forappropriate representation on different platforms. SmartCrop is an automated videocropping pipeline designed to curate content tailored to custom aspect ratios suitablefor various social media platforms. The system utilizes a Point of Interest (POI)tracking mechanism, with the soccer ball or ice hockey puck serving as the primaryPOI. Scene detection is achieved through TransNetV2 (a machine learning model) andPySceneDetect (a Python library), while a You Only Look Once (YOLO)v8-mediummodel, fine-tuned on custom soccer and ice hockey datasets, detects the POIs.Inaccurate detections are filtered through outlier detection methods, andinterpolation or smoothing modules are applied when the POI is not visible, specificto either soccer or ice hockey. Objective evaluations of each module’s performancewithin both the SmartCrop-S and SmartCrop-H pipelines have been conducted,validating the proposed architecture in terms of accuracy, efficiency, precision, anderror metrics such as RMSE and MAE. These evaluations confirm that the systemmeets high standards for performance and is effectively adapted to the dynamicrequirements of sports video analysis. For the SmartCrop-S pipeline, a crowdsourcedsubjective user study assessing alternative cropping approaches from 16:9 to 1:1 and9:16 aspect ratios confirms that the proposed approach significantly enhances theend-user Quality of Experience (QoE). For the SmartCrop-H pipeline, three distinctsubjective user studies were conducted: the first to determine the optimal alpha valuefor the smoothing module, the second to show that the SmartCrop output using thefull functionality of the SmartCrop-H pipeline performed better than otheralternatives, and the third, designed for competitor analysis, compared SmartCrop-Hwith professional video editing tools. This last study demonstrated that SmartCrop-Hperforms on par with, or even surpasses, professional tools in terms of output quality.