09 · Bonus: images · 3 / 6box: four numbers
box("eye") · from 0 to 1, from the top-left corner
top 0.37
bottom 0.46
left 0.48
right 0.56
What Jev returns
answers.where = {
box: {
top: 0.37, // of the height
bottom: 0.46,
left: 0.48, // of the width
right: 0.56,
},
confidence: 0.72,
}
In the page: × 100, and it's CSS
top: 37%; left: 48%;
width: 8%; /* right − left */
height: 9%; /* bottom − top */
Not pixels: fractions of the image. Any size works.