Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy