Protocols

The following protocols are available globally.

  • Delegate of the best shot detector.

    See more

    Declaration

    Objective-C

    @protocol LCBestShotDelegate <NSObject>

    Swift

    protocol LCBestShotDelegate : NSObjectProtocol
  • Interface of the best shot detector.

    See more

    Declaration

    Objective-C

    @protocol LCBestShotDetectorProtocol <NSObject>

    Swift

    protocol LCBestShotDetectorProtocol : NSObjectProtocol
  • Interface of descriptor extractor.

    See more

    Declaration

    Objective-C

    @protocol LCDescriptorExtractorProtocol <NSObject>

    Swift

    protocol LCDescriptorExtractorProtocol : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol LCFaceDetectorProtocol <NSObject>
    
    /// Detects faces in the image
    /// @param image Source image.
    /// @param maxCount Maximum number of faces to be detected.
    - (NSArray<LCFaceDetection *> *)detectFaces: (UIImage *)image maxCount: (NSUInteger) maxCount;
    
    @end

    Swift

    protocol LCFaceDetectorProtocol : NSObjectProtocol
  • Interface of the object which checks Liveness.

    See more

    Declaration

    Objective-C

    @protocol LCOnlineLivenessProtocol <NSObject>

    Swift

    protocol LCOnlineLivenessProtocol : NSObjectProtocol