arthew0

← back

Hough Circles

Hough Circles — computervision, abstract, touchdesigner

cv::HoughCircles is an OpenCV function that detects circles in an image using the Hough Circle Transform (based on the gradient method).

Download TouchDesigner version on my Patreon

Hough Circles: hough circles eye — computervision, abstract, touchdesigner

It is fast and quite reliable when edge detection is clean, but it is very sensitive to parameter tuning:

Hough Circles — computervision, abstract, touchdesigner

ScriptOP using TOP texture as input and output lines coordinates as CHOP:

A Script OP receives any TOP texture — a camera, video file, or rendered image — converts it to grayscale, runs cv::HoughCircles on each frame, and outputs the center coordinates and radius of every detected circle as CHOP channels. From there the data can drive instancing, geometry, or sound: detected circles in the real world become control signals for a generative system.

Hough Circles: hough circles td — computervision, abstract, touchdesigner

Use cases

Video