mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Merge pull request #3968 from GengchenXU/master
fix translation error for opencv-cn.html.markdown
This commit is contained in:
commit
7929f15241
@ -34,7 +34,7 @@ cv2.imshow('Image',img)
|
|||||||
cv2.waitKey(0)
|
cv2.waitKey(0)
|
||||||
# waitKey() 是一个键盘绑定函数,参数以毫秒为单位。对于GUI事件,必须使用waitKey()函数。
|
# waitKey() 是一个键盘绑定函数,参数以毫秒为单位。对于GUI事件,必须使用waitKey()函数。
|
||||||
|
|
||||||
# Writing an image
|
# 保存图片
|
||||||
cv2.imwrite('catgray.png',img)
|
cv2.imwrite('catgray.png',img)
|
||||||
# 第一个参数是文件名,第二个参数是图像
|
# 第一个参数是文件名,第二个参数是图像
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user