ARDK for Android/com.nianticlabs.ardk/DepthConfig
DepthConfig
class DepthConfig(var framerate: Int = 0, var featureMode: AwarenessFeatureMode = AwarenessFeatureMode.UNSPECIFIED)
Configuration parameters for ARDK's Depth System.
Basic Usage
val config = DepthConfig(
framerate = 120
featureMode = AwarenessFeatureMode.SMOOTH,
)
ARDK.ConfigureDepth(handle, config)
See also
| ARDK.ConfigureDepth |
| ARDK.CreateDepth |
Constructors
| DepthConfig | [androidJvm] constructor(framerate: Int = 0, featureMode: AwarenessFeatureMode = AwarenessFeatureMode.UNSPECIFIED) |
Properties
| Name | Summary |
|---|---|
| featureMode | [androidJvm] var featureMode: AwarenessFeatureMode Specify mode to internally select model for depth estimation. Each model selects a model that has different performance and quality characteristics. |
| framerate | [androidJvm] var framerate: Int Framerate which the Depth system takes in input. Depth is an expensive system so keeping framerate lower is recommended, |