Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Read the docs about the cvtColor function and its parameters!

You certainly wanted to use cv2.COLOR_BGR2GRAY (as the jpg image is certainly not a Bayer image).