From 4ca165635ed2ca2ea08f7a2f5379db82c675dc8f Mon Sep 17 00:00:00 2001 From: Peter Braden Date: Tue, 26 Feb 2013 16:51:45 -0800 Subject: [PATCH] provide image to event --- lib/opencv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/opencv.js b/lib/opencv.js index 9f2a91f3..7e381d22 100755 --- a/lib/opencv.js +++ b/lib/opencv.js @@ -98,7 +98,7 @@ ods.write = function(m){ this.classifier.detectMultiScale(m, function(e, objs){ if (e) { throw e } - self.emit('data', objs); + self.emit('data', objs, m); } , this.opts.scale, this.opts.neighbors , this.opts.min && this.opts.min[0], this.opts.min && this.opts.min[1]);