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