Java program to putt golf balls by interfacing a webcam and a motorized putter