Esse commit está contido em:
Peter Braden
2012-01-27 11:33:08 -08:00
commit bc91847c78
2 arquivos alterados com 10 adições e 2 exclusões
+9
Ver Arquivo
@@ -71,6 +71,15 @@ If you need to pipe data into an image, you can use an imagestream:
fs.createReadStream('./examples/test.jpg').pipe(s);
#### Accessors
var mat = new cv.Matrix.Eye(4,4); // Create identity matrix
mat.get(0,0) // 1
mat.row(0) // [1,0,0,0]
mat.col(4) // [0,0,0,1]
#### Image Processing
+1 -2
Ver Arquivo
@@ -16,8 +16,7 @@ im.calcHistograms(mask, function(err, hist){})
cv.loadImage('test.jpg', function(err, im){
im.detectObject("front-face.xml", {}, function(err, faces){ // <--- Rename faceDetect to detectObject - it's generic
im.detectObject("front-face.xml", {}, function(err, faces){
_.each(faces, function(v){
// TODO {