snipplets.dev/code/Python/opencv/open-image.py
2023-09-26 22:05:13 +03:00

8 lines
119 B
Python

import cv2
img = cv2.imread('image.png')
cv2.imshow('Images from Files', img)
cv2.waitKey(0)
cv2.destroyAllWindows()