ALL PROJECTS
AI2026LOG.AI-SNOOKER

AI Snooker

AI SCORING SYSTEMComputer vision that referees snooker in real time

An edge-AI system that watches snooker tables through ceiling cameras, detects balls and cues with a custom-trained model on Jetson hardware, and drives a live scoreboard, food ordering, and cashier system for the venue.

Jetson NanoMobileNet-SSDComputer VisionFlutterAWS
AI Snooker — DETECTIONDETECTION
AI Snooker — SCOREBOARDSCOREBOARD
AI Snooker — HARDWAREHARDWARE
AI Snooker — CASHIERCASHIER
AI Snooker — TRAINING DATATRAINING DATA
BLK.01

Project Overview

// THE CHALLENGE

Players wager a small amount for table rental. The venue needed a scoreboard tablet and a cashier tablet; both stream money and balances from the server. When someone scores, the server must calculate how much each person pays based on the game rules they set.

// THE AI SOLUTION

A ceiling camera feeds a Jetson Nano running MobileNet-SSD for real-time ball detection (30 FPS) at the venue. When a customer rents a table, the scoreboard is enabled and the table lights turn on. When the AI detects a score, the Jetson sends it to the scoreboard and the cloud calculates what each person pays.

// THE IMPACT

A scoreboard tablet and a cashier tablet run the Flutter app, both streaming money and balances from the server. When the AI detects a score, the server applies the game rules and calculates how much each player pays for table rental — fully automated.

BLK.02

By The Numbers

0
FPS Detection
Real-time on the edge
0+
Training Images
Custom annotated dataset
0×
Faster Inference
Jetson Orin Nano upgrade
0
Ball Colours
Plus cues, cushions, pockets, D-zone
BLK.03

System Architecture

Edge AI hardware mounted above the table, talking to venue tablets and the cloud.

AI Snooker — EDGE DEPLOYMENT

EDGE DEPLOYMENT

Ceiling-mounted hardware setup for optimal bird's-eye view (~1.7m).

AI Snooker — NVIDIA JETSON NANO

NVIDIA JETSON NANO

Edge AI compute module powering real-time object detection at the venue.

BLK.04

Data Flow

WHEN A TABLE IS RENTED

  1. 1Customer rents table (rent per minute)
  2. 2Scoreboard is enabled
  3. 3I/O switch turns the table lights on
  4. 4Jetson is always on, watching

BALANCE — CLOUD IS SOURCE OF TRUTH

  1. 1Cloud holds amount and balance
  2. 2Scoreboard streams balance from cloud
  3. 3Cashier streams balance from cloud

WHEN SOMEONE SCORES

  1. 1Jetson sends score to scoreboard
  2. 2Cloud calculates new balances by game rules
  3. 3Scoreboard shows updated balance
BLK.05

AI & Object Detection

AI Snooker — REAL-TIME DETECTION (OVERHEAD)

REAL-TIME DETECTION (OVERHEAD)

Computer vision model tracking balls, cues, and pockets from a bird's-eye perspective.

AI Snooker — PRECISION & COLOUR

PRECISION & COLOUR

Fine-tuned MobileNet-SSD model handling small objects and critical colour differentiation.

BLK.06

Detection, Live

Live view of the AI detecting balls, cues, and pockets in real time as the game is played.

REAL-TIME DETECTION — RAW MODEL OUTPUT

BLK.07

Detection Capabilities

FTR.01

OBJECTS

Detects all ball colours (Red, Yellow, Green, Brown, Blue, Pink, Black, White), cues, cushions, pockets, and D-zone.

FTR.02

PERFORMANCE

Optimized for Edge AI on Jetson hardware, achieving ~30 FPS for smooth, real-time tracking capabilities.

FTR.03

TRAINING

Trained on 4,000+ custom annotated images using cloud H100 GPUs. Custom fixes for bounding boxes and resolution.

BLK.08

Annotation Samples

No pre-existing dataset existed for this problem — every training image was collected and annotated from scratch.

AI Snooker — RED BALLS

RED BALLS

Annotation samples for red ball detection.

AI Snooker — YELLOW BALLS

YELLOW BALLS

Annotation samples for yellow ball detection.

AI Snooker — POCKETS

POCKETS

Annotation samples for pockets (bags).

