computeDistance(_:to:)
Computes the distance between two feature print observations.
Declaration
func computeDistance(_ outDistance: UnsafeMutablePointer<Float>, to featurePrint: VNFeaturePrintObservation) throwsParameters
- outDistance:
A pointer to store the calculated distance value.
- featurePrint:
The feature print object whose distance to calculate.
Discussion
Shorter distances indicate greater similarity between feature prints.