Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ result_queue = queue.Queue()
|
|
66 |
#####FromHERE CHANGE
|
67 |
# Function to process video frame callback
|
68 |
# Function to process video frame callback
|
69 |
-
def video_frame_callback(frame
|
70 |
# Process the frame asynchronously
|
71 |
output_text = process_video_frame(frame, detector, segmentor, imgList, indexImg, keys, st.session_state)
|
72 |
# Put the processed output text into the queue
|
|
|
66 |
#####FromHERE CHANGE
|
67 |
# Function to process video frame callback
|
68 |
# Function to process video frame callback
|
69 |
+
def video_frame_callback(frame)
|
70 |
# Process the frame asynchronously
|
71 |
output_text = process_video_frame(frame, detector, segmentor, imgList, indexImg, keys, st.session_state)
|
72 |
# Put the processed output text into the queue
|