diff --git a/modules/adas/include/acffeature.hpp b/modules/adas/include/acffeature.hpp index b9d6ca27e..eba3ca165 100644 --- a/modules/adas/include/acffeature.hpp +++ b/modules/adas/include/acffeature.hpp @@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage. */ +#ifndef __OPENCV_ADAS_ACFFEATURE_HPP__ +#define __OPENCV_ADAS_ACFFEATURE_HPP__ + class ACFFeature { public: @@ -116,4 +119,6 @@ private: Returns vector of distinct acf features */ std::vector -generateFeatures(Size window_size, size_t count = UINT_MAX, int seed = 0); \ No newline at end of file +generateFeatures(Size window_size, size_t count = UINT_MAX, int seed = 0); + +#endif /* __OPENCV_ADAS_ACFFEATURE_HPP__ */ diff --git a/modules/adas/include/icfdetector.hpp b/modules/adas/include/icfdetector.hpp index b8a51b4c0..02e538573 100644 --- a/modules/adas/include/icfdetector.hpp +++ b/modules/adas/include/icfdetector.hpp @@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage. */ +#ifndef __OPENCV_ADAS_ICFDETECTOR_HPP__ +#define __OPENCV_ADAS_ICFDETECTOR_HPP__ + class ICFDetector { public: @@ -89,4 +92,6 @@ public: /* Save detector in file, return true on success, false otherwise */ bool save(const std::string& filename); -}; \ No newline at end of file +}; + +#endif /* __OPENCV_ADAS_ICFDETECTOR_HPP__ */ diff --git a/modules/adas/include/waldboost.hpp b/modules/adas/include/waldboost.hpp index b671e2f28..3e7eaf6ef 100644 --- a/modules/adas/include/waldboost.hpp +++ b/modules/adas/include/waldboost.hpp @@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage. */ +#ifndef __OPENCV_ADAS_WALDBOOST_HPP__ +#define __OPENCV_ADAS_WALDBOOST_HPP__ + class Stump { public: @@ -119,4 +122,6 @@ private: /* Save WaldBoost to FileStorage */ cv::FileStorage& operator<< (cv::FileStorage& out, const WaldBoost& classifier); /* Load WaldBoost from FileStorage */ -cv::FileStorage& operator>> (cv::FileStorage& in, WaldBoost& classifier); \ No newline at end of file +cv::FileStorage& operator>> (cv::FileStorage& in, WaldBoost& classifier); + +#endif /* __OPENCV_ADAS_WALDBOOST_HPP__ */