Mercurial > hg > nsaunier > traffic-intelligence
comparison include/InputFrameProviderIface.h @ 614:5e09583275a4
Merged Nicolas/trafficintelligence into default
| author | Mohamed Gomaa <eng.m.gom3a@gmail.com> |
|---|---|
| date | Fri, 05 Dec 2014 12:13:53 -0500 |
| parents | b829ebdc18e6 |
| children |
comparison
equal
deleted
inserted
replaced
| 598:11f96bd08552 | 614:5e09583275a4 |
|---|---|
| 1 #ifndef INPUT_FRAME_PROVIDER_IFACE_H | |
| 2 #define INPUT_FRAME_PROVIDER_IFACE_H | |
| 3 | |
| 4 #include "opencv2/core/core.hpp" | |
| 5 #include <string> | |
| 6 | |
| 7 | |
| 8 class InputFrameProviderIface | |
| 9 { | |
| 10 public: | |
| 11 virtual ~InputFrameProviderIface(){} | |
| 12 virtual bool getNextFrame(cv::Mat&)=0; | |
| 13 virtual unsigned int getNbFrames() = 0; | |
| 14 virtual bool isOpen() const = 0; | |
| 15 virtual void setFrameNumber(const unsigned int& frameNumber) = 0; | |
| 16 virtual const cv::Size& getSize() const = 0; | |
| 17 }; | |
| 18 | |
| 19 #endif |
