Dan Schultzer 6ca8a35338 Fix issues that came up with debug opencv
OpenCV compiled with debug has a lot of assertions. There was some issues that came up when I ran the tests on that build.
2016-09-22 11:23:51 -07:00

6 lines
161 B
JavaScript

var cv = require('../lib/opencv');
var mat = new cv.Matrix(1, 2, cv.Constants.CV_8UC3, [1]);
var row = mat.pixelRow(0);
console.log("mat: " + row[0] + row[1]);