Commit c8938d8d authored by Vlad Shakhuro's avatar Vlad Shakhuro

Add define guards

parent 4a3ab904
...@@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage. ...@@ -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 class ACFFeature
{ {
public: public:
...@@ -117,3 +120,5 @@ Returns vector of distinct acf features ...@@ -117,3 +120,5 @@ Returns vector of distinct acf features
*/ */
std::vector<ACFFeature> std::vector<ACFFeature>
generateFeatures(Size window_size, size_t count = UINT_MAX, int seed = 0); generateFeatures(Size window_size, size_t count = UINT_MAX, int seed = 0);
#endif /* __OPENCV_ADAS_ACFFEATURE_HPP__ */
...@@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage. ...@@ -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 class ICFDetector
{ {
public: public:
...@@ -90,3 +93,5 @@ public: ...@@ -90,3 +93,5 @@ public:
/* Save detector in file, return true on success, false otherwise */ /* Save detector in file, return true on success, false otherwise */
bool save(const std::string& filename); bool save(const std::string& filename);
}; };
#endif /* __OPENCV_ADAS_ICFDETECTOR_HPP__ */
...@@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage. ...@@ -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 class Stump
{ {
public: public:
...@@ -120,3 +123,5 @@ private: ...@@ -120,3 +123,5 @@ private:
cv::FileStorage& operator<< (cv::FileStorage& out, const WaldBoost& classifier); cv::FileStorage& operator<< (cv::FileStorage& out, const WaldBoost& classifier);
/* Load WaldBoost from FileStorage */ /* Load WaldBoost from FileStorage */
cv::FileStorage& operator>> (cv::FileStorage& in, WaldBoost& classifier); cv::FileStorage& operator>> (cv::FileStorage& in, WaldBoost& classifier);
#endif /* __OPENCV_ADAS_WALDBOOST_HPP__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment