computer vision - Help in using OpenCV - Errors of type: identifier not found -
am beginner opencv , have gone far work out hello world samples, inverting, color conversion(rgb->greyscale ) etc programs working. stuck @ programs use cvcanny, cvpyr , other such feature detectors.would thankful if tiny prblem sorted out .
i error: error c3861: 'cvpyrdown': identifier not found error c3861: 'cvcanny': identifier not found
i've included imgproc , features2d headers yet problem persists. missing out ?
do have "additional input directories" property set correctly?
mine, configured cmake, looks this:
c:/opencv-2.2.0/release c:/opencv-2.2.0/include c:/opencv-2.2.0/include/opencv c:/opencv-2.2.0/modules/core/include c:/opencv-2.2.0/modules/imgproc/include c:/opencv-2.2.0/modules/features2d/include c:/opencv-2.2.0/modules/gpu/include c:/opencv-2.2.0/modules/calib3d/include c:/opencv-2.2.0/modules/objdetect/include c:/opencv-2.2.0/modules/video/include c:/opencv-2.2.0/modules/highgui/include c:/opencv-2.2.0/modules/ml/include c:/opencv-2.2.0/modules/legacy/include c:/opencv-2.2.0/modules/contrib/include c:/opencv-2.2.0/modules/flann/include
btw. cmake nice tool if dealing libraries contains many include files, line opencv.
you can check 2 other things:
- after compiling opencv2.2 sources, did built "install" project in opencv vs solution?
if using c++ headers, might prefer c++ version of functions, in cv namespace:
cv::canny(...)
Comments
Post a Comment