summaryrefslogtreecommitdiff
path: root/steer_accumulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'steer_accumulator.h')
-rw-r--r--steer_accumulator.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/steer_accumulator.h b/steer_accumulator.h
new file mode 100644
index 0000000..b99602d
--- /dev/null
+++ b/steer_accumulator.h
@@ -0,0 +1,26 @@
+#ifndef __STEER_ACCUMULATOR_H__
+#define __STEER_ACCUMULATOR_H__
+
+#include <opencv2/opencv.hpp>
+#include "steer_interface.h"
+#include <list>
+
+using namespace cv;
+
+
+class SteerAccumulator : SteerIface
+{
+ public:
+ virtual ~SteerAccumulator() {};
+
+ void add_steerer(SteerIface* steerer);
+
+ virtual void process_image(const Mat& img);
+ virtual double get_steer_data();
+ virtual double get_confidence();
+
+ private:
+ std::list<SteerIface*> steerers;
+};
+
+#endif