Here's how to make cv2 in Python:
Here's a more complete example of creating a new blank image filled with a specific RGB color
import cv2 import numpy as np def create_blank(width, height, rgb_color=(0, 0, 0)): """Create new image(numpy array) filled with certain color in RGB"""
Kimmo Apr 7 '14 at 19:10 2014-04-07 19:10
source share