mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
provide image to event
This commit is contained in:
parent
24f255a161
commit
4ca165635e
@ -98,7 +98,7 @@ ods.write = function(m){
|
|||||||
this.classifier.detectMultiScale(m,
|
this.classifier.detectMultiScale(m,
|
||||||
function(e, objs){
|
function(e, objs){
|
||||||
if (e) { throw e }
|
if (e) { throw e }
|
||||||
self.emit('data', objs);
|
self.emit('data', objs, m);
|
||||||
}
|
}
|
||||||
, this.opts.scale, this.opts.neighbors
|
, this.opts.scale, this.opts.neighbors
|
||||||
, this.opts.min && this.opts.min[0], this.opts.min && this.opts.min[1]);
|
, this.opts.min && this.opts.min[0], this.opts.min && this.opts.min[1]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user