Skip to content

Instantly share code, notes, and snippets.

@vrootic
Created August 10, 2016 18:46
Show Gist options
  • Save vrootic/ef294061f633914cc6146e7d6c9a0fcb to your computer and use it in GitHub Desktop.
Save vrootic/ef294061f633914cc6146e7d6c9a0fcb to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
import cv2
fig = plt.figure("fig_1")
ax = fig.add_subplot(1, 1, 1)
image = cv2.imread("xxx.jpg")
ax.imshow(image)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment