From e7e373307b62ab808d407515ca27e5701385aea2 Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Mon, 27 Feb 2012 11:15:01 +0000 Subject: [PATCH] added exports to the LineMod classes fixed compilation linemod sample on Windows --- modules/objdetect/include/opencv2/objdetect/objdetect.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index 9095191..364c38e 100644 --- a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp @@ -682,7 +682,7 @@ using cv::Size; /** * \brief Discriminant feature described by its location and label. */ -struct Feature +struct CV_EXPORTS Feature { int x; ///< x offset int y; ///< y offset @@ -695,7 +695,7 @@ struct Feature void write(FileStorage& fs) const; }; -struct Template +struct CV_EXPORTS Template { int width; int height; @@ -937,7 +937,7 @@ struct Match * \brief Object detector using the LINE template matching algorithm with any set of * modalities. */ -class Detector +class CV_EXPORTS Detector { public: /** @@ -1059,7 +1059,7 @@ protected: * * Default parameter settings suitable for VGA images. */ -Ptr getDefaultLINE(); +CV_EXPORTS Ptr getDefaultLINE(); /** * \brief Factory function for detector using LINE-MOD algorithm with color gradients @@ -1067,7 +1067,7 @@ Ptr getDefaultLINE(); * * Default parameter settings suitable for VGA images. */ -Ptr getDefaultLINEMOD(); +CV_EXPORTS Ptr getDefaultLINEMOD(); } // namespace linemod } // namespace cv -- 2.7.4