1 #ifndef SENS_VIDEOSTREAM_H
2 #define SENS_VIDEOSTREAM_H
4 #include <opencv2/opencv.hpp>
11 SENSVideoStream(
const std::string& videoFileName,
bool videoLoops,
bool mirrorH,
bool mirrorV,
float targetFps = 0);
std::shared_ptr< SENSFrame > SENSFramePtr
cv::Size2i _videoFrameSize
SENSFramePtr grabPreviousFrame()
const SENSCalibration *const calibration() const
void setCalibration(SENSCalibration calibration, bool buildUndistortionMaps)
SENSFramePtr grabNextFrame()
void guessAndSetCalibration(float fovGuess)
int nextFrameIndex() const
void moveCapturePosition(int n)
std::string _videoFileName
cv::Size getFrameSize() const
SENSFramePtr grabNextResampledFrame()
SENSVideoStream(const std::string &videoFileName, bool videoLoops, bool mirrorH, bool mirrorV, float targetFps=0)
const std::string & videoFilename() const
SENSFramePtr grabPreviousResampledFrame()
std::unique_ptr< SENSCalibration > _calibration