StandardCollector

Objective-C

@interface StandardCollector : PredictCollector

Swift

class StandardCollector : PredictCollector

Default predict collector

Trace minimal distance with treshhold checking (that is default behavior for most predict logic)

Member of Face

Methods

  • Static constructor

    Declaration

    Objective-C

    + (nonnull StandardCollector *)create:(double)threshold;

    Swift

    class func create(threshold: Double) -> StandardCollector

    Parameters

    threshold

    set threshold

  • Static constructor

    Declaration

    Objective-C

    + (nonnull StandardCollector *)create;

    Swift

    class func create() -> StandardCollector
  • Returns minimal distance value

    Declaration

    Objective-C

    - (double)getMinDist;

    Swift

    func getMinDist() -> Double
  • Returns label with minimal distance

    Declaration

    Objective-C

    - (int)getMinLabel;

    Swift

    func getMinLabel() -> Int32