mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update opencv-cn.html.markdown
This commit is contained in:
parent
2877c63f00
commit
5f7527a6f8
@ -34,7 +34,7 @@ cv2.imshow('Image',img)
|
||||
cv2.waitKey(0)
|
||||
# waitKey() 是一个键盘绑定函数,参数以毫秒为单位。对于GUI事件,必须使用waitKey()函数。
|
||||
|
||||
# Writing an image
|
||||
# 保存图片
|
||||
cv2.imwrite('catgray.png',img)
|
||||
# 第一个参数是文件名,第二个参数是图像
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user