Spaces:
Runtime error
Runtime error
Create image_utils.py
Browse files- utils/image_utils.py +5 -0
utils/image_utils.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import cv2
|
2 |
+
import os
|
3 |
+
|
4 |
+
def save_frame(frame, path):
|
5 |
+
cv2.imwrite(path, frame)
|