Config.DepthEstimationMode


public final class Config.DepthEstimationMode


Feature that allows more accurate information about scene depth and meshes.

Setting this feature to any of DepthEstimationMode.RAW_ONLY, DepthEstimationMode.SMOOTH_ONLY or DepthEstimationMode.SMOOTH_AND_RAW requires that the SCENE_UNDERSTANDING_FINE Android permission is granted by the calling application.

Summary

Public fields

static final @NonNull Config.DepthEstimationMode

No information about scene depth will be provided.

static final @NonNull Config.DepthEstimationMode

Depth estimation will be enabled with raw depth and confidence.

static final @NonNull Config.DepthEstimationMode

Depth estimation will be enabled with both raw and smooth depth and confidence.

static final @NonNull Config.DepthEstimationMode

Depth estimation will be enabled with smooth depth and confidence.

Public methods

@NonNull String

Public fields

DISABLED

public static final @NonNull Config.DepthEstimationMode DISABLED

No information about scene depth will be provided.

RAW_ONLY

public static final @NonNull Config.DepthEstimationMode RAW_ONLY

Depth estimation will be enabled with raw depth and confidence.

SMOOTH_AND_RAW

public static final @NonNull Config.DepthEstimationMode SMOOTH_AND_RAW

Depth estimation will be enabled with both raw and smooth depth and confidence. Note that setting this mode will consume additional runtime resources.

SMOOTH_ONLY

public static final @NonNull Config.DepthEstimationMode SMOOTH_ONLY

Depth estimation will be enabled with smooth depth and confidence.

Public methods

toString

public @NonNull String toString()