fix error with transformDetection() call
This commit is contained in:
parent
d163e2a83a
commit
baf1e0bc03
1 changed files with 1 additions and 1 deletions
2
dist/static/assets/webcam.js
vendored
2
dist/static/assets/webcam.js
vendored
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue