-
Notifications
You must be signed in to change notification settings - Fork 137
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
Comments
Hi, you can fix this by building MXNet without openCV! OpenCV is not required for this code to work. |
@LittleMisss Have you solved the problem? I meet the same error |
I have not solved this problem.I choosed the CTD Net. @liangxi627 |
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. |
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!
The text was updated successfully, but these errors were encountered: