Key Frame Extraction with Attention Based Deep Neural Networks