22 lines
464 B
C++
Raw Normal View History

2022-10-30 20:01:47 +01:00
#include <iostream>
#include <opencv2/opencv.hpp>
#include <input.h>
2022-11-01 14:18:02 +01:00
#include <processing.h>
2022-10-30 20:01:47 +01:00
using namespace cv;
const int threshold_binary = 110;
2022-10-30 20:01:47 +01:00
int main(void)
{
std::cout<<"Hello world";
Input test;
Processing test1;
Mat image1 = test.readFile("C:\\Line-Following-Robot\\Test_data\\*.jpeg");
//Mat image2 = test.readWebcam();
test1.calculate_binaray(image1, threshold_binary);
imshow("Display window", image1);
waitKey(0);
2022-10-30 20:01:47 +01:00
}