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

main.cpp:50 compile error. #2

Closed
zacario-li opened this issue Jan 18, 2019 · 2 comments
Closed

main.cpp:50 compile error. #2

zacario-li opened this issue Jan 18, 2019 · 2 comments

Comments

@zacario-li
Copy link

In main.cpp:50, you should change "CV_BGR2RGB" to "cv::COLOR_BGR2RGB", or it will be error while compiling with opencv4.0

@walktree
Copy link
Owner

or add this line :
using namespace cv;

@walktree
Copy link
Owner

Fixed

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

2 participants