Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Well, the most important thing is that you are not actually giving it the image.

The imshow call has two parameters. The first is the name of the window, and the second is the image to show. So you're telling it to show the image 0. Try this:

cv2.imshow('Blah', img)