Browse Source

Adjust window size

pull/1/head
Tim Zeuner 2 years ago
parent
commit
d9628550d4
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Spielwiese/spielwiese.cpp

+ 3
- 3
Spielwiese/spielwiese.cpp View File

cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_WARNING); cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_WARNING);


const int thresholdBinary = 140; const int thresholdBinary = 140;
const int videoHeight = 240;
const int videoWidth = 320;
const int videoHeight = 720;
const int videoWidth = 960;
const int gaussKernelSize = 21; const int gaussKernelSize = 21;




namedWindow("Display window"); namedWindow("Display window");
while(true) while(true)
{ {
Mat image = input.readFile("Der//Pfad//zum//Input//Bilder//Ordner//auf//deinem//System");
Mat image = input.readFile("Der\\Pfad\\zum\\Input\\Bilder\\Ordner\\auf\\deinem\\System");
Mat processedImage = image; Mat processedImage = image;
processing.processImage(processedImage, thresholdBinary, gaussKernelSize); processing.processImage(processedImage, thresholdBinary, gaussKernelSize);
std::vector<Vec4i> lines = processing.calculateLineSegments(processedImage); std::vector<Vec4i> lines = processing.calculateLineSegments(processedImage);

Loading…
Cancel
Save