Skip to content

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

Open
rishi307 wants to merge 1 commit intoJakobEngel:masterfrom
rishi307:master
Open

Updated ImageRW_OpenCV.cpp to build with the latest versions of OpenCV#145
rishi307 wants to merge 1 commit intoJakobEngel:masterfrom
rishi307:master

Conversation

@rishi307
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@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
Copy Markdown

That helps!

@giladosk
Copy link
Copy Markdown

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