Mercurial Hosting > traffic-intelligence
comparison 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 |
comparison
equal
deleted
inserted
replaced
398:3399bd48cb40 | 399:c389fae9689a |
---|---|
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 | |
12 virtual ~InputFrameProviderIface(){} | |
13 virtual bool getNextFrame(cv::Mat&)=0; | |
14 virtual unsigned int getNbFrames() = 0; | |
15 virtual bool isOpen() const = 0; | |
16 virtual const cv::Size& getSize() const = 0; | |
17 | |
18 | |
19 | |
20 }; | |
21 | |
22 | |
23 #endif |