Update app.py
Browse files
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
|
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 |
|