FlutterWithMediaPipe icon indicating copy to clipboard operation
FlutterWithMediaPipe copied to clipboard

Why isAndroid use copyRotate and flipHorizontal?

Open Guo8a opened this issue 1 year ago • 0 comments

codes below:

if (Platform.isAndroid) {
  image = imageLib.copyRotate(image, angle: -90);
  image = imageLib.flipHorizontal(image);
}
var tensorImage = TensorImage(TensorType.float32);
tensorImage.loadImage(image);
tensorImage = imageProcessor.process(tensorImage);

Guo8a avatar Jan 25 '24 09:01 Guo8a