Contents

minimumConfidence

A value specifying the minimum acceptable confidence level.

Declaration

var minimumConfidence: VNConfidence { get set }

Discussion

Vision won’t return rectangles with a confidence score lower than the specified minimum.

The confidence score ranges from 0.0 to 1.0, inclusive, where 0.0 represents no confidence, and 1.0 represents full confidence.

See Also

Configuring Detection