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

Modifications for OpenCV 3.0 #96

Closed
wants to merge 2 commits into from
Closed

Modifications for OpenCV 3.0 #96

wants to merge 2 commits into from

Conversation

edgarriba
Copy link

Changed some interfaces for the new OpenCV release

@vrabaud
Copy link
Contributor

vrabaud commented Sep 6, 2014

hi, thx. I was on a break sorry: this is valuabl but you could please make sure it compiles on OpenCV 2.4.5 (the minimum one supported on Ubuntu). Thx. I get errors like: fourcc does not exist, or StereoBM does not have the same API. If it compiles with OpenCV 2.4.9 and 3.0, just use an #if as follows:

#if (CV_MAJOR_VERSION > 2) || ((CV_MAJOR_VERSION==2) && ((CV_MINOR_VERSION>4) || (CV_MINOR_VERSION==4 && CV_SUBMINOR_VERSION>=9)))

@vrabaud vrabaud closed this in 5f6a973 Sep 20, 2014
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

Successfully merging this pull request may close these issues.

2 participants