Abstract
The Snooker Extraction and 3D Builder (SE3DB) is designed to be used as a viewer aid in televised snooker broadcasting. Using a single camera positioned over a snooker table, the system creates a virtual 3D model of the table which can be used to allow audiences to view the table from any angle. This would be particularly useful in allowing viewers to determine if particular shots are possible or not. This paper describes the design, development, and evaluation of this system, with a particular focus on the techniques used to recognize and locate the balls on the table.
Introduction
In televised snooker, viewers often struggle to judge whether a specific shot is physically possible. While it is often desirable to see the table from the player’s point of view to check for "clearance" or "snookers," moving a physical camera into that position would distract the player and disrupt the flow of the game.
Existing solutions like the "Hawk-eye" system are widely used but remain proprietary commercial products. This research addresses the challenge of creating an accessible, low-hardware-requirement system—utilizing just one overhead camera—that can automatically identify the positions and colors of all balls on a table to generate a real-time 3D digital twin.
Methodology
The authors developed the Snooker Extraction and 3D Builder (SE3DB) using a multi-stage computer vision pipeline designed for robustness and efficiency.
Table Boundary Extraction
The system first identifies the playing area using a combination of edge detection and geometric filtering. It employs a Canny edge detector to find all edges in the frame, followed by a Hough transform to identify straight lines. By applying domain knowledge—specifically that the table is a rectangle of known proportions—the system filters out extraneous "noise" lines to lock onto the precise boundaries of the playing surface.
Ball Detection and Localization
Initial attempts using standard circle-based Hough transforms proved unreliable due to image noise and the non-perfect circular appearance of balls in low-resolution overhead views. Similarly, flood-fill algorithms struggled with color blending between balls and the green baize.
The final, successful method leverages specular reflections—the tiny, bright white spots of light reflected off the polished surface of the balls. By thresholding a grayscale image to isolate these high-intensity "hotspots," the system can pinpoint ball centers with high precision. This approach turns what is usually considered "noise" in computer vision into a primary feature.
Color Identification and 3D Rendering
Once a ball's center is located via its reflection, the system samples the average RGB values in the immediate surrounding area. These values are compared against a pre-defined lookup table of standard snooker ball colors (red, yellow, green, brown, blue, pink, black, and white). Finally, the extracted coordinates and colors are fed into an OpenGL engine to render the 3D representation of the table.
Experimental Evaluation
The system was evaluated using a small-scale demonstration snooker table across 13 different table configurations, containing a total of 181 balls. The evaluation focused on detection accuracy and color classification.
Key Results
- Detection Rate: 99.4% (180 out of 181 balls were correctly located). The single failure occurred because a ball was placed too close to a pocket and was filtered out by the system's noise-reduction logic.
- Color Accuracy: 98.3% (178 out of 181 balls were assigned the correct color).
- False Positives: Only two "spurious" balls were detected, caused by actual debris on the table surface reflecting light.
Conclusion and Future Work
While highly accurate, the system currently employs aggressive filtering near pockets to avoid mistaking pocket reflections for balls. Future iterations aim to use more complex, non-rectangular "ignore zones" to track balls sitting on the brink of being potted. Additionally, the authors plan to implement automated calibration to handle varied camera angles and heights, and to improve the visual fidelity of the 3D models for professional broadcast use. The success of SE3DB demonstrates that leaning into the constraints and unique physical properties of a sport—such as the reflectivity of snooker balls—can lead to highly effective and computationally efficient computer vision solutions.
Summary updated