Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def fn_video(video_file, conf_thres, iou_thres, start_sec, duration):
|
|
| 45 |
except Exception as e:
|
| 46 |
print(e)
|
| 47 |
continue
|
| 48 |
-
|
| 49 |
out.write(pipeline(frame, conf_thres, iou_thres))
|
| 50 |
num_frames += 1
|
| 51 |
print("Processed {} frames".format(num_frames))
|
|
|
|
| 45 |
except Exception as e:
|
| 46 |
print(e)
|
| 47 |
continue
|
| 48 |
+
print("FRAME DTYPE", type(frame))
|
| 49 |
out.write(pipeline(frame, conf_thres, iou_thres))
|
| 50 |
num_frames += 1
|
| 51 |
print("Processed {} frames".format(num_frames))
|