mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
OpenCV compiled with debug has a lot of assertions. There was some issues that came up when I ran the tests on that build.
6 lines
161 B
JavaScript
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]);
|