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)