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

> img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) TypeError: Expected Ptr<cv::UMat> for argument '%s' #28

Open
mhcao916 opened this issue Jul 24, 2020 · 1 comment

Comments

@mhcao916
Copy link

when run the test_dev.py

opencv版本不合适,换一个试试

Originally posted by @miemie2013 in #19 (comment)

那么这个问题也是由于opencv版本引起的吗?

@secortot
Copy link

是因为作者使用的是字符串"+"读取的图片,需要改成os.path.join,要不图片没读进来

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

2 participants