Update opencv-cn.html.markdown

This commit is contained in:
即使孤独依旧前行 2020-07-08 23:24:44 +08:00 committed by GitHub
parent 2877c63f00
commit 5f7527a6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ cv2.imshow('Image',img)
cv2.waitKey(0)
# waitKey() 是一个键盘绑定函数参数以毫秒为单位。对于GUI事件必须使用waitKey()函数。
# Writing an image
# 保存图片
cv2.imwrite('catgray.png',img)
# 第一个参数是文件名,第二个参数是图像