SSARCandy / panoramas-image-stitching

🖼 Stitching images into 360 panoramas

Home Page:https://ssarcandy.tw/2017/05/26/panorama-image-stitching/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Expected cv::UMat for argument 'array'

shanavajk opened this issue · comments

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'
"""

what is your Python, OpenCV version?

python 3.7.3
cv2 4.1.0

Can you try opencv 3.x?