Understanding videos with face recognition: a complete pipeline and applications