scieee AI-readable full text Open interactive document viewer

Estimating player positions from padel high-angle videos: Accuracy comparison of recent computer vision methods

Javadiha, Mohammadreza,Lacasa Claver, Enrique,Ric Díez, Angel,Andújar Gran, Carlos Antonio,Susín Sánchez, Antonio

Abstract

The estimation of player positions is key for performance analysis in sport. In this paper, we focus on image-based, single-angle, player position estimation in padel. Unlike tennis, the primary camera view in professional padel videos follows a de facto standard, consisting of a high-angle shot at about 7.6 m above the court floor. This camera angle reduces the occlusion impact of the mesh that stands over the glass walls, and offers a convenient view for judging the depth of the ball and the player positions and poses. We evaluate and compare the accuracy of state-of-the-art computer vision methods on a large set of images from both amateur videos and publicly available videos from the major international padel circuit. The methods we analyze include object detection, image segmentation and pose estimation techniques, all of them based on deep convolutional neural networks. We report accuracy and average precision with respect to manually-annotated video frames. The best results are obtained by top-down pose estimation methods, which offer a detection rate of 99.8% and a RMSE below 5 and 12 cm for horizontal/vertical court-space coordinates (deviations from predicted and ground-truth player positions). These results demonstrate the suitability of pose estimation methods based on deep convolutional neural networks for estimating player positions from single-angle padel videos. Immediate applications of this work include the player and team analysis of the large collection of publicly available videos from international circuits, as well as an inexpensive method to get player positional data in amateur padel clubs.

Full text

