Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a2c9199

Browse files
committed
delay
1 parent 64abee6 commit a2c9199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ch04-图片/4.1_imread_imshow.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
cv2.imshow('image', img)#窗口会自动调整为图像大小
3030
# 按任意键退出
31-
cv2.waitKey(0)#返回按键的 ASCII 码值
31+
cv2.waitKey(delay=0)#返回按键的 ASCII 码值
3232

3333
cv2.destroyAllWindows()
3434

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /