Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def process_video(video_path):
|
|
82 |
# You may choose to display each frame or compile them back using cv2 or a similar library
|
83 |
# Display the processed frames
|
84 |
for frame in processed_frames:
|
85 |
-
cv2.imshow(pil_to_cv2(frame))
|
86 |
if cv2.waitKey(25) & 0xFF == ord('q'):
|
87 |
break
|
88 |
cv2.destroyAllWindows()
|
|
|
82 |
# You may choose to display each frame or compile them back using cv2 or a similar library
|
83 |
# Display the processed frames
|
84 |
for frame in processed_frames:
|
85 |
+
cv2.imshow("Processed Frame", pil_to_cv2(frame))
|
86 |
if cv2.waitKey(25) & 0xFF == ord('q'):
|
87 |
break
|
88 |
cv2.destroyAllWindows()
|