Instance Property

confidence

The level of confidence in the observation's accuracy, normalized to [0, 1.0].

Declaration

var confidence: VNConfidence { get }

Discussion

A value of 0.0 indicates no confidence.

A value of 1.0 indicates the highest confidence. An observation that doesn't support or assign meaning to confidence also returns 1.0.

See Also

Evaluating Observations

typealias VNConfidence

A type alias for the confidence value of an observation.