Structures
The following structures are available globally.
-
Luna ID API v6.
See moreDeclaration
Swift
public struct APIv6
-
Event query. Contains best shots data array and image type.
See moreDeclaration
Swift
public struct EventQuery
-
GetFacesQuery contains userName (as userData), and targets to search face (e.g. .userData, .faceID)
See moreDeclaration
Swift
public struct GetDocumentsQuery
-
GetFacesQuery contains userName (as userData), and targets to search face (e.g. .userData, .faceID)
See moreDeclaration
Swift
public struct GetFacesQuery
-
Verification query. Contains best shot data and face identifiers.
See moreDeclaration
Swift
public struct PerformVerificationQuery
-
Request to conduct verification of descriptors list similarity.
Each descriptor from the
See morereferences
list is compared to each descriptor from thecandidates
list.Declaration
Swift
public struct BatchVerificationQuery : Encodable
-
Request to check the image list for Liveness.
See moreDeclaration
Swift
public struct PredictLivenessQuery
-
Token permissions
See moreDeclaration
Swift
public struct Permissions : Codable
-
Query for token creation. Query needs many specific arguments. See “create token” section in Luna Platform API documentation for details https://docs.visionlabs.ai/luna/v.5.108.0/ReferenceManuals/APIReferenceManual.html#tag/tokens
See moreDeclaration
Swift
public struct TokenQuery : Codable
-
Response model for get event query
See moreDeclaration
Swift
public struct GetEventResponse : Codable
-
Face detection model
See moreDeclaration
Swift
public struct FaceDetection : Codable
-
Result of matching
See moreDeclaration
Swift
public struct MatchResult : Codable
-
Document data
See moreDeclaration
Swift
public struct PassportData : Codable
-
Field of document
See moreDeclaration
Swift
public struct PassportField : Codable
-
Document image
See moreDeclaration
Swift
public struct PassportSavedImage : Codable
-
Most matching face for detection
See moreDeclaration
Swift
public struct TopMatch : Codable
-
Response to the request of conducting verification of descriptors list similarity.
See moreDeclaration
Swift
public struct BatchVerificationResponse : Decodable
-
Create image response
See moreDeclaration
Swift
public struct CreateImageResponse : Codable
-
Response to the request to check the image list for Liveness.
See moreDeclaration
Swift
public struct LivenessPredictResponse : Decodable
-
Aggregate result of Liveness estimation.
See moreDeclaration
Swift
public struct AggregateEstimations : Decodable
-
Candidate.
See moreDeclaration
Swift
public struct Candidate : Codable
-
Liveness estimation.
See moreDeclaration
Swift
public struct Estimation : Decodable
-
Liveness result.
See moreDeclaration
Swift
public struct Liveness : Decodable
-
Processed image with Liveness prediction.
See moreDeclaration
Swift
public struct LivenessPredict : Decodable
-
Token response
See moreDeclaration
Swift
public struct TokenResponse : Codable