summaryrefslogtreecommitdiff
path: root/steer_accumulator.h
diff options
context:
space:
mode:
authorFlorian Jung <florian.a.jung@web.de>2012-12-03 21:01:01 +0100
committerFlorian Jung <florian.a.jung@web.de>2012-12-03 21:01:01 +0100
commit6175f64926b52b4d35379d4cc872b7c4cee7dd98 (patch)
tree171044422e8d8248e7f4860a806d0649d9f7a36f /steer_accumulator.h
parent2b023e3bb1176e24d722ec0943b14864f5a70205 (diff)
anfänge der steerer-klassen
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