I am having trouble with this line of code.
cv_im = cv.CreateImageHeader(pil_im.size, cv.IPL_DEPTH_8U, 1)
Now, I am using OpenCV 3.x which apparently has no such attribute. Is there any substitute for that in version 3.x?
I am having trouble with this line of code.
cv_im = cv.CreateImageHeader(pil_im.size, cv.IPL_DEPTH_8U, 1)
Now, I am using OpenCV 3.x which apparently has no such attribute. Is there any substitute for that in version 3.x?