Spaces:
Runtime error
Runtime error
Commit
•
e253134
1
Parent(s):
c534abe
Update app.py
Browse files
app.py
CHANGED
@@ -57,6 +57,7 @@ def detect_object(IMAGE_PATH):
|
|
57 |
st.write("Object Detected Image is")
|
58 |
st.image(fig1)
|
59 |
#img_array = img_to_array(img)
|
|
|
60 |
def show_image(image, boxes, labels=None):
|
61 |
"""Show the image along with the specified boxes around detected objects.
|
62 |
Also displays each box's label if a list of labels is provided.
|
|
|
57 |
st.write("Object Detected Image is")
|
58 |
st.image(fig1)
|
59 |
#img_array = img_to_array(img)
|
60 |
+
|
61 |
def show_image(image, boxes, labels=None):
|
62 |
"""Show the image along with the specified boxes around detected objects.
|
63 |
Also displays each box's label if a list of labels is provided.
|