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
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: 28,244 times
Last updated: Jul 08 '20
How to check and update the existing version of Open-CV on ubuntu 14.04 ?
Need Help! Python, Object Detection/Tracking [closed]
Lucas Kanade Optical Flow Implementation
What the hell is up with BackgroundSubtractorMOG, MOG2, KNN, etc.? [closed]
video is not opening in opencv 2.4.10 with python
OpenCV + Python | Multiple object tracking
LBPH OpenCV Raspberry Pi with Python
Track multiple simple objects and measure distance traveled by each in 4 second video
problem in displaying video stream window in face detection python
The imread of python opencv 3.1 can't work with chinese pathdir?