motion-detect
Advanced tools
Comparing version
@@ -70,3 +70,2 @@ /** @const {Number} **/ | ||
MotionDetection.prototype.diff = function(img1, img2) { | ||
if (img1.length !== img2.length) return null; | ||
var i = 0; | ||
@@ -98,2 +97,2 @@ var changed = 0; | ||
return (value > minValue) ? 0xFF : 0; | ||
} | ||
} |
{ | ||
"name": "motion-detect", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "A node.js motion detection library that supports node.js streams", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12612
-0.37%