#pragma once #include #include #include #include #include #include #include using namespace std; using namespace cv; class Input { private: VideoCapture cap; mutable std::mutex mtx; public: int videoHeight; int videoWidth; Input(int videoHeight, int videoWidth); Input() = delete; ~Input(); Mat readFile(String filePath); Mat readWebcam(); void freeWebcam(); };