diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index 7db64b602b..735fd35fcf 100644 --- a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp @@ -628,7 +628,7 @@ public: double groupEps; }; - struct DOTTemplate + struct CV_EXPORTS DOTTemplate { DOTTemplate(); DOTTemplate( const cv::Mat& quantizedImage, int classID,