I have tried to use the following values to threshold an image to find a tennis ball but I find nothing.
Here are the values I am using in my inRange
call
cvScalar(0.11*256, 0.60*256, 0.20*256, 0)
cvScalar(0.14*256, 1.00*256, 1.00*256, 0)
How can I find better values for a tennis ball?