diff --git a/modules/image/motion detect b/modules/image/motion detect index 604e9b9ced7a69645d0c9bb659b1b5a045f6ddae..5d9998c68b3b7c8bb4b7d3688d9b95edda05bf42 100755 --- a/modules/image/motion detect +++ b/modules/image/motion detect @@ -179,9 +179,6 @@ function compare_images() { var ctx = mod.lastimg.getContext("2d") var lastimg = ctx.getImageData(0,0,mod.img.width,mod.img.height) var t = parseFloat(mod.threshold.value) - // - // transfer? - // webworker.postMessage({ height:mod.img.height,width:mod.img.width,threshold:t, buffer:img.data.buffer,lastbuffer:lastimg.data.buffer})