Unified learning approach for egocentric hand gesture recognition and fingertip detection