freealise commited on
Commit
6f829cf
1 Parent(s): c50ba42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -42,9 +42,9 @@ def get_frames(video_in, step, name):
42
  frames = []
43
  #resize the video
44
  clip = cv2.VideoCapture(video_in)
45
- cframes = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
46
- cfps = int(cap.get(cv2.CAP_PROP_FPS))
47
- print(f'Checking Video {count} Frames {cframes} fps: {cfps}')
48
 
49
  #clip = VideoFileClip(video_in)
50
 
 
42
  frames = []
43
  #resize the video
44
  clip = cv2.VideoCapture(video_in)
45
+ cframes = int(clip.get(cv2.CAP_PROP_FRAME_COUNT))
46
+ cfps = int(clip.get(cv2.CAP_PROP_FPS))
47
+ print(f'Frames {cframes} fps: {cfps}')
48
 
49
  #clip = VideoFileClip(video_in)
50