mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
continue fixing nonfree elements
fixed dependency of stitching module on xfeatures2d module as optional fixed the initModule_xfeatures2d function that was called in module stitching since it is in another namespace than the standard cv one.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
SET(OPENCV_CPP_SAMPLES_REQUIRED_DEPS opencv_core opencv_imgproc opencv_flann
|
||||
opencv_imgcodecs opencv_videoio opencv_highgui opencv_ml opencv_video
|
||||
opencv_objdetect opencv_photo opencv_features2d opencv_calib3d
|
||||
opencv_stitching opencv_videostab opencv_shape)
|
||||
opencv_stitching opencv_videostab opencv_shape opencv_xfeatures2d)
|
||||
|
||||
ocv_check_dependencies(${OPENCV_CPP_SAMPLES_REQUIRED_DEPS})
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cerr << "OpenCV was built without nonfree module" << std::endl;
|
||||
std::cerr << "OpenCV was built without xfeatures2d module" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user