Gesture Recognition of RGB and RGB-D Static Images Using Convolutional Neural Networks