Hand Gesture Recognition for 3D Interfaces