Update my_model/KBVQA.py
Browse files- my_model/KBVQA.py +1 -1
my_model/KBVQA.py
CHANGED
@@ -134,7 +134,7 @@ class KBVQA:
|
|
134 |
Returns:
|
135 |
tuple: A tuple containing the image with detected objects drawn and a string representation of detected objects.
|
136 |
"""
|
137 |
-
|
138 |
image = self.detector.process_image(img)
|
139 |
detected_objects_string, detected_objects_list = self.detector.detect_objects(image, threshold=st.session_state['confidence_level'])
|
140 |
image_with_boxes = self.detector.draw_boxes(img, detected_objects_list)
|
|
|
134 |
Returns:
|
135 |
tuple: A tuple containing the image with detected objects drawn and a string representation of detected objects.
|
136 |
"""
|
137 |
+
|
138 |
image = self.detector.process_image(img)
|
139 |
detected_objects_string, detected_objects_list = self.detector.detect_objects(image, threshold=st.session_state['confidence_level'])
|
140 |
image_with_boxes = self.detector.draw_boxes(img, detected_objects_list)
|