Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

How to overload a class

$
0
0
HI, I want to overload two methods (SimpleBlobDetectorImpl::detect and SimpleBlobDetectorImpl::findBlobs) and in the file features2d.hpp I have: CV_WRAP virtual void detect( InputArray image, CV_OUT std::vector& keypoints, InputArray mask=noArray() ); and virtual void detect( InputArrayOfArrays images, std::vector>& keypoints, InputArrayOfArrays masks=noArray() ); I add virtual void detect(InputArray image, float& maxDistance, CV_OUT std::vector& keypoints, InputArray mask = noArray()); I get this during compilation: Error C2857 '#include' statement specified with the /YcE:/OpenCV/intatto/opencv-master/modules/features2d/src/precomp.hpp command-line option was not found in the source file opencv_features2d_object E:\OpenCV\intatto\build\modules\features2d\opencv_features2d_pch.cpp Can someone help? Thanks.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>