Classes
The following classes are available globally.
-
Object of the best shot.
See moreDeclaration
Objective-C
@interface LCBestShot : NSObject
Swift
class LCBestShot : NSObject
-
Configuration object of the best shot estimation.
See moreDeclaration
Objective-C
@interface LCEstimationThreshold : NSObject
Swift
class LCEstimationThreshold : NSObject
-
Detector builder of the best shot.
See moreDeclaration
Objective-C
@interface LCBestShotBuilder : NSObject
Swift
class LCBestShotBuilder : NSObject
-
Builder of descriptors extractor.
See moreDeclaration
Objective-C
@interface LCDescriptorExtractorBuilder : NSObject
Swift
class LCDescriptorExtractorBuilder : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface LCFaceDetectorBuilder : NSObject + (id<LCFaceDetectorProtocol>)build; @end
Swift
class LCFaceDetectorBuilder : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface LCBestShotConfiguration : NSObject /// Default configuration instance. + (instancetype)defaultConfig; /// Configuration object of the best shot estimation. @property (nonatomic, strong) LCEstimationThreshold *estimationThreshold; /// Distance between face detection and frame edges. @property (nonatomic, assign) NSInteger borderDistance; /// Minimum detection size in pixels. @property (nonatomic, assign) NSInteger minDetSize; /// Liveness type. @property (nonatomic, assign) LivenessType livenessType; /// The amount of shots between the face detections. The smaller the number is, the more likely that TrackEngine will detect a new face as soon as it appears in the frame. The higher the number is, the higher the overall performance. Used to balance the performance and face detection frequency. Accepted values vary from 0 to 30, 7 by default. @property (nonatomic, assign) NSUInteger detectorStep; /// If a face wasn’t detected in the supposed area, TrackEngine waits this amount of shots before it will finish a track. Values vary from 0 to 50, 36 by default. @property (nonatomic, assign) NSUInteger skipFrames; /// Minimal amount of face detections for a track to be considered as a real face. 5 by default. @property (nonatomic, assign) NSUInteger minimalTrackLength; /// The amount of the best shots which is necessary to conduct Liveness procedure. 3 by default. @property (nonatomic, assign) NSUInteger numberOfBestShots; /// Minimal time interval between the best shots. Value in seconds. 0.5 by default. /// @see numberOfBestShots @property (nonatomic, assign) NSTimeInterval bestShotInterval; /// Maximum possible difference between the best collected shots. 0.01 by default. @property (nonatomic, assign) double similarityThreshold; /// Liveness quality threshold. /// If the liveness quality is less than the established value, the liveness is considered not passed. 0 by default. /// @note Quality value is a probability of "appropriate image". The parameter describes the integral value of image, facial and environmental characteristics. @property (nonatomic, assign) CGFloat livenessQuality; /// Check eyes condition. If true then best shots with closed eyes will be skipped @property (nonatomic, assign) BOOL checkEyes; @end
Swift
class LCBestShotConfiguration : NSObject
-
Luna ID SDK configuration.
See moreDeclaration
Objective-C
@interface LCLunaConfiguration : NSObject
Swift
class LCLunaConfiguration : NSObject
-
Object of the face detection.
See moreDeclaration
Objective-C
@interface LCFaceDetection : NSObject
Swift
class LCFaceDetection : NSObject