Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -56,7 +56,6 @@ async function detect(img) {
|
|
56 |
renderBox(xmin, ymin, xmax, ymax, score, model.config.id2label[id]);
|
57 |
}
|
58 |
status.textContent = '';
|
59 |
-
output.forEach(renderBox);
|
60 |
}
|
61 |
|
62 |
// Render a bounding box and label on the image
|
|
|
56 |
renderBox(xmin, ymin, xmax, ymax, score, model.config.id2label[id]);
|
57 |
}
|
58 |
status.textContent = '';
|
|
|
59 |
}
|
60 |
|
61 |
// Render a bounding box and label on the image
|