12345678910111213141516171819202122232425 |
- #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:
- Input(/* args */);
- ~Input();
- Mat readFile(String filePath);
- Mat readWebcam();
- void freeWebcam();
- };
|