Ball Following code

OK i don’t want to sound like a mooch but does anyone have a code that follows the balls instead of the 2 colored cloths?
If so can i have the code?

Have them? no, and in all honesty with my experience you wont need it
but if you decide you do, use NI Vision to snap a picture of the ball with your camera, then just mess with the various filters untill you get the two colors of the ball.

it might as easy as changing some value in CameraExample.vi