cout<<"The test image is located in the examples folder. So you should run this program from a sub folder so that the relative path is correct."<<endl;
}
catch(serialization_error&e)
{
cout<<e.what()<<endl;
cout<<"The model file can be obtained from: http://dlib.net/files/mmod_rear_end_vehicle_detector.dat.bz2 Don't forget to unzip the file."<<endl;