TypeError: Expected cv::UMat for argument 'array'
shanavajk opened this issue · comments
Shanavaj commented
Traceback (most recent call last):
File "D:\python\lib\multiprocessing\pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "D:\python\lib\multiprocessing\pool.py", line 47, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "C:\Users\shahnavaj.k\Downloads\panoramas-image-stitching-master\src\utils.py", line 75, in cylindrical_projection
x, y, w, h = cv2.boundingRect(contours[0])
TypeError: Expected cv::UMat for argument 'array'
"""
Andy Hsu commented
what is your Python, OpenCV version?
Shanavaj commented
python 3.7.3
cv2 4.1.0
Andy Hsu commented
Can you try opencv 3.x?
Shanavaj commented
Ok thanks
…On Fri, 1 Nov 2019 at 6:58 PM, HSU,SHU-HSUAN ***@***.***> wrote:
Can you try opencv3?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AHN3V2FKJ2U7JSKFMYPARN3QRQVH7A5CNFSM4JHKCH5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC25LJQ#issuecomment-548787622>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHN3V2AMZWPAYN4FPXW7OFDQRQVH7ANCNFSM4JHKCH5A>
.