Config.DepthEstimationMode


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 companion properties

Config.DepthEstimationMode

No information about scene depth will be provided.

Config.DepthEstimationMode

Depth estimation will be enabled with raw depth and confidence.

Config.DepthEstimationMode

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

Config.DepthEstimationMode

Depth estimation will be enabled with smooth depth and confidence.

Public functions

open String

Public companion properties

DISABLED

val DISABLEDConfig.DepthEstimationMode

No information about scene depth will be provided.

RAW_ONLY

val RAW_ONLYConfig.DepthEstimationMode

Depth estimation will be enabled with raw depth and confidence.

SMOOTH_AND_RAW

val SMOOTH_AND_RAWConfig.DepthEstimationMode

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

val SMOOTH_ONLYConfig.DepthEstimationMode

Depth estimation will be enabled with smooth depth and confidence.

Public functions

toString

open fun toString(): String