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

opencv error #24

Open
LittleMisss opened this issue Jul 17, 2018 · 4 comments
Open

opencv error #24

LittleMisss opened this issue Jul 17, 2018 · 4 comments

Comments

@LittleMisss
Copy link

LittleMisss commented Jul 17, 2018

Excuse me.
When I compiled the mxnet project, this error message appeared:
src/io/image_aug_default.cc:499:26: error: ‘CV_BGR2HLS’ was not declared in this scope cvtColor(res, res, CV_BGR2HLS); ^ src/io/image_det_aug_default.cc:561:32: error: ‘CV_HLS2BGR’ was not declared in this scope cv::cvtColor(res, res, CV_HLS2BGR); ^ src/io/image_aug_default.cc:519:26: error: ‘CV_HLS2BGR’ was not declared in this scope cvtColor(res, res, CV_HLS2BGR); ^ src/io/image_io.cc: In function ‘void mxnet::io::ImdecodeImpl(int, bool, void*, size_t, mxnet::NDArray*)’: src/io/image_io.cc:175:28: error: ‘CV_BGR2RGB’ was not declared in this scope cv::cvtColor(dst, dst, CV_BGR2RGB); ^ Makefile:443: recipe for target 'build/src/io/image_aug_default.o' failed make: *** [build/src/io/image_aug_default.o] Error 1 make: *** Waiting for unfinished jobs.... Makefile:443: recipe for target 'build/src/io/image_det_aug_default.o' failed make: *** [build/src/io/image_det_aug_default.o] Error 1 Makefile:443: recipe for target 'build/src/io/image_io.o' failed make: *** [build/src/io/image_io.o] Error 1
So,i want to know the Python and the opencv version information.and how i should fix this question.
thanks!

@Bartzi
Copy link
Owner

Bartzi commented Jul 17, 2018

Hi, you can fix this by building MXNet without openCV! OpenCV is not required for this code to work.

@liangxi627
Copy link

@LittleMisss Have you solved the problem? I meet the same error

@LittleMisss
Copy link
Author

I have not solved this problem.I choosed the CTD Net. @liangxi627

@Bartzi
Copy link
Owner

Bartzi commented Aug 10, 2018

You might have already been able to find this, but here it says that you might not have OpenCV properly installed, that is everything I can do for you, since it is an MXNet problem.

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

3 participants