ofxKinectInpainter
ofxKinectInpainter copied to clipboard
are you using the version of opencv bundled with OF 0071?
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)'
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);