mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 19:44:14 +08:00
tracking: make opencv_dnn dependancy optional
This commit is contained in:
@@ -234,6 +234,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
|
||||
#else // ! HAVE_OPENCV_DATASETS
|
||||
#include <opencv2/core.hpp>
|
||||
int main() {
|
||||
CV_Error(cv::Error::StsNotImplemented , "this sample needs to be built with opencv_datasets !");
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user