how do i create a blank image in opencv-python without using numpy?
i dont have to use numpy or any other built in function
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
Asked: 2020-07-08 05:55:06 -0600
Seen: 24,059 times
Last updated: Jul 08 '20