1 | initial version |
java support is pretty new, best place to look for (upcoming)samples, is probably here
the first thing you'll want to look into is skin / contour detection
maybe it's already enough to find your hand / color blob in a certain position
or you could record & save the outline of your gesture, and call matchContours() on a candidate blob from your camera for comparison.
there's also a function to find convexitydefects in the outline, if you want to count fingers