I am trying to do hand gesture recognition for any background ( not by using a single color plane behind the hand ). I am acquiring the image by using the integrated webcam that is present in my laptop. once the gestures are identified , i need to take some decisions to control someother instrument. I am trying this by using image processing techniques like edge detection, template matching etc. I am not able to find expected results..Is there any precautions to be handled to get this correct ?