Understanding complex human activities in videos : the study of concurrent activity detection and group activity recognition