CaptureRequest.ControlAutoframing Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Automatic crop, pan and zoom to keep objects in the center of the frame.
[Android.Runtime.Register("CONTROL_AUTOFRAMING", ApiSince=34)]
public static Android.Hardware.Camera2.CaptureRequest.Key ControlAutoframing { get; }
[<Android.Runtime.Register("CONTROL_AUTOFRAMING", ApiSince=34)>]
static member ControlAutoframing : Android.Hardware.Camera2.CaptureRequest.Key
Property Value
Automatic crop, pan and zoom to keep objects in the center of the frame.
- Attributes
Remarks
Automatic crop, pan and zoom to keep objects in the center of the frame.
Auto-framing is a special mode provided by the camera device to dynamically crop, zoom or pan the camera feed to try to ensure that the people in a scene occupy a reasonable portion of the viewport. It is primarily designed to support video calling in situations where the user isn't directly in front of the device, especially for wide-angle cameras. android.scaler.cropRegion and android.control.zoomRatio in CaptureResult will be used to denote the coordinates of the auto-framed region. Zoom and video stabilization controls are disabled when auto-framing is enabled. The 3A regions must map the screen coordinates into the scaler crop returned from the capture result instead of using the active array sensor.
Optional - The value for this key may be null on some devices.
Limited capability - Present on all camera devices that report being at least HARDWARE_LEVEL_LIMITED devices in the android.info.supportedHardwareLevel key
Android reference for android.hardware.camera2.CaptureRequest.CONTROL_AUTOFRAMING.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.