Xenova HF staff commited on
Commit
9bed776
1 Parent(s): f3a055f

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -58,7 +58,7 @@ async function detect(img) {
58
 
59
  // Render a bounding box and label on the image
60
  function renderBox([xmin, ymin, xmax, ymax, score, id]) {
61
- console.log([xmin, ymin, xmax, ymax, score, label])
62
  // Generate a random color for the box
63
  const color = '#' + Math.floor(Math.random() * 0xFFFFFF).toString(16).padStart(6, 0);
64
 
 
58
 
59
  // Render a bounding box and label on the image
60
  function renderBox([xmin, ymin, xmax, ymax, score, id]) {
61
+ console.log([xmin, ymin, xmax, ymax, score, id])
62
  // Generate a random color for the box
63
  const color = '#' + Math.floor(Math.random() * 0xFFFFFF).toString(16).padStart(6, 0);
64