Video Surveillance Online Repository (ViSOR): an integrated framework