fix error with transformDetection() call

This commit is contained in:
Ruben van de Ven 2020-09-25 18:56:29 +02:00
parent d589e37a4e
commit c1f22570e8

View file

@ -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);