I have just started to learn OpenCV. trying to make a black window by the code:
img=np.zeros((512,512,3),np.unit8)
but get the error:
module 'numpy' has no attribute 'unit8'
I have just started to learn OpenCV. trying to make a black window by the code:
img=np.zeros((512,512,3),np.unit8)
but get the error:
module 'numpy' has no attribute 'unit8'