Gesture and speech recognition for real-time multimodal human–robot interaction