System and method for detection of vehicle characteristics from images