Spaces:
Running
Running
Tobias Cornille
commited on
Commit
·
fd476e3
1
Parent(s):
dab9cb2
Update index.js
Browse files
index.js
CHANGED
@@ -45,6 +45,7 @@ async function detect(img) {
|
|
45 |
|
46 |
const candidate_labels = ['human face', 'rocket', 'helmet', 'american flag'];
|
47 |
const output = await detector(img, candidate_labels, { percentage: true });
|
|
|
48 |
status.textContent = '';
|
49 |
output.forEach(renderBox);
|
50 |
|
|
|
45 |
|
46 |
const candidate_labels = ['human face', 'rocket', 'helmet', 'american flag'];
|
47 |
const output = await detector(img, candidate_labels, { percentage: true });
|
48 |
+
console.warn(output);
|
49 |
status.textContent = '';
|
50 |
output.forEach(renderBox);
|
51 |
|