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:
...@@ -116,4 +119,6 @@ private: ...@@ -116,4 +119,6 @@ private:
Returns vector of distinct acf features 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);
\ No newline at end of file
#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:
...@@ -89,4 +92,6 @@ public: ...@@ -89,4 +92,6 @@ 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);
}; };
\ No newline at end of file
#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:
...@@ -119,4 +122,6 @@ private: ...@@ -119,4 +122,6 @@ private:
/* Save WaldBoost to FileStorage */ /* Save WaldBoost to FileStorage */
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);
\ No newline at end of file
#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