Answers for "how to read image in cv2"

8

how to print image with cv2

cv2.imshow('image',img)
cv2.waitKey(0)
Posted by: Guest on February-27-2021
8

cv2 show image

cv2.imshow('image',img)
cv2.waitKey(0)
Posted by: Guest on October-10-2020
0

image in cv2

img = cv2.imread('img/cat.png') #img folder is in same file/path as .ipynb file

cv2.imshow('image', img)
cv2.waitKey(0)
cv2.destroyAllWindows()
Posted by: Guest on April-19-2022

Python Answers by Framework

Browse Popular Code Answers by Language