scale image when reading from file
This commit is contained in:
parent
7937c78326
commit
9dfc3dc883
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user