-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find the HAAR face detector location #1073
Comments
You just have to make it all over again. |
In fact, I have made it all over and over again. |
@Cb1ock Maybe you should also move the ref: https://github.com/TadasBaltrusaitis/OpenFace/wiki/Model-download |
From these logs everything looks fine - the DAT files were found and loaded successfully. What does the status then look like? Do you see the same behavior when using another video file (from the examples)? |
I can find any output in my file and I want to know how to deal with "Could not find the HAAR face detector location" |
Which application are you trying to run, using which command-line arguments, which input files? What does your environment - software and hardware - look like? What happens with other inputs (images, videos)? |
I just want to generate facial landmarks by using OpenFace and I follow the steps in the url https://github.com/TadasBaltrusaitis/OpenFace/wiki/Unix-Installation to install OpenFace.I use a personal laptop with ubuntu 18.04 installed. I input the videos from my own dataset by using the code"./FeatureExtraction -f -out_dir -2Dfp". I really need to solve this problem.Please help me. Thank you!!! |
Can you show the full command line with all parameters you are using again, please? |
./FeatureExtraction -f -out_dir -2DfpThe contents in <> <> are the video file path and the everywhere folder path, respectively |
./FeatureExtraction -f <> -out_dir <> -2Dfp |
Can you use one of the sample video files (some are "exotic" and almost for certain will use SW-video-codecs, i.e. wont rely on system-installed video-codecs)? |
I tried your suggestion, using the.avi video in the samples folder, and the code runs like above. A .txt file and a .csv file are generated in the output path. I'm not sure if this is true, as I just got involved with the project today |
“Could not find the HAAR face detector location ”still happen |
What do you mean...? The sample |
This is expected - and from OpenCV; the installation instructions are not very clear about how to get the "HAAR model" from OpenCV. |
As the script (but I haven't checked the archive "https://github.com/opencv/opencv/archive/4.1.0.zip" from the |
Sorry I didn't express my meaning clearly, I can also feature extract my own video now, there should be a problem with folder permissions. Thank you for your help |
(hmm, I would even say the HAAR detector cannot work... do I see it right that the variable EDIT: No, sorry, I missed these lines:
Looks like with the command-line argument |
I follow the instruction step by step in https://github.com/TadasBaltrusaitis/OpenFace/wiki/Unix-Installation . And I did download the model as show in https://github.com/TadasBaltrusaitis/OpenFace/wiki/Model-download. BUT I STILL GOT THE ERROR here.
erroe message:
(base) ➜ build ./bin/FaceLandmarkVid -f "../samples/changeLighting.wmv" -f "../samples/2015-10-15-15-14.avi"
Could not find the HAAR face detector location
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....Could not find CEN patch experts, for instructions of how to download them, see https://github.com/TadasBaltrusaitis/OpenFace/wiki/Model-download
ERROR: Could not load the landmark detector
My device:
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: