Skip to content

Instantly share code, notes, and snippets.

@MareArts
Last active June 27, 2018 14:19
Show Gist options
  • Save MareArts/563e458b804b6b57a518eb999dcbb54b to your computer and use it in GitHub Desktop.
Save MareArts/563e458b804b6b57a518eb999dcbb54b to your computer and use it in GitHub Desktop.
test
import cv2
import numpy as np
img = cv2.imread('Suzy.jpg', 1)
if (type(img) is np.ndarray):
print('open image')
cv2.imshow('rt', img)
cv2.waitKey(0)
else:
print('no image')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment