Mercurial > hg > nsaunier > traffic-intelligence
view include/InputFrameProviderIface.h @ 400:7ef1071e3cc3
clean up of input classes for list of images and video files
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Mon, 29 Jul 2013 18:06:55 -0400 |
| parents | c389fae9689a |
| children | b829ebdc18e6 |
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 void setFrameNumber(const int& frameNumber) = 0; virtual const cv::Size& getSize() const = 0; }; #endif
