From c1f22570e85105c465bc034bf0cee8fddc933d68 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Fri, 25 Sep 2020 18:56:29 +0200 Subject: [PATCH] fix error with transformDetection() call --- dist/static/assets/webcam.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/static/assets/webcam.js b/dist/static/assets/webcam.js index 37443805..af46a672 100644 --- a/dist/static/assets/webcam.js +++ b/dist/static/assets/webcam.js @@ -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);