FaceWithScore

@objc
public class FaceWithScore : NSObject, Comparable

Face and score pair used returned by functions that find faces similar to a challenge face

Since

2.0.0
  • Overload of the <operator

    Since

    2.0.0

    Declaration

    Swift

    public static func < (lhs: FaceWithScore, rhs: FaceWithScore) -> Bool

    Parameters

    lhs

    Left-hand side

    rhs

    Right-hand side

    Return Value

    true if the score in the left-hand-side operand is higher than the score in the right-hand-side operand

  • Face

    Since

    2.0.0

    Declaration

    Swift

    @objc
    public let face: Recognizable
  • Score

    Since

    2.0.0

    Declaration

    Swift

    @objc
    public let score: Float