Added a deatiled search algorithm; currently not called within frameLoop or testLoop, but we can discuss where that goes later. Detailed search adds additional criteria to finding a ball in addition to the Hough Circle Transform. It first finds the connected components of an image, then determines if the area of the objects are within range of the typical area of the ball we try to find. We then compare the points found for our probable ball with the points found in the Hough Circle Transform. If there is any overlap (within a tolerance of 10 pixels), then we have very likely found our ball.
Added a deatiled search algorithm; currently not called within frameLoop or testLoop, but we can discuss where that goes later. Detailed search adds additional criteria to finding a ball in addition to the Hough Circle Transform. It first finds the connected components of an image, then determines if the area of the objects are within range of the typical area of the ball we try to find. We then compare the points found for our probable ball with the points found in the Hough Circle Transform. If there is any overlap (within a tolerance of 10 pixels), then we have very likely found our ball.