how to solve cv2.error: C:\projects\opencv-python\opencv\modules\imgproc\src\demosaicing.cpp:1632: error: (-215) scn == 1 && dcn == 1 in function cv::demosaicinguse

asked 2018-01-20 11:22:13 -0600

Shivus gravatar image

updated 2018-01-20 11:24:12 -0600

berak gravatar image

i am trying to use cv2 to detect the faces in a photo and i am getting the following error cv2.error: C:\projects\opencv-python\opencv\modules\imgproc\src\demosaicing.cpp:1632: error: (-215) scn == 1 && dcn == 1 in function cv::demosaicing the code is as in the image ... and error page is ...

edit retag flag offensive close merge delete

Comments

please edit your question again, and fill in your code and the error message, but as text, please.

(i removed the entirely useless screenshots, noone can try your code, quote you, it can't be indexed, you're hogging other folks bandwith for no reason, etc.)

berak gravatar imageberak ( 2018-01-20 11:25:58 -0600 )edit