ImageProcessing class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildInputImage(CameraImage cameraImage, InputImageRotation rotation)
→ InputImage
-
Builds a platform-specific InputImage from a raw CameraImage.
-
computeAverageLuminance(CameraImage image)
→ double
-
Computes the average luminance of a camera frame.
-
detectAndCrop(CameraImage cameraImage, InputImageRotation rotation, FaceDetector detector, {CameraController? cameraController})
→ Future<Image?>
-
Detects faces in the camera image, applies rotation, and crops the face region.
-
getImageRotationForCrop(CameraController cameraController)
→ InputImageRotation
-
Returns the image rotation for cropping, which may differ from the ML Kit rotation.
-
getRotation(CameraController cameraController)
→ InputImageRotation
-
Returns the rotation of the camera for iOS and Android devices.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toImgImage(CameraImage cameraImage)
→ Image
-
Converts the raw camera image into a platform-appropriate image format.
-
toString()
→ String
-
A string representation of this object.
inherited