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

[错误位置]OpenCV-Python-Tutorial/ch09-图像的基础操作/9.split_color.py #8

Open
baidu88vip opened this issue Nov 19, 2018 · 1 comment

Comments

@baidu88vip
Copy link

OpenCV-Python-Tutorial/ch09-图像的基础操作/9.split_color.py

b,g,r=cv2.split(img)#比较耗时的操作,请使用numpy 索引
img=cv2.merge(b,g,r)

改为(缺少一对括号)

b,g,r=cv2.split(img)#比较耗时的操作,请使用numpy 索引
img=cv2.merge((b,g,r))

@makelove
Copy link
Owner

谢谢,修改并更新了。

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