inputImageRotationForIOS property

InputImageRotation get inputImageRotationForIOS

Implementation

InputImageRotation get inputImageRotationForIOS {
  switch (rotation) {
    case InputAnalysisImageRotation.rotation0deg:
      return InputImageRotation.rotation90deg;
    case InputAnalysisImageRotation.rotation90deg:
      return InputImageRotation.rotation180deg;
    case InputAnalysisImageRotation.rotation180deg:
      return InputImageRotation.rotation270deg;
    case InputAnalysisImageRotation.rotation270deg:
      return InputImageRotation.rotation0deg;
  }
}