sensors Article Estimating Player Positions from Padel High-Angle Videos: Accuracy Comparison of Recent Computer Vision Methods Mohammadreza Javadiha 1,† , Carlos Andujar 2,*,† , Enrique Lacasa 3, Angel Ric 3and Antonio Susin 4   Citation: Javadiha, M.; Andujar, C.; Lacasa, E.; Ric, A; Susin, A. Estimating Player Positions from Padel High-Angle Videos: Accuracy Comparison of Recent Computer Vision Methods. Sensors 2021,21, 3368. https://doi.org/10.3390/ s21103368 Academic Editor: Yoonyoung Chung Received: 19 March 2021 Accepted: 5 May 2021 Published: 12 May 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). 1ViRVIG, Universitat Politècnica de Catalunya-BarcelonaTech, Pau Gargallo 14, CS Dept, Edifici U, 08028 Barcelona, Spain; mohammadr[email protected] 2ViRVIG, Universitat Politècnica de Catalunya-BarcelonaTech, Jordi Girona 1-3, CS Dept, Edifici Omega, 08034 Barcelona, Spain 3Complex Systems in Sport Research Group, Institut Nacional D’Educacio Fisica de Catalunya (INEFC), University of Lleida (UdL), 25192 Lleida, Spain; [email protected] (E.L.); [email protected] (A.R.) 4Engineering School (ETSEIB), ViRVIG, Universitat Politècnica de Catalunya-BarcelonaTech, Avda. Diagonal 647, 08028 Barcelona, Spain; [email protected] *Correspondence: [email protected] † These authors contributed equally to this work. Abstract: The estimation of player positions is key for performance analysis in sport. In this paper, we focus on image-based, single-angle, player position estimation in padel. Unlike tennis, the primary camera view in professional padel videos follows a de facto standard, consisting of a high-angle shot at about 7.6 m above the court floor. This camera angle reduces the occlusion impact of the mesh that stands over the glass walls, and offers a convenient view for judging the depth of the ball and the player positions and poses. We evaluate and compare the accuracy of state-of-the-art computer vision methods on a large set of images from both amateur videos and publicly available videos from the major international padel circuit. The methods we analyze include object detection, image segmentation and pose estimation techniques, all of them based on deep convolutional neural networks. We report accuracy and average precision with respect to manually-annotated video frames. The best results are obtained by top-down pose estimation methods, which offer a detection rate of 99.8% and a RMSE below 5 and 12 cm for horizontal/vertical court-space coordinates (deviations from predicted and ground-truth player positions). These results demonstrate the suitability of pose estimation methods based on deep convolutional neural networks for estimating player positions from single-angle padel videos. Immediate applications of this work include the player and team analysis of the large collection of publicly available videos from international circuits, as well as an inexpensive method to get player positional data in amateur padel clubs. Keywords: sports science; racket sports; deep learning; pose estimation; player tracking; tracking data 1. Introduction In the last few years there has been an increasing interest in player tracking techniques [ 1 ] as well as in video analysis for sports [ 2 ]. Recent advances in computer vision techniques, especially in object detection, segmentation, and pose estimation methods, have opened new opportunities for image-based performance and tactical and biomechanical analyses in sport. In this paper we focus on player positions in padel, a modern racquet sport born in the 1970s with a relevant growth in the number of players [ 3 ]. The dimensions of the court (smaller than tennis ones) and the presence of walls surrounding the court, which facilitate returning the ball, allow padel to be practiced by people of any physical condition [3]. The use of computer vision techniques in related racquet sports (such as tennis) has been extensively studied for tasks such as player tracking [ 4 – 6 ], ball tracking [ 7 – 10 ], content-based retrieval [11,12], virtual replays [7], and automatic annotation [13]. Sensors 2021,21, 3368. https://doi.org/10.3390/s21103368 https://www.mdpi.com/journal/sensors Sensors 2021,21, 3368 2 of 17 However, unlike major racquet sports , padel matches exhibit distinctive features which hinder major computer vision tasks such as player tracking. It is almost exclusively played in doubles, which increases the risk of interplayer occlusion in low-angle and moderately high-angle shots, and the playing field is enclosed by walls: glass walls might show reflected people from the public, side glass walls might reflect the players themselves, metal mesh panels over the glass walls partially occlude a part of the field, and other structural elements connecting the glass panels also occlude some parts of the court. The occlusion of the mesh panel and structural elements is particularly important, and the de facto camera angle for padel broadcasting is chosen to minimize the impact of such occlusion. In the standard setting (Figure 1), the image-space projection of the mesh panel spans the region from the bottom part of the net to near the opposite service line, which is achieved by placing the camera at about 7.6 m from the floor, and 15.5 m from the glass panels. We have observed that most professional padel videos are recorded following this camera angle. Figure 1. Optimal camera placement for padel: if the main camera (shown in green) is placed at the intersection of lines PP0 and QQ0 , the mesh over the front wall (highlighted in pink) occludes the portion of the court between the net and the opposite service line. Notice that, for this camera position, the segment PQ (on the mesh) and the segment P0Q0 (on the court) overlap in camera space. Another option, requiring less physical space around the court, is to place the camera on the straight line defined by Q and Q0 (on the portion shown with a thick yellow line), as this ensures that the closest half of the court will not be occluded by the mesh. Right: View of an amateur padel court from a camera close to the de facto standard for padel streaming. In this example, the mesh roughly occludes the upper half of the court. Therefore, the analysis of padel videos exhibits unique features due to the presence of walls surrounding the court and their impact on visibility occlusion and game development. A few papers do analyze player position and displacement aspects in padel but most of them are based on data from direct observation [ 14 ] or video analysis from zenithal [ 15 , 16 ] or nearly zenithal cameras [17], which greatly simplify player detection. To the best of our knowledge, no formal analysis has been made about the accuracy of video analysis techniques for player tracking on padel videos recorded from nonzenithal cameras. The study closest to this work refers to video analysis for squash [ 18 ] using a human pose estimation algorithm [ 19 ]. The camera angle for the videos in [ 18 ] is close to those in major padel circuits. However, we analyze many state-of-the-art computer vision algorithms besides [ 19 ] in a more challenging scenario due to the occlusion of the multiple elements in a padel court (Figure 1). In this paper we analyze the performance and accuracy of state-of-the-art position estimation methods on a large collection of frames selected from publicly available videos. Our aim is to estimate the 2D position of players within the court. Such 2D positions can be estimated from the player’s 2D bounding boxes, from their segmentation masks, or from player keypoints (e.g., feet and hip). Therefore, object detection techniques (providing bounding boxes of detected instances), image segmentation techniques (providing pixelwise masks), and pose estimation techniques (providing keypoints according to some human skeleton model) are good candidates for estimating 2D player positions. Sensors 2021,21, 3368 3 of 17 Detection algorithms can be trained to recognize and locate instances of multiple objects in an image. A typical output of these algorithms is a collection of bounding boxes enclosing the detected instances [20–24]. Image segmentation algorithms (e.g., refs. [ 23 , 25 , 26 ]) label each pixel of the image with the ID of the predicted instance class corresponding to the pixel. Resulting masks provide more information about the detected objects than just an enclosing box. Pose estimation methods estimate the location of keypoints (e.g., neck, hip, feet) of the detected people. Current human pose estimation methods can be divided into top-down and bottom-up methods. Top-down methods (e.g., refs. [ 21 , 27 – 29 ]) first detect person instances, and then their individual joints. An external detector locates person instances and outputs estimated bounding boxes; the top-down method then performs single-person pose detection on the cropped and rescaled subimage. Top-down methods are less sensitive to the scale variance of persons but are usually slower and their performance is constrained by that of the external detector. Bottom-up methods (e.g., refs. [ 30 , 31 ]) detect first all keypoints in the image, and then these keypoints are grouped into person instances. Since these approaches operate end-to-end, they are usually faster (even real-time [ 19 ]), but most bottom-up methods are quite sensitive to scale variation. We selected state-of-the-art methods for object detection, refs. [ 20 , 22 , 23 , 32 ] segmentation [ 23 – 25 ], and pose estimation, [ 19 , 21 , 29 – 31 ] all of them based on deep convolutional neural networks. For the sake of reproducibility, all techniques we tested come from publicly available computer vision repositories including neural network architectures, pipeline configurations, and trained models. For evaluating the accuracy of these methods, we used a collection of frames extracted from 24 videos from World Padel Tour (WPT), the major padel international circuit. We provide links to these publicly available videos in Table S1 of the supplemental material. In order to evaluate the accuracy of the selected techniques, ground truth positions were obtained by annotating manually player keypoints (left/right ankles and hip). These three keypoints allowed us to estimate an image-space player position, which was then converted onto a court-space position. We then computed deviations from predicted and ground-truth player positions. 2. Materials and Methods 2.1. Dataset Description Our evaluation is based on frames selected from professional padel videos. In particular, we selected 24 matches from World Pader Tour, all of them publicly available on the WPT YouTube channel (see links in Table S1 of the supplemental material). All images were analyzed at 1920 × 1080. In all videos the primary camera roughly follows the standard view ( Figure 1 ). The selected set is varied in terms of gender (15 male, 9 female finals) and lighting conditions (16 indoor, 8 outdoor). We selected randomly two game points for each match (24 × 2 = 48 periods), with the only requirements that the whole period was captured from the main camera and that all four players were inside the court during the whole period. For the first dataset (test1), we selected a 5-image sequence from each game point (48 × 5 = 240 frames). Selected frames within each sequence were 10 frames apart (i.e., 400 ms step for 25 fps videos). These frames were manually annotated by 5 annotators who identified keypoints of the four players, as described in Section 2.2. For the second dataset (test2), we selected also the in-between frames (using consecutive frames, i.e., 40 ms apart for 25 fps videos) from each game point (48 × 40 = 1920 frames). These frames were not annotated but relatively close (at most 400 ms) to a pair of annotated images from test1. 2.2. Defining 2D Court-Space Positions Given a frame, we are interested in estimating the 2D position of the players within the court. Such 2D position P= (Px , Py) must be represented in court-space (using Sensors 2021,21, 3368 4 of 17 physical length units e.g., meters) to enable further sport analyses based on positions and displacements. The estimation of the vertical displacement of the player with respect to the court floor is out of the scope of this paper. Since players move in a 3D world, one way of formalizing such 2D position is considering the vertical projection of some point near the player’s center of mass. Although the center of mass of a human body depends both on anatomical and pose factors, a good estimate is the center of the hip bones. The hip is actually a major keypoint in most human models used in computer animation and computer vision, and thus a common output for pose estimation methods. Figure 2a shows our conceptualization of the 2D position of a player (blue sphere), as the vertical projection of the hip (red sphere). (a) (b) Figure 2. Our definition of 2D position of the player ( a ) is conceptualized as the vertical projection of the hip joint onto the floor (blue sphere). The perspective transform used to convert image points (e.g., hip) to court-space points ( b ) creates an offset that depends on the distance to the floor and the camera angle. 2.3. Court-Space Positions from Image-Space Joints Since the images we are interested in are captured by a conventional camera, we need to convert image-space data (player bounding boxes, segmentation masks, pose keypoints) to court-space positions. Should images come from a depth camera, a zenithal camera or multiview cameras, such conversion would be robust and straightforward. In our case though, we need to resort to a 4-point perspective transform, which will allow us to perform such conversion for player parts on the floor, or just a little bit off the floor (e.g., feet). We observed that spherical distortion was negligible in all selected videos, so we performed no image undistortion. For each video, we obtained the pixel coordinates of the quadrangle defined by the four corners of the court. We then computed the 3×3 matrix of the perspective transform that maps this source quadrangle (in homogeneous image-space coordinates) onto the 10 m × 20 m destination quadrangle corresponding to the physical size of a padel court (court-space coordinates). We use this matrix to map points from image-space to court-space, but this is only exact for body parts on the floor. Figure 2b illustrates this problem. Multiple body parts (e.g., the hip and the left knee) are projected onto the same image-space pixel h. Since no reliable depth estimation is available, applying the perspective transform to h leads to an offset between the estimated position (black sphere) and the true one (blue sphere). The offset can be computed as Hz tan(θ) , being thus 0 when either the body part is on the floor (Hz=0) or the camera angle θequals 90 (zenithal camera). Since the offset is inversely proportional to tan(θ) , we computed the interval of θ values for the de facto stardard camera view. First, we computed the location of the camera in that setting. The constraint that the image-space projection of the mesh spans the range from the net to the service line leads to the following system (Figure 3): (C D+10 =3 10 C D+17 =4 17 Sensors 2021,21, 3368 5 of 17 The solution C=84 11 , D=170 11 indicates that the camera should be placed ≈ 7.6 m above the court, and ≈15.5 m from the wall (see Figure 1). Figure 3. Side view of a padel court showing placement for the camera to satisfy the occlusion constraints. Within the court, θ ranges from arctan C D≈ 26.3 ◦ at the bottom edge of the court, to arctan C D+20 ≈ 12.5 ◦ at the top edge. The ratios D C , D+10 C and D+20 C can be interpreted also as the error amplification factors at different parts of the court. For example, if the feet of the player is (or is estimated at) some height c above the floor, the approximate offset (error) in the vertical Y coordinate of its estimated image 2D position will be 2.0 c , 3.3 c or 4.64 c , depending on whether the player is located near the bottom edge, the net, or the top edge of the court. Therefore, we expect position predictions to be less accurate for players on the top half of the court, since their screen-space projection is smaller (thus hindering detection, segmentation, and pose estimation tasks), their occlusion higher, and because vertical errors will have a larger amplification factor. Notice that the above amplification factors apply both to manual and automatically computed annotations. 2.4. Manual Player Annotation Since no ground truth positions are available for elite padel videos, we created a simple application for their manual annotation. In a pilot study, we observed that directly estimating the 2D position (as the vertical projection of the hip) was a difficult task. Therefore, we decided to ask the annotators to identify three joints for each player: the left ankle (Lx , Ly) , the right ankle (Rx , Ry) , and the hip center (Hx , Hy) (Figure 4). From the image-space positions of these joints, we estimated the image-space position of the player as p= (px , py) with px=Hx and py= (Ly+Ry)/ 2 (Figure 4). That is, we use the hip to estimate the image-space horizontal coordinate and the average of the feet to estimate the vertical coordinate (near the bottom part of the image-space projection of the player). The court-space position was computed by multiplying the perspective transform matrix. Figure 4. Close-up view of the image annotation application showing manually annotated joints (white circles) and estimated image-space player positions (red circles). For players standing or walking, the method above provides an accurate estimate of the true court-space 2D position. For running players though we expect a larger error, since at some frames both feet are in the air. We analyzed some running cycles by rendering a realistic human avatar [ 33 ] using Motion Capture Data from Carnegie Mellon University Motion Capture Database http://mocap.cs.cmu.edu/, accessed on 1 March 2021. Figure 5shows such deviations (in image-space) for different player poses and Sensors 2021,21, 3368 6 of 17 orientations. Fortunately, the vertical displacement is small and roughly constant along running animation cycles. (a) (b) (c) Figure 5. Deviation between the true image-space 2D position (blue spheres) and the position estimated from the feet and hip joints (green spheres), for different poses and orientations: ( a ) side view, ( b ) three-quarter view, and ( c ) back view. Notice that the vertical displacement (which will be amplified due to the perspective transform) is small and roughly constant along the running animation cycle. Motion data from subject #9, trial 6 of CMU Motion Capture Database. For human annotators, obtaining accurate labels for a large number of examples is often infeasible. In our case, the position of player keypoints (ankles, hip center) must be guessed since the joints are not directly visible and occluded by skin and clothes. Video compression artifacts, motion blur, and occluding objects further hinder this task. Collected positions are thus subjective and noisy. We thus asked M = 5 participants to annotate all images in test1. For each image and player, court-space positions estimated by the 5 annotators were aggregated to estimate a ground truth position for each of the N1= 960 observations . Following Raykar et al. [ 34 ] we estimate ground truth positions for each player by computing a weighted average of the annotated positions. Annotator weights are initialized as uniform weights. Then the aggregated position is recomputed using the current weights, which are then updated as the inverse variance with respect to the updated average. This process is repeated until convergence (usually less than 10 iterations). The aggregated position is taken as the ground truth 2D position for test1. Figure 6shows the estimated positions before and after aggregation. Notice that per-annotator estimates are grouped into tight clusters around the estimated ground truth. We computed the error of per-annotator positions with respect to ground truth positions, as a measure of the difficulty of the annotation task as well as a measure of consistency of the estimated ground truth. As expected, the mean error was negligible (0.22 cm and − 0.97 cm for X and Y coordinates) since the aggregation method we used is quite robust to outlier annotations. The standard deviation (SD) was 5.92 cm and 12.15 cm for X, Y coordinates, which better reflect the overall accuracy of human annotators in this particular task. Since the error refers to court-space positions, this already accounts for the error amplification due to the perspective deformation, which mostly affects Y coordinate. 2.5. Selected Position Estimation Methods We tested both top-down and bottom-up pose estimation methods. Top-down methods use an external person detector to locate person instances, so that subsequent pose estimations are limited to a single-person within each detected bounding box. Table 1 lists the state-of-the-art top-down pipelines we selected for evaluation. All pipelines belong to the OpenMMLab Pose Estimation Toolbox available at https://github.com/openmmlab/mmpose, accessed on 1 February 2021. Notice that each pipeline is based on multiple methods (e.g., the backbone for extracting feature maps and the keypoint head for pose estimation). Sensors 2021,21, 3368 7 of 17 Figure 6. Estimated court-space player positions for all annotators. Top and right: Gaussian kernel density estimates. Table 1. Top-down pose estimation methods selected for evaluation. The first column shows the detector configuration, i.e., the method used to detect players in the image. The second column shows the actual pose estimator, which computes the keypoints of each player within the bounding box returned by the detector. The following abbreviations are used in the first column: r50 refers to the use of ResNet-50 as backbone for the detector, fpn refers to the use of ResNet plus a Feature Pyramid Network for object detection, person indicates the network has been trained on a COCO subset (with person class only), x101 refers to the use of ResNeXt-101 as backbone for the detector, 32 × 4d and 64 × 4d refer to the ResNeXt-101 template, and htc refers to Hybrid Task Cascade [ 25 ]. The following abbreviations are used in the second column: hrnet w48 refers to the HRNet network proposed in [ 30 ]; w48 represents the width of HRNet subnetworks, 384 × 288 and 256 ×192 refer to the image resolution for pose estimation (for each detected player), and dark refers to DarkPose [29]. Detector Config Pose Estimator Config Core Method(s) faster rcnn r50 fpn person hrnet w48 384 ×288 HRNet [30] Faster R-CNN [22] ResNet [35] faster rcnn x101 64 ×4d fpn hrnet w48 384 ×288 HRNet [30] Faster R-CNN [22] ResNeXt [36] faster rcnn r50 fpn hrnet w48 384 ×288 dark HRNet [30] DarkPose [29] Faster R-CNN [22] ResNet [35] faster rcnn r50 fpn hourglass52 384 ×384 Hourglass [27] Faster R-CNN [22] ResNet [35] faster rcnn r50 fpn hrnet w48 384 ×288 HRNet [30] Faster R-CNN [22] ResNet [35] cascade mask rcnn x101 64 ×4d fpn hrnet w48 256 ×192 HRNet [ 30 ] ResNeXt [ 36 ] Cascade Mask R-CNN [ 23 ] htc x101 64 ×4d fpn hrnet w48 256 ×192 HRNet [30] ResNeXt [36] Hybrid Task Cascade [25] dcn/cascade mask rcnn x101 32 × 4d fpn hrnet w48 256 ×192 HRNet [ 30 ] ResNeXt [ 36 ] Cascade Mask R-CNN [ 23 ] Deformable ConvNets [37] On the other hand, bottom-up methods first locate keypoints for all the persons in the image, and then merge them into person instances. Table 2lists the state-of-the-art Sensors 2021,21, 3368 8 of 17 bottom-up pipelines we selected for evaluation. All pipelines belong to the OpenMMLab Pose Estimation Toolbox except OpenPose [19]. Table 2. Bottom-up pose estimation methods selected for evaluation. The following abbreviations are used in the first column: hrnet and higher hrnet refer to the networks proposed in [ 30 , 31 ], 32 and 48 represent the width of HRNet subnetworks, 512 × 512 and 640 × 640 refer to the downsampled image resolution for pose estimation, res50,res101 and res152 refer to the type of ResNet network [ 21 ], and udp stands for Unbiased Data Processing for Human Pose Estimation [28]. Configuration Core Method(s) higherhrnet/higher hrnet32 512 ×512 Higher HRNet [31] higherhrnet/higher hrnet32 640 ×640 Higher HRNet [31] higherhrnet/higher hrnet48 512 ×512 Higher HRNet [31] hrnet w32 512 ×512 HRNet [30] hrnet w48 512 ×512 HRNet [30] mobilenetv2 512 ×512 MobileNetv2 [26] resnet/res50 512 ×512 ResNet [21] resnet/res50 640 ×640 ResNet [21] resnet/res101 512 ×512 ResNet [21] resnet/res152 512 ×512 ResNet [21] hrnet w32 512 ×512 udp HRNet [30] UDP [28] higher hrnet32 512 ×512 udp Higher HRNet [31] UDP [28] Regardless of the pose detection method, the image-space 2D position was computed from hip/ankle coordinates as p= (Hx , 1 2(Ly+Ry)) . Since we chose the COCO human model for all tests, the hip itself was computed as the average of the left and right hip keypoints. We also evaluated the accuracy of the detectors that were selected for the person detection step of top-down pose estimation methods. All these detector pipelines are part of the OpenMMLab Detection Toolbox [ 20 ] available at https://github.com/open-mmlab/ mmdetection, accessed on 1 February 2021. In this case, the estimated 2D position was just the mid point of the bottom edge of the box. Finally, we also report the accuracy of segmentation methods. We used Detectron2 [ 24 ], available at https://github.com/facebookresearch/detectron2, accessed on 1 February 2021. We extracted the contour of detected person instances and estimated player positions by combining feet and hip estimates. We used contour points at local minima (bottom part of the instances) to estimate image-space feet locations (Figure 7) and the minimum of all detected local maxima to estimate the hip. Figure 7. Segmentation-based estimation: mask contours (in yellow), mask bounding boxes (in green), local minima in the vertical direction (blue dots), points used to estimate feet locations (blue circles), and estimated player positions (red circles). 3. Results 3.1. Test 1 We tested all the methods in Tables 1and 2with the images in test1, all of them from professional padel videos (see Table S1 of the Supplemental Material). Sensors 2021,21, 3368 9 of 17 Since annotated-based ground-truth data was available for test1, we could compute different accuracy and precision metrics. For each of the N1= 960 court-space position estimations, the error was computed separately for X and Y coordinates by subtracting the ground truth. For each method, we report the absolute mean error |Ex| , |Ey| , as well as the standard deviation of the error s(Ex) , s(Ey) . Some methods were unable to detect all four players; the percentage of detected players ranged from 86% to 99.8%, depending on the method. Since we ignored missing detections when computing |Ex| , |Ey| , s(Ex) , s(Ey) , we also computed the Average Precision (AP) of each method for different distance thresholds. For example, AP 10 x is the ratio of correct positions (in this case, with an absolute error below 10 cm) over the total number of observations N1 . Notice that missing detections do decrease the AP but have no impact on |Ex|,|Ey|,s(Ex),s(Ey). Table 3summarizes the results of each method, sorted by AP 50 y (last column). The prefix of each method indicates its type: DT = detection, MK = mask-based, BU = bottom-up pose detection, TD = top-down pose detection. We first discuss metrics on the X coordinate. The mean absolute error was below 3 cm for most methods, which is negligible in a court 10 m wide. The standard deviation, which accounts for random errors, better represents the accuracy of the methods. Most methods achieved s(Ex) values below 5 cm. Detection methods (providing only bounding boxes, Figure 8) were clearly more inaccurate than pose estimation methods. We computed the bias-corrected Average Precision for 10 cm and 20 cm thresholds, AP 10 x and AP 20 x . Best methods (top-down pose estimators) achieved AP10 x>98%, which is an excellent result. We now discuss the Y coordinate. Recall that predicting court-space 2D positions is harder for this coordinate due to higher mesh/structure occlusion, smaller player detections in image-space, and higher error amplification for misplaced keypoints. The mean absolute error was below 12 cm for the best methods, which also achieved s(Ey) values below 11 cm. We computed the bias-corrected Average Precision for 30 cm, 40 cm, and 50 cm thresholds, AP 30 y , AP 40 y , and AP 50 y . Again, the best methods were top-down pose estimators, which achieved AP 40 y> 95% and AP 50 y> 98%. If we take AP 50 y as a global measure of the method’s precision, the best method was the combination of Faster R-CNN [ 22 ] for player detection, with HRNet [30,31] for locating the keypoints of each detected player. Overall, nonsystematic errors for predicted court-space 2D positions were quite reasonable for the best computer vision methods. Actually, in our comparison, computer vision methods offered approximately the same accuracy as human annotators. Recall that the standard deviation for human annotators (Section 2.4) was 5.92 cm for X coordinates (vs. approx. 5 cm for the best methods in Table 3), and 12.15 cm for Y coordinates (vs. approx. 12 cm). We also computed systematic and random errors for players on the bottom part of the court, which are nearer to the camera and thus easier to locate. As shown in Table 4, the results are significantly better, with random errors around 3 cm and 7 cm for X and Y coordinates, respectively and more than 98% of the estimations below the 30 cm threshold for the best methods. Again, if we take AP 50 y as a global measure of the method’s precision, the best method for the players on the bottom part of the court was again HRNet [ 30 , 31 ], used in combination with either a Faster R-CNN detector [ 22 ] or Hybrid Task Cascade detector [ 25 ]. Notice also that for these players, some bottom-up pose estimation methods provide more competitive results, which confirms the difficulty of bottom-up methods to estimate joints in persons with small image-space projections. Sensors 2021,21, 3368 16 of 17 9. Qazi, T.; Mukherjee, P.; Srivastava, S.; Lall, B.; Chauhan, N.R. Automated ball tracking in tennis videos. In Proceedings of the 2015 Third International Conference on Image Information Processing (ICIIP), Waknaghat, India, 21–24 December 2015; pp. 236–240. 10. Kamble, P.R.; Keskar, A.G.; Bhurchandi, K.M. Ball tracking in sports: a survey. Artif. Intell. Rev. 2019,52, 1655–1705. [CrossRef] 11. Sudhir, G.; Lee, J.C.M.; Jain, A.K. Automatic classification of tennis video for high-level content-based retrieval. In Proceedings of the 1998 IEEE International Workshop on Content-Based Access of Image and Video Database, Bombay, India, 3 January 1998; pp. 81–90. 12. Dahyot, R.; Kokaram, A.; Rea, N.; Denman, H. Joint audio visual retrieval for tennis broadcasts. In Proceedings of the 2003 IEEE International Conference on Acoustics, Speech, and Signal Processing, Hong Kong, China, 6–10 April 2003; Volume 3, p. III-561. 13. Yan, F.; Christmas, W.; Kittler, J. A tennis ball tracking algorithm for automatic annotation of tennis match. In Proceedings of the British Machine Vision Conference, Oxford, UK, 5–8 September 2005; Volume 2, pp. 619–628. 14. Ramón-Llin, J.; Guzmán, J.; Martínez-Gallego, R.; Muñoz, D.; Sánchez-Pay, A.; Sánchez-Alcaraz, B.J. Stroke Analysis in Padel According to Match Outcome and Game Side on Court. Int. J. Environ. Res. Public Health 2020,17, 7838. [CrossRef] 15. Mas, J.R.L.; Belloch, S.L.; Guzmán, J.; Vuckovic, G.; Muñoz, D.; Martínez, B.J.S.A. Análisis de la distancia recorrida en pádel en función de los diferentes roles estratégicos y el nivel de juego de los jugadores (Analysis of distance covered in padel based on level of play and number of points per match). Acción Motriz 2020,25, 59–67. 16. Vuˇckovi´c, G.; Perš, J.; James, N.; Hughes, M. Measurement error associated with the SAGIT/Squash computer tracking software. Eur. J. Sport Sci. 2010,10, 129–140. [CrossRef] 17. Ramón-Llin, J.; Guzmán, J.F.; Llana, S.; Martínez-Gallego, R.; James, N.; Vuˇckovi´c, G. The Effect of the Return of Serve on the Server Pair’s Movement Parameters and Rally Outcome in Padel Using Cluster Analysis. Front. Psychol. 2019 ,10, 1194. [CrossRef] 18. Baclig, M.M.; Ergezinger, N.; Mei, Q.; Gül, M.; Adeeb, S.; Westover, L. A Deep Learning and Computer Vision Based Multi-Player Tracker for Squash. Appl. Sci. 2020,10, 8793. [CrossRef] 19. Cao, Z.; Hidalgo, G.; Simon, T.; Wei, S.E.; Sheikh, Y. OpenPose: Realtime multi-person 2D pose estimation using Part Affinity Fields. IEEE Trans. Pattern Anal. Mach. Intell. 2019,43, 172–186. [CrossRef] [PubMed] 20. Chen, K.; Wang, J.; Pang, J.; Cao, Y.; Xiong, Y.; Li, X.; Sun, S.; Feng, W.; Liu, Z.; Xu, J.; et al. MMDetection: Open MMLab Detection Toolbox and Benchmark. arXiv 2019, arXiv:cs.CV/1906.07155. 21. Xiao, B.; Wu, H.; Wei, Y. Simple baselines for human pose estimation and tracking. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 466–481. 22. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. IEEE Trans. Pattern Anal. Mach. Intell. 2017,39, 1137–1149. [CrossRef] 23. Cai, Z.; Vasconcelos, N. Cascade R-CNN: High Quality Object Detection and Instance Segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2019. [CrossRef] [PubMed] 24. Wu, Y.; Kirillov, A.; Massa, F.; Lo, W.Y.; Girshick, R. Detectron2. 2019. Available online: https://github.com/facebookresearch/ detectron2 (accessed on 1 February 2021). 25. Chen, K.; Pang, J.; Wang, J.; Xiong, Y.; Li, X.; Sun, S.; Feng, W.; Liu, Z.; Shi, J.; Ouyang, W.; et al. Hybrid task cascade for instance segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 16–20 June 2019. 26. Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.C. Mobilenetv2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 4510–4520. 27. Newell, A.; Yang, K.; Deng, J. Stacked hourglass networks for human pose estimation. In Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands, 8–16 October 2016; pp. 483–499. 28. Huang, J.; Zhu, Z.; Guo, F.; Huang, G. The Devil Is in the Details: Delving Into Unbiased Data Processing for Human Pose Estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 14–19 June 2020. 29. Zhang, F.; Zhu, X.; Dai, H.; Ye, M.; Zhu, C. Distribution-aware coordinate representation for human pose estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 7093–7102. 30. Sun, K.; Xiao, B.; Liu, D.; Wang, J. Deep high-resolution representation learning for human pose estimation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 16–20 June 2019; pp. 5693–5703. 31. Cheng, B.; Xiao, B.; Wang, J.; Shi, H.; Huang, T.S.; Zhang, L. HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose Estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 5386–5395. 32. Zhao, Z.Q.; Zheng, P.; Xu, S.T.; Wu, X. Object detection with deep learning: A review. IEEE Trans. Neural Netw. Learn. Syst. 2019 , 30, 3212–3232. [CrossRef] 33. Loper, M.; Mahmood, N.; Romero, J.; Pons-Moll, G.; Black, M.J. SMPL: A Skinned Multi-Person Linear Model. ACM Trans. Graphics (Proc. SIGGRAPH Asia) 2015,34, 248:1–248:16. [CrossRef] 34. Raykar, V.C.; Yu, S.; Zhao, L.H.; Valadez, G.H.; Florin, C.; Bogoni, L.; Moy, L. Learning from crowds. J. Mach. Learn. Res. 2010 , 11, 1297–1322. Sensors 2021,21, 3368 17 of 17 35. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. 36. Xie, S.; Girshick, R.; Dollár, P.; Tu, Z.; He, K. Aggregated residual transformations for deep neural networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 1492–1500. 37. Zhu, X.; Hu, H.; Lin, S.; Dai, J. Deformable ConvNets v2: More Deformable, Better Results. arXiv 2018, arXiv:1811.11168. 38. Skublewska-Paszkowska, M.; Powroznik, P.; Lukasik, E. Learning Three Dimensional Tennis Shots Using Graph Convolutional Networks. Sensors 2020,20, 6094. [CrossRef] 39. Steels, T.; Van Herbruggen, B.; Fontaine, J.; De Pessemier, T.; Plets, D.; De Poorter, E. Badminton Activity Recognition Using Accelerometer Data. Sensors 2020,20, 4685. [CrossRef] [PubMed] 40. Yu, C.H.; Wu, C.C.; Wang, J.S.; Chen, H.Y.; Lin, Y.T. Learning tennis through video-based reflective learning by using motiontracking sensors. J. Educ. Technol. Soc. 2020,23, 64–77. 41. Delgado-García, G.; Vanrenterghem, J.; Ruiz-Malagón, E.J.; Molina-García, P.; Courel-Ibáñez, J.; Soto-Hermoso, V.M. IMU gyroscopes are a valid alternative to 3D optical motion capture system for angular kinematics analysis in tennis. Proc. Inst. Mech. Eng. Part J. Sport. Eng. Technol. 2020,235, 1754337120965444. [CrossRef] 42. Zhu, X.; Xiong, Y.; Dai, J.; Yuan, L.; Wei, Y. Deep feature flow for video recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 2349–2358. 43. Zhu, X.; Wang, Y.; Dai, J.; Yuan, L.; Wei, Y. Flow-guided feature aggregation for video object detection. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 408–417. 44. Wu, H.; Chen, Y.; Wang, N.; Zhang, Z. Sequence level semantics aggregation for video object detection. In Proceedings of the IEEE International Conference on Computer Vision, Seoul, Korea, 27 October–2 November 2019; pp. 9217–9225. 45. Wojke, N.; Bewley, A.; Paulus, D. Simple online and realtime tracking with a deep association metric. In Proceedings of the 2017 IEEE international conference on image processing (ICIP), Beijing, China, 17–20 September 2017; pp. 3645–3649. 46. Bergmann, P.; Meinhardt, T.; Leal-Taixe, L. Tracking without bells and whistles. In Proceedings of the IEEE International Conference on Computer Vision, Seoul, Korea, 27 October–2 November 2019; pp. 941–951. 47. Uzu, R.; Shinya, M.; Oda, S. A split-step shortens the time to perform a choice reaction step-and-reach movement in a simulated tennis task. J. Sport. Sci. 2009,27, 1233–1240. [CrossRef] [PubMed] 48. Pons, E.; Ponce-Bordón, J.C.; Díaz-García, J.; López del Campo, R.; Resta, R.; Peirau, X.; García-Calvo, T. A Longitudinal Exploration of Match Running Performance during a Football Match in the Spanish La Liga: A Four-Season Study. Int. J. Environ. Res. Public Health 2021,18, 1133. [CrossRef] [PubMed] 49. Cust, E.E.; Sweeting, A.J.; Ball, K.; Robertson, S. Machine and deep learning for sport-specific movement recognition: A systematic review of model development and performance. J. Sport. Sci. 2019,37, 568–600. [CrossRef] [PubMed] 50. Passos, P.; Lacasa, E.; Milho, J.; Torrents, C. Capturing Interpersonal Synergies in Social Settings: An Example within a Badminton Cooperative Task. Nonlinear Dyn. Psychol. Life Sci. 2020,24, 59–78. 51. Linke, D.; Link, D.; Lames, M. Validation of electronic performance and tracking systems EPTS under field conditions. PLoS ONE 2018,13, e0199519. [CrossRef] [PubMed] 52. Yan, S.; Xiong, Y.; Lin, D. Spatial temporal graph convolutional networks for skeleton-based action recognition. In Proceedings of the AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018; Volume 32.