Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
|
@@ -62,7 +62,6 @@ async function detect(img) {
|
|
| 62 |
|
| 63 |
// Render a bounding box and label on the image
|
| 64 |
function renderBox([xmin, ymin, xmax, ymax, score, id]) {
|
| 65 |
-
console.log([xmin, ymin, xmax, ymax, score, id])
|
| 66 |
// Generate a random color for the box
|
| 67 |
const color = '#' + Math.floor(Math.random() * 0xFFFFFF).toString(16).padStart(6, 0);
|
| 68 |
|
|
|
|
| 62 |
|
| 63 |
// Render a bounding box and label on the image
|
| 64 |
function renderBox([xmin, ymin, xmax, ymax, score, id]) {
|
|
|
|
| 65 |
// Generate a random color for the box
|
| 66 |
const color = '#' + Math.floor(Math.random() * 0xFFFFFF).toString(16).padStart(6, 0);
|
| 67 |
|