ofxKinectInpainter icon indicating copy to clipboard operation
ofxKinectInpainter copied to clipboard

are you using the version of opencv bundled with OF 0071?

Open jvcleave opened this issue 13 years ago • 1 comments

Hey Marek, I get the below error with the example - any ideas?

ofxKinectInpainter.cpp:39: error: invalid initialization of reference of type 'const cv::_InputArray&' from expression of type 'IplImage*'

edit: - second part

../../../addons/ofxOpenCv/libs/opencv/include/opencv2/imgproc/imgproc.hpp:744:0 ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/imgproc/imgproc.hpp:744: error: in passing argument 1 of 'void cv::inpaint(const cv::_InputArray&, const cv::_InputArray&, const cv::_OutputArray&, double, int)'

jvcleave avatar Sep 19 '12 02:09 jvcleave

this seems to allow it to compile - haven't actually used it yet

cv::inpaint((const cv::_InputArray)scaled.getCvImage(), (const cv::_InputArray) scaledMask.getCvImage(), imgg, inpaintRadius, cv::INPAINT_NS);

jvcleave avatar Sep 19 '12 03:09 jvcleave