scale image when reading from file

This commit is contained in:
Tim Zeuner 2022-11-16 11:08:53 +01:00
parent 7937c78326
commit 9dfc3dc883

View File

@ -30,7 +30,7 @@ Mat Input::readFile(String filePath)
return Mat(); return Mat();
//To do:Exception handeling //To do:Exception handeling
} }
resize(image, image, Size(this->videoWidth, this->videoHeight));
return image; return image;
} }