Path: blob/master/apps/interactive-calibration/calibPipeline.hpp
16337 views
// This file is part of OpenCV project.1// It is subject to the license terms in the LICENSE file found in the top-level directory2// of this distribution and at http://opencv.org/license.html.345#ifndef CALIB_PIPELINE_HPP6#define CALIB_PIPELINE_HPP78#include <vector>910#include <opencv2/highgui.hpp>1112#include "calibCommon.hpp"13#include "frameProcessor.hpp"1415namespace calib16{1718enum PipelineExitStatus { Finished,19DeleteLastFrame,20Calibrate,21DeleteAllFrames,22SaveCurrentData,23SwitchUndistort,24SwitchVisualisation25};2627class CalibPipeline28{29protected:30captureParameters mCaptureParams;31cv::Size mImageSize;32cv::VideoCapture mCapture;3334cv::Size getCameraResolution();3536public:37CalibPipeline(captureParameters params);38PipelineExitStatus start(std::vector<cv::Ptr<FrameProcessor> > processors);39cv::Size getImageSize() const;40};4142}4344#endif454647