Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv uses numpy arrays in python, and so you have to have to use numpy, too, it's not optional. a simple

img = np.zeros((100,100,3), dtype=np.uint8)

should do the job

opencv uses numpy arrays in python, and so you have to have to use numpy, too, it's not optional. a simple

img = np.zeros((100,100,3), dtype=np.uint8)

should do the job

you can't.

opencv uses numpy arrays in python, and so you have to use numpy, too, it's not optional. a simple

img = np.zeros((100,100,3), dtype=np.uint8)

should do the job