Skip to content

Commit 2437e5f

Browse files
authored
Rearranged the code
1 parent 70ad5cb commit 2437e5f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

03-Open-Camera/cv2_exercise1.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import cv2
22

3-
43
def track_back(x):
5-
'''
64
### 回调函数,x表示滑块的位置
7-
'''
85
# 更改视频的帧位置
96
capture.set(cv2.CAP_PROP_POS_FRAMES, x)
107

0 commit comments

Comments
 (0)