-
Notifications
You must be signed in to change notification settings - Fork 76
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
Some issues while building with opencv flag #17
Comments
@bbaysal, thank you for reporting this issue. Can you elaborate how you fixed these compilation issues? |
The conclusion I got from my searches about the problems is that the problems are related to the version and my solutions are as follows. src/video/openCVSource.cpp:252 and 254 src/video/openCVSource.cpp:311 src/video/openCVSource.cpp:542 And one more issue; Like I said before when I searched problems seperately, all problems related to version. |
Thanks! Your code changes worked for me. |
I encountered some issues while building with opencv flag. I fixed these issues on my own but it will be good to fix it at source code. Here are messages.
/home/brk/opensmile/src/video/openCVSource.cpp: In member function ‘virtual int cOpenCVSource::myFinaliseInstance()’:
/home/brk/opensmile/src/video/openCVSource.cpp:252:24: error: ‘CV_CAP_PROP_FPS’ was not declared in this scope
252 | if(mVideoCapture.get(CV_CAP_PROP_FPS) != 0)
/home/brk/opensmile/src/video/openCVSource.cpp: In member function ‘virtual eTickResult cOpenCVSource::myTick(long long int)’:
/home/brk/opensmile/src/video/openCVSource.cpp:311:52: error: ‘CV_BGR2GRAY’ was not declared in this scope
311 | cvtColor( mCurrentFrame_bgr, mCurrentFrame_gray, CV_BGR2GRAY );
/home/brk/opensmile/src/video/openCVSource.cpp: In member function ‘virtual ExtractedFace cOpenCVSource::extractFace(cv::Mat&, cv::Mat&)’:
/home/brk/opensmile/src/video/openCVSource.cpp:542:67: error: ‘CV_HAAR_SCALE_IMAGE’ was not declared in this scope
542 | mEyes_cascade.detectMultiScale( faceROI, eyes, 1.1, 2, 0 |CV_HAAR_SCALE_IMAGE, Size(30, 30) );
The text was updated successfully, but these errors were encountered: