22 lines
464 B
C++

#include <iostream>
#include <opencv2/opencv.hpp>
#include <input.h>
#include <processing.h>
using namespace cv;
const int threshold_binary = 110;
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);
}