snipplets.dev/code/Python/opencv/open-image.py

8 lines
119 B
Python
Raw Normal View History

2023-09-03 12:44:02 +03:00
import cv2
img = cv2.imread('image.png')
cv2.imshow('Images from Files', img)
cv2.waitKey(0)
cv2.destroyAllWindows()