error Traceback (most recent call last) in () ----> 1 gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
error: /Users/travis/build/skvark/opencv-python/opencv/modules/imgproc/src/color.cpp:10638: error: (-215) scn == 3 || scn == 4 in function cvtColor
image
is not a 3 or 4 channel image. print itsshape
– Miki