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 53a5492

Browse files
committed
plt.show(block
1 parent 58293ae commit 53a5492

File tree

1 file changed

+1
-0
lines changed
  • ch02-安装OpenCV/最简单-使用pip安装opencv-python和opencv-contrib-python

1 file changed

+1
-0
lines changed

‎ch02-安装OpenCV/最简单-使用pip安装opencv-python和opencv-contrib-python/test_camera.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
ret, frame = cap.read()
2222
plt.imshow(cv2.cvtColor(frame, cv2.COLOR_BGR2RGB))
2323
plt.show()
24+
# plt.show(block=False)#可选
2425
plt.pause(0.1)
2526
# plt.show()

0 commit comments

Comments
(0)

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