Mercurial Hosting > traffic-intelligence
view include/InputFrameProviderIface.h @ 648:da665302c88d
added some tutorial code as tests to avoid tutorial to become out of sync with code changes
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 15 Apr 2015 18:17:50 +0200 |
parents | b829ebdc18e6 |
children |
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 unsigned int& frameNumber) = 0; virtual const cv::Size& getSize() const = 0; }; #endif