Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Expected Ptr<cv::UMat> for argument '%s' #11

Closed
gkadusumilli opened this issue Dec 12, 2019 · 4 comments
Closed

TypeError: Expected Ptr<cv::UMat> for argument '%s' #11

gkadusumilli opened this issue Dec 12, 2019 · 4 comments

Comments

@gkadusumilli
Copy link

No description provided.

@SSARCandy
Copy link
Owner

can you elaborate?

@91geek
Copy link

91geek commented Apr 21, 2020

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'

@91geek
Copy link

91geek commented Apr 21, 2020

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

@SSARCandy
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants