Pratyush101 commited on
Commit
9289f95
·
verified ·
1 Parent(s): 48723b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ indexImg = 0
90
 
91
 
92
  # Function to process the video frame from the webcam
93
- def process_video_frame(frame: av.VideoFrame, detector, segmentor, imgList, indexImg, keys, session_state)-> av.VideoFrame:
94
  # Convert the frame to a numpy array (BGR format)
95
  image = frame.to_ndarray(format="bgr24")
96
 
 
90
 
91
 
92
  # Function to process the video frame from the webcam
93
+ def process_video_frame(frame, detector, segmentor, imgList, indexImg, keys, session_state):
94
  # Convert the frame to a numpy array (BGR format)
95
  image = frame.to_ndarray(format="bgr24")
96