Spaces:
Sleeping
Sleeping
Commit
·
1a9225c
1
Parent(s):
8686125
Update main.py
Browse files
main.py
CHANGED
@@ -54,6 +54,7 @@ def video_feed():
|
|
54 |
|
55 |
try:
|
56 |
video_bytes = video_file.read()
|
|
|
57 |
video_np = np.frombuffer(video_bytes, dtype=np.uint8)
|
58 |
vidcap = cv2.imdecode(video_np, cv2.IMREAD_COLOR)
|
59 |
except Exception as e:
|
|
|
54 |
|
55 |
try:
|
56 |
video_bytes = video_file.read()
|
57 |
+
print(video_bytes[:10])
|
58 |
video_np = np.frombuffer(video_bytes, dtype=np.uint8)
|
59 |
vidcap = cv2.imdecode(video_np, cv2.IMREAD_COLOR)
|
60 |
except Exception as e:
|