Mercurial Hosting > traffic-intelligence
view 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 source
#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