Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Bad argument (Array should be CvMat or IplImage) in unknown function

Bad argument (Array should be CvMat or IplImage) in unknown function

Bad argument (Array should be CvMat or IplImage) in unknown function

when i run the code it gives this error :OpenCV Error: Bad argument (Array should be CvMat or IplImage) in unknown functionfunction, file ......\src\opencv\modules\core\src\array.cpp, line 1238 Exception in thread "main" java.lang.RuntimeException: ......\src\opencv\modules\core\src\array.cpp:1238: error: (-5) Array should be CvMat or IplImage

at com.googlecode.javacv.cpp.opencv_core.cvGetSize(Native Method)

what is the sollution for this error?and i am trying to use javacv