Ask Your Question

Revision history [back]

CvException

Caused by: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.6) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor']

at org.opencv.imgproc.Imgproc.cvtColor_1(Native Method)
at org.opencv.imgproc.Imgproc.cvtColor(Imgproc.java:2347)
click to hide/show revision 2
retagged

updated 2019-08-17 00:27:41 -0500

berak gravatar image

CvException

Caused by: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.6) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor']

at org.opencv.imgproc.Imgproc.cvtColor_1(Native Method)
at org.opencv.imgproc.Imgproc.cvtColor(Imgproc.java:2347)