Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def get_rate(vid_in):
|
|
70 |
def load_video(vid):
|
71 |
new_video_in = str(vid)
|
72 |
capture = cv2.VideoCapture(new_video_in)
|
73 |
-
fps = capture.get(
|
74 |
print (f'FPS:: {fps}')
|
75 |
frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
|
76 |
capture.release()
|
|
|
70 |
def load_video(vid):
|
71 |
new_video_in = str(vid)
|
72 |
capture = cv2.VideoCapture(new_video_in)
|
73 |
+
fps = capture.get(cv2.CAP_PROP_FPS)
|
74 |
print (f'FPS:: {fps}')
|
75 |
frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
|
76 |
capture.release()
|