dev-logs

[OpenCV] no matching function for call to object of type 'cv::Mat' 본문

공부/에러해결

[OpenCV] no matching function for call to object of type 'cv::Mat'

두룹두두 2018. 4. 10. 20:03

@에러

error: no matching function for call to object of type 'cv::Mat'


라는 에러 메세지가 나왔습니다.


발생한 부분을 보니 


resize 함수입니다.



@해결

using namespace cv; 를 지우고

opencv 함수, 객체들에 cv::를 붙여줬더니 해결되었습니다.

다른 함수에서는 문제 없지만 resize 함수에서만 에러가 나는 것 같습니다.

Comments