fix error with transformDetection() call
This commit is contained in:
parent
d589e37a4e
commit
c1f22570e8
1 changed files with 1 additions and 1 deletions
2
dist/static/assets/webcam.js
vendored
2
dist/static/assets/webcam.js
vendored
|
@ -12,7 +12,7 @@ var draw = function () {
|
|||
|
||||
for(let detection of detections) {
|
||||
push();
|
||||
let transformed = transformDetection(detection, cx, cy, angle);
|
||||
let transformed = transformDetection(detection);
|
||||
|
||||
translate(transformed.origin.x, transformed.origin.y);
|
||||
rotate(transformed.angle);
|
||||
|
|
Loading…
Reference in a new issue