Vehicle Tracking based on Customized Template Matching