|
|
@@ -15,8 +15,8 @@ int main(void) |
|
|
|
cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_WARNING); |
|
|
|
|
|
|
|
const int thresholdBinary = 140; |
|
|
|
const int videoHeight = 240; |
|
|
|
const int videoWidth = 320; |
|
|
|
const int videoHeight = 720; |
|
|
|
const int videoWidth = 960; |
|
|
|
const int gaussKernelSize = 21; |
|
|
|
|
|
|
|
|
|
|
@@ -27,7 +27,7 @@ int main(void) |
|
|
|
namedWindow("Display window"); |
|
|
|
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; |
|
|
|
processing.processImage(processedImage, thresholdBinary, gaussKernelSize); |
|
|
|
std::vector<Vec4i> lines = processing.calculateLineSegments(processedImage); |