OpenCV program for detecting red balls