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

SemanticsConfig

Configuration for the semantics feature. This class provides configuration options for the semantics 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 SemanticsConfig

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 semantics mode. Controls the processing mode for semantics processing, affecting the balance between performance and accuracy.
numThresholdsInt
Number of threshold values.
suppressionMaskChannelsInt
Suppression mask channels configuration.
thresholdsFloatArray
Threshold values for semantic processing.