Skip to main content
API Reference com.nianticspatial.nsdk.awareness.scenesegmentation

SceneSegmentationConfig

Configuration for the scene segmentation feature. This class provides configuration options for the scene segmentation processing system, allowing customization of frame rate, processing mode, and other parameters. Non-boolean fields left at default values will be internally converted to appropriate defaults by the system.

Declaration

class SceneSegmentationConfig

Properties

NameTypeSummary
frameRateInt
Target FPS for recording and visualization processes. The target framerate is the cap for how often the feature will process new input frames. The actual framerate may be lower. This is set to 30 in the default configuration.
modeAwarenessFeatureMode
Descriptor for the scene segmentation mode. Controls the processing mode for scene segmentation processing, affecting the balance between performance and accuracy.
numThresholdsInt
Number of threshold values.
suppressionMaskChannelsInt
Suppression mask channels configuration.
thresholdsFloatArray
Threshold values for semantic processing.