Projektarbeit Line Following Robot bei Prof. Chowanetz im WS22/23
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

input.h 379B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include <iostream>
  3. #include <vector>
  4. #include <string>
  5. #include <algorithm>
  6. #include <opencv2/opencv.hpp>
  7. #include <opencv2/core/utils/logger.hpp>
  8. using namespace std;
  9. using namespace cv;
  10. class Input
  11. {
  12. private:
  13. VideoCapture cap;
  14. public:
  15. Input(/* args */);
  16. ~Input();
  17. Mat readFile(String filePath);
  18. Mat readWebcam();
  19. void freeWebcam();
  20. };