Mercurial Hosting > traffic-intelligence
view include/InputFrameProviderIface.h @ 619:dc2d0a0d7fe1
merged code from Mohamed Gomaa Mohamed for the use of points of interests in mation pattern learning and motion prediction (TRB 2015)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 10 Dec 2014 15:27:08 -0500 |
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