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.
*/
#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<ACFFeature>
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__ */
......@@ -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__ */
......@@ -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__ */
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