Hardware accelerators for automated video surveillance systems