Update index.js
Browse files
index.js
CHANGED
@@ -46,9 +46,11 @@ async function detect(img) {
|
|
46 |
threshold: 0.5,
|
47 |
percentage: true,
|
48 |
});
|
49 |
-
console.log(output);
|
50 |
status.textContent = '';
|
51 |
-
output.forEach(renderBox);
|
|
|
|
|
52 |
}
|
53 |
|
54 |
// Render a bounding box and label on the image
|
|
|
46 |
threshold: 0.5,
|
47 |
percentage: true,
|
48 |
});
|
49 |
+
//console.log(output);
|
50 |
status.textContent = '';
|
51 |
+
x = output.forEach(renderBox);
|
52 |
+
console.log(x);
|
53 |
+
x;
|
54 |
}
|
55 |
|
56 |
// Render a bounding box and label on the image
|