Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ object_detector = pipeline("object-detection",
|
|
15 |
# model=model_path)
|
16 |
|
17 |
|
18 |
-
def draw_bounding_boxes(image, detections, font_path=None, font_size=
|
19 |
# Make a copy of the image to draw on
|
20 |
draw_image = image.copy()
|
21 |
draw = ImageDraw.Draw(draw_image)
|
|
|
15 |
# model=model_path)
|
16 |
|
17 |
|
18 |
+
def draw_bounding_boxes(image, detections, font_path=None, font_size=300):
|
19 |
# Make a copy of the image to draw on
|
20 |
draw_image = image.copy()
|
21 |
draw = ImageDraw.Draw(draw_image)
|