TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.95k stars 1.85k forks source link

test image, the program stops itself and there is no error message, #917

Open 314159267 opened 4 years ago

314159267 commented 4 years ago

Hello, I encountered a problem while testing the OPENFACE installation. When I run . / bin / facelandmarkvid - F ". / samples/ changeLighting.wmv "- F.". / samples / 2015-10-15-15-14. Avi ", it was correct and successfully output. But when I run . / bin / facelandmarkimg - FDIR ". / samples /" - wild, the program stops itself and there is no error message,and I've used it the method mentioned in https://github.com/TadasBaltrusaitis/OpenFace/wiki/Model-download , but unfortunately, it is still the error。

root@root:/media/root/opencv/build/OpenFace/build$ ./bin/FaceLandmarkImg -fdir "../samples/" -wild Attempting to read from directory: ../samples/ Could not find the HAAR face detector location Loading the model Reading the landmark detector/tracker from: ./bin/model/main_ceclm_general.txt Reading the landmark detector module from: ./bin/model/cen_general.txt Reading the PDM module from: ./bin/model/pdms/In-the-wild_aligned_PDM_68.txt....Done Reading the Triangulations module from: ./bin/model/tris_68.txt....Done Reading the intensity CEN patch experts from: ./bin/model/patch_experts/cen_patches_0.25_of.dat....Done Reading the intensity CEN patch experts from: ./bin/model/patch_experts/cen_patches_0.35_of.dat....Done Reading the intensity CEN patch experts from: ./bin/model/patch_experts/cen_patches_0.50_of.dat....Done Reading the intensity CEN patch experts from: ./bin/model/patch_experts/cen_patches_1.00_of.dat....Done Reading part based module....left_eye_28 Reading the landmark detector/tracker from: ./bin/model/model_eye/main_clnf_synth_left.txt Reading the landmark detector module from: ./bin/model/model_eye/clnf_left_synth.txt Reading the PDM module from: ./bin/model/model_eye/pdms/pdm_28_l_eye_3D_closed.txt....Done Reading the intensity CCNF patch experts from: ./bin/model/model_eye/patch_experts/left_ccnf_patches_1.00_synthlid.txt....Done Reading the intensity CCNF patch experts from: ./bin/model/model_eye/patch_experts/left_ccnf_patches_1.50_synthlid.txt....Done Could not find the HAAR face detector location Done Reading part based module....right_eye_28 Reading the landmark detector/tracker from: ./bin/model/model_eye/main_clnf_synth_right.txt Reading the landmark detector module from: ./bin/model/model_eye/clnf_right_synth.txt Reading the PDM module from: ./bin/model/model_eye/pdms/pdm_28_eye_3D_closed.txt....Done Reading the intensity CCNF patch experts from: ./bin/model/model_eye/patch_experts/ccnf_patches_1.00_synthlid.txt....Done Reading the intensity CCNF patch experts from: ./bin/model/model_eye/patch_experts/ccnf_patches_1.50_synthlid.txt....Done Could not find the HAAR face detector location Done Reading the landmark validation module....Done Model loaded Reading the AU analysis module from: ./bin/AU_predictors/main_static_svms.txt Reading the AU predictors from: ./bin/AU_predictors/AU_all_static.txt... Done Reading the PDM from: ./bin/AU_predictors/In-the-wild_aligned_PDM_68.txt... Done Reading the triangulation from:./bin/AU_predictors/tris_68_full.txt... Done Reading the MTCNN face detector from: ./bin/model/mtcnn_detector/MTCNN_detector.txt Reading the PNet module from: ./bin/model/mtcnn_detector/PNet.dat Reading the RNet module from: ./bin/model/mtcnn_detector/RNet.dat Reading the ONet module from: ./bin/model/mtcnn_detector/ONet.dat Starting tracking root@root:/media/root/opencv/build/OpenFace/build$

BoyanH commented 3 years ago

I'm having the same issue using a docker container as in the wiki. I also tried starting from a ubuntu:18.04 image and installing OpenFace manually as in the Unix installation guide, using the currently latest master version, same issue.