Does anyone know what might be the problem:
cvSmooth(origImage, grayImage1, CV_BLUR,3);
I got an error:
error: cannot convert `cv::Mat' to `const CvArr*' for argument `1' to `void cvSmooth(const CvArr*, CvArr*, int, int, int, double, double)'
If I use:
cvtColor(origImage, grayImage, CV_BGR2GRAY);
Everything worked fine. capture is carried out from the laptop camera (in real time).
c ++ c opencv
thaking Mar 27 '11 at 2:44 p.m. 2011-03-27 14:44
source share