Survey on Various Gesture Recognition Techniques for Interfacing Machines Based on Ambient Intelligence