25 lines
379 B
C
Raw Normal View History

2022-11-10 17:07:39 +01:00
#pragma once
2022-10-30 20:01:47 +01:00
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
2022-10-30 20:01:47 +01:00
#include <opencv2/opencv.hpp>
#include <opencv2/core/utils/logger.hpp>
2022-10-30 20:01:47 +01:00
using namespace std;
using namespace cv;
class Input
{
private:
VideoCapture cap;
2022-10-30 20:01:47 +01:00
public:
Input(/* args */);
~Input();
Mat readFile(String filePath);
Mat readWebcam();
void freeWebcam();
2022-11-03 11:18:18 +01:00
};