latestConfidence
Declaration
func latestConfidence(channel: SceneSegmentationChannels) throws(NSDKError) -> NSDKAsyncState<SceneSegmentationResult, AwarenessError>
Summary
Returns
An NSDKAsyncState containing either the latest SceneSegmentationResult,
or an AwarenessError.
Throws
NSDKError.invalidArgumentif zero or more than one channel is specified.
Confidence Interpretation
Confidence values range from 0.0 to 1.0:
-
0.0: Definitely not the specified semantic category
-
0.5: Uncertain classification
-
1.0: Definitely the specified semantic category Use confidence thresholds to filter results based on your application's needs.
Parameters
| Name | Type | Summary |
|---|---|---|
| channel | SceneSegmentationChannels | The semantic channel; throws if multiple channels are given. |
Retrieves the latest confidence map for a specific semantic channel.
This method returns a confidence map where each pixel value represents the confidence
score (0.0–1.0) that the pixel belongs to the specified semantic category. Higher
confidence values indicate stronger belief in the semantic classification.