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 Ptr<cv::UMat> for argument '%s'

gkadusumilli opened this issue · comments

can you elaborate?

I have the same problem.
File "./main.py", line 29, in
cylinder_img_list = pool.starmap(utils.cylindrical_projection, [(img_list[i], focal_length[i]) for i in range(len(img_list))])
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\multiprocessing\pool.py", line 372, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\multiprocessing\pool.py", line 768, in get
raise self._value
TypeError: Expected Ptrcv::UMat for argument 'array'

User the
pip install opencv-python==3.4.9.33
Don't use the 4.2+'s opencv

I edited the README and state the opencv 4+ may encounter the issue.