Start Video

Set up the "video canvas" and stream the camera to it.

Draw circle with center at biggest radius detected circle

Score: -









Threshold

Value:

Min Size of Circle

Value:

Max Size of Circle

Value:

Behind the Scenes

Grab Frame and Display (and returns image data!)

See: DrawImage.

Thresholding (and R, G, B)

See:

Thresholding creates a binary image (each pixel is black or white) based on some threshold value:

Note: you should probably make the threshold different for R, G, and B based on lighting, camera, etc.

Red:

Green:

Blue:

Draw circle with center at biggest radius detected circle