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 c75b240

Browse files
committed
two_camera 3
1 parent f3956ec commit c75b240

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎ch05-视频/5.VideoCapture.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949

5050
# Display the resulting frame
5151
cv2.imshow('frame', gray)
52+
53+
# Property=cv2.getWindowProperty('frame',0)#无用
54+
5255
# if cv2.waitKey(1) & 0xFF == ord('q'):#不行
5356
# break
5457
key = cv2.waitKey(delay=1)

‎ch05-视频/two_camera.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
if ret1:
2828
cv2.imshow('frame1', frame1)
2929
# cv2.moveWindow('frame1', x=frame0.shape[1], y=0)
30-
cv2.moveWindow('frame1', x=240, y=0)
30+
cv2.moveWindow('frame1', x=320, y=10)
3131

3232
key = cv2.waitKey(delay=2)
3333
if key == ord("q"):

0 commit comments

Comments
(0)

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