Spaces:
Runtime error
Runtime error
fix
Browse files
app.py
CHANGED
@@ -78,6 +78,7 @@ def process_video(video, key_color):
|
|
78 |
os.makedirs(workspace, exist_ok=True)
|
79 |
os.makedirs(f"{workspace}/frames", exist_ok=True)
|
80 |
os.makedirs(f"{workspace}/result", exist_ok=True)
|
|
|
81 |
|
82 |
video_file = cv2.VideoCapture(video)
|
83 |
fps = video_file.get(cv2.CAP_PROP_FPS)
|
|
|
78 |
os.makedirs(workspace, exist_ok=True)
|
79 |
os.makedirs(f"{workspace}/frames", exist_ok=True)
|
80 |
os.makedirs(f"{workspace}/result", exist_ok=True)
|
81 |
+
os.makedirs("./video_result", exist_ok=True)
|
82 |
|
83 |
video_file = cv2.VideoCapture(video)
|
84 |
fps = video_file.get(cv2.CAP_PROP_FPS)
|