Pedestrian detection with a vehicle camera using fast template matching based on background elimination and active search