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

@baidu88vip baidu88vip commented Nov 19, 2018

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

@makelove makelove commented Nov 21, 2018

谢谢,修改并更新了。

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.