cv2.namedWindow("Trackbars")
cv2.resize("Trackbars", 640 ,420)
cv2.createTrackbar("Hue Min","Trackbars",0,179,empty)
I am using this code to create and resize the new window but its showing giving me following error: what am doing wrong here ?
Overload resolution failed:
- src is not a numpy array, neither a scalar
- Expected Ptr<cv::UMat> for argument 'src'
what is wrong here ?