diff --git a/include/opencv2/opencv.hpp b/include/opencv2/opencv.hpp index 532d7a32d6..40481587f0 100644 --- a/include/opencv2/opencv.hpp +++ b/include/opencv2/opencv.hpp @@ -58,6 +58,9 @@ #ifdef HAVE_OPENCV_FEATURES2D #include "opencv2/features2d.hpp" #endif +#ifdef HAVE_OPENCV_DNN +#include "opencv2/dnn.hpp" +#endif #ifdef HAVE_OPENCV_FLANN #include "opencv2/flann.hpp" #endif