Spaces:
Runtime error
Runtime error
Commit
•
953c6ae
1
Parent(s):
8042a06
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def video_processor(video):
|
|
36 |
# 创建一个VideoWriter对象,输出为mp4格式
|
37 |
fourcc = cv2.VideoWriter_fourcc(*'avc1')
|
38 |
out = cv2.VideoWriter(os.path.join(d,'output.mp4'), fourcc, fps, (width, height))
|
39 |
-
|
40 |
# 创建一个图形对象
|
41 |
fig, ax = plt.subplots(figsize=(3, 3))
|
42 |
|
|
|
36 |
# 创建一个VideoWriter对象,输出为mp4格式
|
37 |
fourcc = cv2.VideoWriter_fourcc(*'avc1')
|
38 |
out = cv2.VideoWriter(os.path.join(d,'output.mp4'), fourcc, fps, (width, height))
|
39 |
+
print(os.path.exists(os.path.join(d,'output.mp4')))
|
40 |
# 创建一个图形对象
|
41 |
fig, ax = plt.subplots(figsize=(3, 3))
|
42 |
|