Hello, I would like to crop the images that are returned from the camera image stream without first converting to rgb image so that I can send the cropped frame to Tflite.
Something like this would be great
cameraController.startImageStream((CameraImage availableYUV)async{
if (!_isDoneReadingImage) return;
CameraImage croppedYUV = cropCameraImage(availableYUV, x0, x1, y0, y1)
// send cropped image to Tflite
}
Does anyone know how to do this?
Hello, I would like to crop the images that are returned from the camera image stream without first converting to rgb image so that I can send the cropped frame to Tflite.
Something like this would be great
Does anyone know how to do this?