Skip to content
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

get error in cmake #617

Closed
banxia1994 opened this issue Nov 26, 2018 · 7 comments
Closed

get error in cmake #617

banxia1994 opened this issue Nov 26, 2018 · 7 comments

Comments

@banxia1994
Copy link

hi, i get error in cmake
as follow:

image

default opencv version is 2.4.8, i compiled 3.4.0 ,and get '3.4.0' when i check the new opencv version.

Desktop (please complete the following information):

  • OS: ubuntun 14.04
  • Compiler gcc+ 4.8

have any ideal? many thanks!!

@AndyYuanZhou
Copy link

Same problem here

@banxia1994
Copy link
Author

Same problem here

I solve the problem, you should compile opencv with TIFF, take the ' -D BUILD_TIFF=ON' when you cmake opencv.

@TadasBaltrusaitis
Copy link
Owner

Thanks for the suggestion @banxia1994 , I added that flag to the instructions now for building OpenCV.

@banxia1994
Copy link
Author

@TadasBaltrusaitis
hi, i compiled openface completely,but i get another error when run it
-> ./bin/FeatureExtraction -verbose -f "../samples/default.wmv"
"

BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.

"

-> ./bin/FaceLandmarkImg -fdir "../samples/" -wild

"
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
Error: Could not open the image: ../samples/sample1.jpg

"

have any ideal ?

@TadasBaltrusaitis
Copy link
Owner

Have a look at:
#537
#512

@banxia1994
Copy link
Author

banxia1994 commented Nov 27, 2018

Have a look at:
#537
#512

Thanks for your reply !!
related issue have read, problem “BLAS : Program is Terminated. Because you tried to allocate too many memory regions.” have solved by reinstall openblas,

How about "Error: Could not open the image: ../samples/sample1.jpg" ?
I found that para have "-fdir " for FaceLandmarkImg、FeatureExtraction all wrong。

for "FeatureExtraction" get Error
"
Reading the triangulation from:./bin/AU_predictors/tris_68_full.txt... Done
Attempting to read from directory: ../samples/image_sequence
Device or file opened
Floating point exception (core dumped)
"
for "FaceLandmarkImg" get
"

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
Error: Could not open the image: ../samples/image_sequence/001.jpg

"

sorry to bother you again.

regards !

ps: i found that it's ok for ".png" (save results for png, but still have error "
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
Segmentation fault (core dumped)
")

.... not ok with ‘.jpg’ (no results have saved), Does it mean some wrong happend with opencv ?

@TadasBaltrusaitis
Copy link
Owner

Hi,

Sorry I'm not entirely sure about the issue you are having. Can you specify the exact command line arguments you used and the error you got.

Are you only having issues with opening images or videos as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants