12345678910111213141516171819202122232425262728 |
- #pragma once
-
- #include <iostream>
- #include <vector>
- #include <string>
- #include <algorithm>
-
- #include <opencv2/opencv.hpp>
- #include <opencv2/core/utils/logger.hpp>
-
- using namespace std;
- using namespace cv;
-
- class Input
- {
- private:
- VideoCapture cap;
-
- public:
- int video_height;
- int video_width;
- Input(int video_height, int video_width);
- Input() = delete;
- ~Input();
- Mat readFile(String filePath);
- Mat readWebcam();
- void freeWebcam();
- };
|