Spaces:
Sleeping
Sleeping
Update my_model/KBVQA.py
Browse files- my_model/KBVQA.py +0 -1
my_model/KBVQA.py
CHANGED
|
@@ -136,7 +136,6 @@ class KBVQA:
|
|
| 136 |
"""
|
| 137 |
|
| 138 |
image = self.detector.process_image(img)
|
| 139 |
-
st.write("thresh",self.detection_confidence, self.detection_model)
|
| 140 |
detected_objects_string, detected_objects_list = self.detector.detect_objects(image, threshold=self.detection_confidence)
|
| 141 |
image_with_boxes = self.detector.draw_boxes(img, detected_objects_list)
|
| 142 |
return image_with_boxes, detected_objects_string
|
|
|
|
| 136 |
"""
|
| 137 |
|
| 138 |
image = self.detector.process_image(img)
|
|
|
|
| 139 |
detected_objects_string, detected_objects_list = self.detector.detect_objects(image, threshold=self.detection_confidence)
|
| 140 |
image_with_boxes = self.detector.draw_boxes(img, detected_objects_list)
|
| 141 |
return image_with_boxes, detected_objects_string
|