A Multistep Framework for Vision Based Vehicle Detection