Adjust window size
This commit is contained in:
parent
e41f6b47d9
commit
d9628550d4
@ -15,8 +15,8 @@ int main(void)
|
|||||||
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 videoHeight = 720;
|
||||||
const int videoWidth = 320;
|
const int videoWidth = 960;
|
||||||
const int gaussKernelSize = 21;
|
const int gaussKernelSize = 21;
|
||||||
|
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ int main(void)
|
|||||||
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…
x
Reference in New Issue
Block a user