scale image when reading from file
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user