Computer vision coursework · 2023

Dartboard Detector

I combined a Viola–Jones cascade with Hough line geometry to find dartboard centres and reject false positives.

Explore the exhibit

Edges and Hough votes

I added Hough line detection to a Viola–Jones dartboard detector to reduce false positives. The coloured lines connect one coursework photo to its vote map.

Scroll or swipe sideways · Arrow keys to scrub · Space to pause or resume

Coursework photographρ = x cos θ + y sin θ
Image space
Hough spaceAngle × distance
Solid: candidate · Dashed: referenceBox check pending

Find candidate regions

I trained a Viola–Jones cascade to propose dartboard boxes. I drew reference boxes by hand and counted a detection as correct when its intersection over union with a reference exceeded 0.5.

Use the board’s geometry

I used Sobel gradients and Hough line detection to find pairs of lines that met at about 18° inside a candidate box. I used those intersections to centre the boxes and enlarged them to account for the board’s outer rim.

Where the score falls short

Adding the line geometry raised mean F1 from 0.08 for the cascade alone to 0.57 on the test images. Small or angled boards remained difficult, and the line detector could only refine boards the cascade had flagged.