Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,6 @@ def draw_bounding_boxes(image, detections):
|
|
| 25 |
|
| 26 |
|
| 27 |
def detect_object(image):
|
| 28 |
-
raw_image = Image.open(image)
|
| 29 |
output = object_detector(raw_image)
|
| 30 |
processed_image = draw_bounding_boxes(raw_image, output)
|
| 31 |
return processed_image
|
|
|
|
| 25 |
|
| 26 |
|
| 27 |
def detect_object(image):
|
|
|
|
| 28 |
output = object_detector(raw_image)
|
| 29 |
processed_image = draw_bounding_boxes(raw_image, output)
|
| 30 |
return processed_image
|