12 #include <opencv2/core.hpp>
16 enum class read_type { efficient, safe };
23 virtual double fps()
const = 0;
24 virtual cv::Mat read() = 0;
25 virtual std::string getType()
const = 0;
46 std::unique_ptr<ImagesCapture> openImagesCapture(
47 const std::string& input,
49 read_type type = read_type::efficient,
50 size_t initialImageId = 0,
51 size_t readLengthLimit = std::numeric_limits<size_t>::max(),
52 cv::Size cameraResolution = {1280, 720});
Definition: images_capture.h:18