APIv6
public struct APIv6
Luna ID API v6.
-
Group of the images methods.
Declaration
Swift
public let images: APIv6.Images
-
Group of the events methods.
Declaration
Swift
public let events: APIv6.Events
-
Group of the verifiers methods.
Declaration
Swift
public let verifiers: APIv6.Verifiers
-
Group of the faces methods.
Declaration
Swift
public let faces: APIv6.Faces
-
Группа методов для токенов \ Group of token methods
Declaration
Swift
public let tokens: APIv6.Tokens
-
Initializer API v6.
Declaration
Swift
public init(lunaAccountID: String?, lunaServerURL: URL?, additionalHeaders: HeadersHandler?, certificateFileURL: URL? = nil)
Parameters
lunaAccountID
Luna Account ID.
lunaServerURL
Server URL.
-
Checks the list of images for Liveness.
The answer contains the probability that a real person is present in the image.
Declaration
Swift
func liveness(query: PredictLivenessQuery, requestId: String, handler: @escaping (Result<LivenessPredictResponse, Error>) -> Void)
Parameters
query
Request.
handler
Result.
-
Group of the
See moretoken
methods.Declaration
Swift
struct Tokens
-
Response with event for specified handler ID
See moreDeclaration
Swift
public struct EventsResponse : Codable
-
Event model
See moreDeclaration
Swift
public struct Event : Codable
-
Face model
See moreDeclaration
Swift
public struct Face : Codable
-
Sorted list with match result for the event.
See moreDeclaration
Swift
public struct Matches : Codable
-
Matching candidate
See moreDeclaration
Swift
public struct Candidates : Codable
-
Matching candidate
See moreDeclaration
Swift
public struct Candidate : Codable
-
Aggregated attributes estimated from samples.
See moreDeclaration
Swift
public struct AggregateEstimations : Codable
-
Face attributes estimations
See moreDeclaration
Swift
public struct FaceEstimation : Codable
-
Estimated attributes of face
See moreDeclaration
Swift
public struct FaceAttributesEstimation : Codable
-
Liveness predictive estimation
See moreDeclaration
Swift
public struct LivenessEstimation : Codable
-
Liveness estimation model
See moreDeclaration
Swift
public struct LivenessEstimations : Codable
-
Deepfake predictive estimation.
See moreDeclaration
Swift
public struct DeepfakeEstimation : Codable
-
Liveness prediction name
Declaration
Swift
public enum LivenessPrediction : String, Codable
-
Deepfake prediction name
Declaration
Swift
public enum DeepfakePrediction : String, Codable
-
Get faces response
See moreDeclaration
Swift
public struct GetFacesResponse : Codable
-
Verification response
See moreDeclaration
Swift
public struct PerformVerificationResponse : Codable
-
Face detections
See moreDeclaration
Swift
public struct FaceDetection : Codable
-
Image response object
See moreDeclaration
Swift
public struct Image : Codable