Automated Offside Detection by Spatio-Temporal Analysis of Football Videos