Kunal7 commited on
Commit
f10b2b3
·
1 Parent(s): 2ee1668

Update pages/2_ ⬆️_Upload_Video.py

Browse files
Files changed (1) hide show
  1. pages/2_ ⬆️_Upload_Video.py +3 -3
pages/2_ ⬆️_Upload_Video.py CHANGED
@@ -87,9 +87,9 @@ if up_file and uploaded:
87
 
88
  # convert frame from BGR to RGB before processing it.
89
  frame_rgb = frame.to_ndarray(format="rgb24")
90
- # out_frame, _ = upload_process_frame.process(frame_rgb, pose)
91
- stframe.image(frame_rgb)
92
- video_output.write(frame_rgb[...,::-1])
93
 
94
 
95
  vf.release()
 
87
 
88
  # convert frame from BGR to RGB before processing it.
89
  frame_rgb = frame.to_ndarray(format="rgb24")
90
+ out_frame, _ = upload_process_frame.process(frame_rgb, pose)
91
+ stframe.image(out_frame)
92
+ video_output.write(out_frame[...,::-1])
93
 
94
 
95
  vf.release()