Aquibjaved commited on
Commit
9352233
·
verified ·
1 Parent(s): 479b076

Update ProcessVideo.py

Browse files
Files changed (1) hide show
  1. 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
- # Add label to the frame in the center
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