Pratyush101 commited on
Commit
2a5dacb
·
verified ·
1 Parent(s): 4600684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ imgList = [cv2.imread(f'model/street/{imgPath}') for imgPath in listImg]
89
  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")
 
89
  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")