LSTM-based real-time action detection and prediction in human motion streams