diff --git a/dist/static/assets/webcam.js b/dist/static/assets/webcam.js index 5e26e19a..d9029277 100644 --- a/dist/static/assets/webcam.js +++ b/dist/static/assets/webcam.js @@ -1,6 +1,6 @@ -console.log('p5 version:', p5); -console.log('ml5 version:', ml5); -console.log(location.origin); +// console.log('p5 version:', p5); +// console.log('ml5 version:', ml5); +// console.log(location.origin); let assets = {}; @@ -20,7 +20,7 @@ var draw = function () { try { drawMask(transformed); } catch (error) { - console.exception(error); + console.error(error); } pop(); @@ -146,7 +146,7 @@ function setup() { video = createCapture(constraints); lastFrame = createGraphics(video.width, video.height); - console.log(video); + // console.log(video); // HeadGazeSetup(video); // video.size(width, height); video.hide(); // Hide the video element, and just show the canvas @@ -169,7 +169,7 @@ var handleResults = function(){ gotResults = function(err, result) { if (err) { - console.log(err) + console.error(err) return } @@ -179,7 +179,7 @@ gotResults = function(err, result) { // size of video becomes known only after camera approval if(lastFrame.width != video.width || lastFrame.height != video.height){ - console.log('Resizing canvas'); + // console.log('Resizing canvas'); lastFrame.resizeCanvas(video.width, video.height); }