SSARCandy / panoramas-image-stitching

🖼 Stitching images into 360 panoramas
https://ssarcandy.tw/2017/05/26/panorama-image-stitching/
215 stars 53 forks source link

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

Closed shanavajk closed 4 years ago

shanavajk commented 4 years ago

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

SSARCandy commented 4 years ago

what is your Python, OpenCV version?

shanavajk commented 4 years ago

python 3.7.3 cv2 4.1.0

SSARCandy commented 4 years ago

Can you try opencv 3.x?

shanavajk commented 4 years ago

Ok thanks

On Fri, 1 Nov 2019 at 6:58 PM, HSU,SHU-HSUAN notifications@github.com wrote:

Can you try opencv3?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SSARCandy/panoramas-image-stitching/issues/10?email_source=notifications&email_token=AHN3V2FKJ2U7JSKFMYPARN3QRQVH7A5CNFSM4JHKCH5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC25LJQ#issuecomment-548787622, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHN3V2AMZWPAYN4FPXW7OFDQRQVH7ANCNFSM4JHKCH5A .