-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.d: stackoverflowGood question for Stack OverflowGood question for Stack Overflowp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.d: stackoverflowGood question for Stack OverflowGood question for Stack Overflowp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.