getOutputImageHeight method
Computes the height of the expected output image when input image size is given.
Implementation
@override
int getOutputImageHeight(int inputImageHeight, int inputImageWidth) {
return (_numRotation % 2 == 0) ? inputImageHeight : inputImageWidth;
}