I need to use a low resolution image (320 x 240) in OpenCV and find a large exercise ball, blue or red. The ball is 25 inches wide and is NOT guaranteed to be completely round. I tried using HoughCircles with Canny-thresholded image. I have not had success. What am I doing wrong and what is the best way to get the size of a ball in pixels and where is it? This will allow me to calculate how far from the camera!
source
share