Ask Your Question

ChrisBouslog's profile - activity

2017-03-04 06:22:09 -0600 received badge  Famous Question (source)
2015-07-23 12:57:46 -0600 received badge  Notable Question (source)
2014-11-12 11:40:31 -0600 received badge  Popular Question (source)
2014-03-06 11:14:45 -0600 asked a question Open CV Error Assertion Failed ((scn == 3 || scn == 4)

Hey Friendly people of the internet. I am brand new to programming and am getting this error when I attempt to run a program from github using opencv and microsoft visual studios

OpenCV Error: Assertion failed ((scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F)) in cvtColor, file /build/buildd/opencv-2.3.1/modules/imgproc/src/color.cpp, line 2957 terminate called after throwing an instance of 'cv::Exception' what(): /build/buildd/opencv-2.3.1/modules/imgproc/src/color.cpp:2957: error: (-215) (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) in function cvtColor

Please Help me