I am using Python (2.7) and bindings for OpenCV 2.4.6 on Ubuntu 12.04
I load an image
image = cv2.imread(\'image.jpg\')
I then chec
try this:
img = cv2.imread('gray.jpg',0)
0 for gray and 1 for color