view include/InputFrameProviderIface.h @ 401:b829ebdc18e6

simplified input of directories of video frames (simply use the video filename parameter to point at the directory)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 29 Jul 2013 18:58:05 -0400
parents 7ef1071e3cc3
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