Skip to content

Instantly share code, notes, and snippets.

@fjustin
Created July 10, 2017 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjustin/0863d9bce5f7fc21775099345ae18d88 to your computer and use it in GitHub Desktop.
Save fjustin/0863d9bce5f7fc21775099345ae18d88 to your computer and use it in GitHub Desktop.
import cv2
import numpy as np
size = 100, 100, 3
red_img = np.zeros(size, dtype=np.uint8)
cv2.imshow('result',red_img)
cv2.waitKey(0)
cv2.destroyAllWindows()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment