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

Updated ImageRW_OpenCV.cpp to build with the latest versions of OpenCV #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rishi307
Copy link

No description provided.

Copy link

@Shivani1796 Shivani1796 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i tried this changes but getting error .
that :
error: ‘CV’ has not been declared
cv::Mat m = cv::imread(filename, CV::IMREAD_GRAYSCALE);

can you tell me why i am getting this

@david-loe
Copy link

That helps!

@giladosk
Copy link

Hi @david-loe,
I think the upper-case "CV" should be lower case "cv", otherwise my build fails.
Perhaps it's just my machine, but I'm using a relatively-new version of openCV.
Regards

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.

4 participants