fix error with transformDetection() call

This commit is contained in:
Ruben van de Ven 2020-09-25 18:58:23 +02:00
parent d163e2a83a
commit baf1e0bc03
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ function transformDetection(original) {
original: original
}
let bbox = getBoundingBox(points);
let bbox = getBoundingBox(detection.points);
padding_x = bbox.width * .1;
padding_y = bbox.height * .1;