Is it possible to load/read shape_predictor_68_face_landmarks.dat at compile time?
I am trying to build a C++ application in Visual Studio using DLIB 's face_landmark_detection_ex.cpp . The build application run from command promt and trained model and image file is passed as arguments. face_landmark_detection_ex.exe shape_predictor_68_face_landmarks.dat image.jpg this shape_predictor_68_face_landmarks.dat is the trained model for 68 landmarks to perform detection on input image and needs to load at run-time every time to perform any detection. I am trying to do following things. Load this shape_predictor_68_face_landmarks.dat at building the application or compile time.