Optimization of Outdoor Video Surveillance