Ohhh timing. You ruin every jump shot.
You're counting down right before you leap into the air and your friend is crouched on the ground with their finger on the shutter button. Leaping into the air with a glorious jump, you pose for a split second. Confident in your ability, you run to your friend only to find that it is, yet again, another perfectly great jump shot ruined by the lag between pressing the shutter button and the photo actually being taken.
Well, no more! Using Processing, OpenCV, and a high quality web camera, you can take a perfect jump shot (nearly*) everytime!
*has some annoying constraints (see the last step!)
Step 2: Get Processing Set Up
Note: Newer versions of Processing are no longer compatible with this library. This OpenCV library works with the later versions of Processing, however, my code is not compatible with it. I'll try and update this Instructable when I get a chance.
First of all, you will need a computer that has Processing installed. Processing is free and open source, so download it and install it on your computer right now! It is a powerful tool and has a very active community of people working with it.
You will also need to install OpenCV and the Simple-OpenCV library for Processing. If you are using a Mac, you can follow this Instructable otherwise you can always follow the directions on this website.