dlib:无法打开face_landmark_detection_ex进行读取

dlib : Unable to open face_landmark_detection_ex for reading?

本文关键字:detection landmark ex 读取 face dlib      更新时间:2023-10-16

我在visual studio中编译了dlib库和face_landmark_detection_ex.cpp示例程序,如[在visual studio中编译dlib的演示][2]所述,并成功构建并创建了可执行文件。但当我尝试在终端上执行可执行文件时,为:

C:mydir>dlibProject.exe face_landmark_detection_ex shape_predictor_68_face_landmarks.dat faces/*.jpg

它显示了一个错误:

exception thrown!
Unable to open ./face_landmark_detection_ex for reading.

如果有人有任何关于dlib的知识和经验,请帮助。。。

您只需要执行C:mydir>dlibProject.exe shape_predictor_68_face_landmarks.dat faces/*.jpg,因为face_landmark_detection_ex是您明显更改的程序的名称。