Skip to content

Commit

Permalink
readd cascadetests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbraden committed Jan 24, 2012
1 parent bf3b39b commit 473b3be
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/smoke.js
Expand Up @@ -102,6 +102,7 @@ vows.describe('Smoke Tests OpenCV').addBatch({
//assert.equal(buf.toString('base64'), buf0.toString('base64'));
}


}


Expand All @@ -127,7 +128,7 @@ vows.describe('Smoke Tests OpenCV').addBatch({

}

/*

, "CascadeClassifier": {
topic : require('../lib/opencv')

Expand All @@ -138,7 +139,7 @@ vows.describe('Smoke Tests OpenCV').addBatch({
, "face detection": {
topic : function(){
var cv = require('../lib/opencv')
, im = new cv.Image("./examples/mona.jpg")
, im = cv.readImage("./examples/mona.jpg")
, cascade = new cv.CascadeClassifier("./examples/haarcascade_frontalface_alt.xml");

cascade.detectMultiScale(im, this.callback, 1.1, 2, [30, 30]);
Expand All @@ -153,5 +154,5 @@ vows.describe('Smoke Tests OpenCV').addBatch({
}

}
*/

}).run();

0 comments on commit 473b3be

Please sign in to comment.