Type Alias

VNConfidence

A type alias for the confidence value of an observation.

Declaration

typealias VNConfidence = Float

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

var confidence: VNConfidence

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software