读入图片
Mat img=imread("i000qa-fn.jpg",CV_LOAD_IMAGE_COLOR);
尝试寻找对象...
faces = cvHaarDetectObjects(img,cascade, storage, 1.2, 2, CV_HAAR_DO_CANNY_PRUNING, Size(0, 0));
和瓦拉...
OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file /media/Data/sdks/OpenCV-2.4.2/modules/core/src/array.cpp, line 2482
当我做 imshow 时,图像就在那里。