AI Snooker — CUES

CUES

Annotation samples for cue detection.

AI Snooker — ANNOTATIONS CLOSE-UP

ANNOTATIONS CLOSE-UP

Close-up view of bounding boxes and labels.

BLK.09

Difficulties Faced

AI Snooker — IMBALANCED DATASET

IMBALANCED DATASET

Some classes (e.g. red balls) had far more examples than others, which can bias the model. Careful sampling and augmentation ensured all classes were represented during training.

AI Snooker — SSD BOX SIZES

SSD BOX SIZES

Fixed by changing the SSD box sizes to the range that fits the objects we detect.

BLK.10

More Challenges Solved

FTR.01

SMALL OBJECTS AT DISTANCE

From the ceiling camera, balls are only around 40–60 pixels. We increased input resolution and tuned anchor sizes so the model could detect and classify them reliably.

FTR.02

REAL-TIME FPS ON EDGE

Running the detector at usable frame rate on the original Jetson Nano was tight. We moved to Jetson Orin Nano, which is up to 80× faster, so inference keeps up with the camera feed.

FTR.03

DETECTION JITTER

Raw detections jumped between frames, which looked bad and could affect scoring. We ignore sudden color changes along a ball's path so the scoreboard sees stable, consistent detections.

FTR.04

CAMERA DISTORTION AT EDGES

Wide-angle lens distortion made balls near the edges appear oval. Instead of lens calibration, we added distorted data to training so the model learned to handle oval shapes at the frame edges.

BLK.11

Real-Time Scoreboard

The AI doesn't just see balls; it understands the game.

FTR.01

COORDINATE STREAMING

Streams X,Y coordinates of every ball in real-time.

FTR.02

POT DETECTION

Tracks ball paths to detect when a ball is "lost" near a pocket.

FTR.03

INSTANT SCORING

When a person scores, the app sends the event to the server for calculation.

FTR.04

SCOREBOARD & CASHIER

Scoreboard shows what each person pays by game rules. Cashier streams balances per table, takes food orders, and sees orders placed from the scoreboards.

BLK.12

Venue Apps

Flutter apps running on venue tablets — all streaming live state from the cloud.

ai-snooker://real-time streaming
AI Snooker — REAL-TIME STREAMING

REAL-TIME STREAMING

Live X,Y coordinates of every ball streamed from the Jetson to the scoreboard and cloud.

ai-snooker://scoreboard
AI Snooker — SCOREBOARD

SCOREBOARD

Streams money and balances from the server; score events trigger calculation of what each pays by game rules.

ai-snooker://food ordering
AI Snooker — FOOD ORDERING

FOOD ORDERING

Food ordering is available on the same scoreboard tablet.

ai-snooker://cashier
AI Snooker — CASHIER

CASHIER

Streams balances for each table, takes food orders, and sees orders placed from the scoreboards.

BLK.13

More Features

AI Snooker — PRINTING

PRINTING

Staff can print receipts, tickets, or reports directly from the cashier app — one workflow, one tablet.

AI Snooker — I/O SWITCH CONTROL

I/O SWITCH CONTROL

Table lights and venue equipment controlled via I/O switches over local WiFi — no cloud required for on/off control.

AI Snooker — REMOTE JETSON CONTROL

REMOTE JETSON CONTROL

TeamViewer access to the ceiling-mounted Jetsons for updates, diagnostics, and configuration — no ladder required.

BLK.14

Why It Matters

FTR.01

NICHE AI DATASET

Built from scratch with no pre-existing dataset. Collected and annotated 4,000+ images to solve a specific, real-world problem.

FTR.02

EDGE PERFORMANCE

Successfully deployed a complex MobileNet-SSD model on resource-constrained Jetson hardware while maintaining real-time FPS.

FTR.03

ROBUSTNESS

Handled environmental challenges like lighting, exposure, and similar object shapes/colors through rigorous tuning.

BLK.15

Technology Stack

NVIDIA - Edge AI Computing (Jetson)
NVIDIA JETSONEdge AI hardware
TensorFlow - Machine Learning Framework
MOBILENET-SSDObject detection
Flutter - Cross-Platform Mobile Development Framework
FLUTTERScoreboard & cashier apps
Amazon Web Services - Cloud Platform
AWSCloud processing