From 9dfc3dc88362863cad6f66a01f7f2c2de8441ecd Mon Sep 17 00:00:00 2001 From: TimZnr Date: Wed, 16 Nov 2022 11:08:53 +0100 Subject: [PATCH] scale image when reading from file --- Input/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Input/input.cpp b/Input/input.cpp index 728583a..6c269a2 100644 --- a/Input/input.cpp +++ b/Input/input.cpp @@ -30,7 +30,7 @@ Mat Input::readFile(String filePath) return Mat(); //To do:Exception handeling } - + resize(image, image, Size(this->videoWidth, this->videoHeight)); return image; }