node-opencv icon indicating copy to clipboard operation
node-opencv copied to clipboard

Installed on Windows... but won't run

Open endquote opened this issue 9 years ago • 1 comments

I was able to install via npm using the instructions on the npm page. However running the sample from there fails.

OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file C:\builds\2_4_PackSlave-win64-vc12-shared\opencv\modules\core\src\array.cpp, line 2482

python 2.7.11 npm 3.9.3 node 6.2.1 opencv 2.4.13 Windows 10, latest

I have some python opencv samples running ok on the same machine, so I know that part works.

endquote avatar Jun 13 '16 04:06 endquote

I got the same error. And when I run those in 'examples', all cv.readImage() will throw an error 'Img has no size.' I think maybe something went wrong with the function, but I have found many times ,I still didn't find where the function defined.

helianthuswhite avatar Jul 06 '16 08:07 helianthuswhite