Distributed Video Surveillance Using Hardware-Friendly Sparse Large Margin Classifiers