MeteringPoint
interface MeteringPoint
A point used to focus AE/AF/AWB on the Camera via CameraController.focusTo.
Create one from a tap on a PreviewView (previewView.createMeteringPoint(viewX, viewY)), or from normalized coordinates with CameraFactory.createNormalizedMeteringPoint.
val point = VisionCamera.createNormalizedMeteringPoint(0.5, 0.5)
controller.focusTo(point)Content copied to clipboard
Properties
Link copied to clipboard
The size of this point, normalized to the Camera's coordinate system.
Link copied to clipboard
The X coordinate, normalized to the Camera's coordinate system after orientation, cropping and scaling.
Link copied to clipboard
The Y coordinate, normalized to the Camera's coordinate system after orientation, cropping and scaling.
Link copied to clipboard
The size of this point, relative to the source it was created from, or null if none was set.