diff include/InputFrameProviderIface.h @ 399:c389fae9689a

Added a class to read list of image instead of video. This is controlled by the use of the database-filename and folder-data parameters in the config file.
author Jean-Philippe Jodoin <jpjodoin@gmail.com>
date Mon, 29 Jul 2013 17:12:45 -0400
parents
children 7ef1071e3cc3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/InputFrameProviderIface.h	Mon Jul 29 17:12:45 2013 -0400
@@ -0,0 +1,23 @@
+#ifndef INPUT_FRAME_PROVIDER_IFACE_H
+#define INPUT_FRAME_PROVIDER_IFACE_H
+
+#include "opencv2/core/core.hpp"
+#include <string>
+
+
+class InputFrameProviderIface
+{
+public: 
+	
+	virtual ~InputFrameProviderIface(){}
+	virtual bool getNextFrame(cv::Mat&)=0;
+	virtual unsigned int getNbFrames() = 0;	
+	virtual bool isOpen() const = 0;
+	virtual const cv::Size& getSize() const = 0;
+
+
+
+};
+
+
+#endif
\ No newline at end of file