learning_input_image library

Classes

CameraController
Controls a device camera.
CameraDescription
Properties of a camera device.
CameraImage
A single complete image buffer from the platform camera.
CameraPreview
A widget showing a live camera preview.
CameraValue
The state of a CameraController.
ImageFormat
Describes how pixels are represented in an image.
InputCameraView
InputImage
InputImage is the format Google' Ml kit takes to process the image
InputImageData
Image metadata used when creating image from bytes.
NormalBlueButton
NormalButton
NormalPinkButton
Plane
A single color plane of image data.
XFile
A CrossFile is a cross-platform, simplified File abstraction.

Enums

CameraLensDirection
The direction the camera is facing.
ExposureMode
The possible exposure modes that can be set for a camera.
FlashMode
The possible flash modes that can be set for a camera
FocusMode
The possible focus modes that can be set for a camera.
ImageFormatGroup
Group of image formats that are comparable across Android and iOS platforms.
InputCameraMode
InputCameraType
InputImageFormat
InputImageRotation
ResolutionPreset
Affect the quality of video recording and image capture:

Properties

cameras List<CameraDescription>
getter/setter pair

Functions

availableCameras() Future<List<CameraDescription>>
Completes with a list of available cameras.
imageFormatToInt(InputImageFormat inputImageFormat) int
Convert enum InputImageFormat to it's corresponding integer value.
imageRotationToInt(InputImageRotation? inputImageRotation) int
Convert enum InputImageRotation to integer value.

Typedefs

onLatestImageAvailable = dynamic Function(CameraImage image)
Signature for a callback receiving the a camera image.

Exceptions / Errors

CameraException
This is thrown when the plugin reports an error.