RGLFaceAPISearchParams

Objective-C

@interface RGLFaceAPISearchParams : NSObject

/// The number of returned Persons limit. Default: 100.
@property(nonatomic, strong) NSNumber *limit;

/// The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons
/// and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used. Default: 1.0
@property(nonatomic, strong) NSNumber *threshold;

/// The IDs of the groups in which the search is performed.
@property(nonatomic, strong, nullable) NSArray<NSNumber *> *groupIDs;

@end

Swift

class RGLFaceAPISearchParams : NSObject

Undocumented

  • The number of returned Persons limit. Default: 100.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nonnull limit;

    Swift

    var limit: NSNumber { get set }
  • The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used. Default: 1.0

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nonnull threshold;

    Swift

    var threshold: NSNumber { get set }
  • The IDs of the groups in which the search is performed.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSNumber *> *groupIDs;

    Swift

    var groupIDs: [NSNumber]? { get set }