我是图书馆的新手,我正在编写一个程序来按照教程分析视频。这是我的代码片段:
detector = new VideoDetector(24);
detector.setClassifierPath(classifierPath);
detector.setImageListener(this);
detector.setDetectAllExpressions(true);
detector.setDetectAllEmotions(true);
detector.setDetectAllEmojis(true);
detector.setDetectAllAppearances(true);
detector.setDetectAge(true);
detector.setDetectEthnicity(true);
detector.start();
detector.process("path to the video file");
我得到以下异常:
打开视频文件时出错:来源:__cdecl FileVideoCapture::FileVideoCapture(const class boost::filesystem::path &,const float)(C:\Jenkins\workspace\affdexface-win64\src\modules\utils\FileVideoCapture.cpp LINE 12 )
我不确定“C:\Jenkins\workspace\”部分来自哪里?有人可以帮我吗?
谢谢!