Skip to main content
←API Reference ←NSDK ←NSDKSceneSegmentationSession

Configuration

Configuration structure for the scene segmentation session.

Declaration​

struct Configuration

Constructors​

init(framerate: UInt32 = 0, mode: SceneSegmentationMode = .unspecified, suppressionMaskChannels: SceneSegmentationChannels = [], thresholds: [Float] = [], numThresholds: UInt32 = 0)

Properties​

NameTypeSummary
var framerateUInt32
The desired frame rate for scene segmentation processing.
var modeSceneSegmentationMode
The desired scene segmentation mode.
var numThresholdsUInt32
Number of threshold values. Must match thresholds.count.
var suppressionMaskChannelsSceneSegmentationChannels
The semantic channels for which a suppression mask should be generated.
Set this to the channels you intend to query via latestSuppressionMask().
Defaults to an empty set (suppression mask disabled).
var thresholds [Float]
Threshold values for semantic channel classification.

Methods​

NameTypeSummary
convertToCARDK_Semantics_Config
-