diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index 055a44dc78..6f180422bb 100644 --- a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp @@ -623,14 +623,14 @@ protected: typedef unsigned char uint8; -class DataMatrixCode { +class CV_EXPORTS DataMatrixCode { public: char msg[4]; CvMat *original; CvMat *corners; }; #include -std::deque cvFindDataMatrix(CvMat *im); +CV_EXPORTS std::deque cvFindDataMatrix(CvMat *im); #endif