Spaces:
Sleeping
Sleeping
Update ProcessVideo.py
Browse files- ProcessVideo.py +1 -3
ProcessVideo.py
CHANGED
@@ -47,9 +47,7 @@ def process_video(video_path):
|
|
47 |
break
|
48 |
|
49 |
frame = all_frames[frame_idx]
|
50 |
-
|
51 |
-
cv2.putText(frame, label, (100,100), cv2.FONT_HERSHEY_SIMPLEX, font_scale, color, thickness)
|
52 |
-
|
53 |
out.write(frame)
|
54 |
frame_idx += 1
|
55 |
|
|
|
47 |
break
|
48 |
|
49 |
frame = all_frames[frame_idx]
|
50 |
+
cv2.putText(frame, label, (50, 50), cv2.FONT_HERSHEY_SIMPLEX, 1, color, 2)
|
|
|
|
|
51 |
out.write(frame)
|
52 |
frame_idx += 1
|
53 |
|