diff --git a/lib/opencv.js b/lib/opencv.js index 8007e61..6184fbe 100755 --- a/lib/opencv.js +++ b/lib/opencv.js @@ -74,7 +74,7 @@ var getBufferMethodName = function(bytes, dataType, endianness, read){ } else if(bytes === 16){ fnName += (dataType === "U" ? "U" : "")+"Int16"+endianness; } else { - throw("This matrix type ( CV_"+bytes+dataType+") is not compatible with fromArray, you can implement if you need it") + throw("This matrix type (CV_"+bytes+dataType+") is not compatible with fromArray/toArray") } return fnName; }; diff --git a/src/Matrix.cc b/src/Matrix.cc index 586f43d..8d6e9a7 100755 --- a/src/Matrix.cc +++ b/src/Matrix.cc @@ -1937,8 +1937,6 @@ NAN_METHOD(Matrix::WarpAffine) { int dstCols = info[2]->IsUndefined() ? self->mat.cols : info[2]->Uint32Value(); cv::Size resSize = cv::Size(dstRows, dstCols); - printf("dstRows %i", dstRows); - cv::warpAffine(self->mat, res, rotMatrix->mat, resSize); ~self->mat; self->mat = res;