How can one display an image using cv2 in Python

As far as I can see, you are doing it almost good. There is one thing missing:

cv2.imshow('image',img)
cv2.waitKey(0)

So probably your window appears but is closed very very fast.

Leave a Comment

techhipbettruvabetnorabahisbahis forumueduseduedusedusedueduseduedusedusedu