Event
public struct Event : Codable
Event model
-
Geoposition or address of event
Declaration
Swift
public let location: Location?
-
User-defined external identifier for the event. Default is “”.
Declaration
Swift
public let externalID: String?
-
Luna Account Id. Data with the specified “account_id” will be used for the task. The value is empty by default for account types “advanced_user” and “admin”.
Declaration
Swift
public let accountID: String?
-
Identifier of the handler that raised the event.
Declaration
Swift
public let handlerID: String?
-
Additional information that the user provided with the event.
Declaration
Swift
public let source: String?
-
List of tags.
Declaration
Swift
public let tags: [String]?
-
Stream identifier.
Declaration
Swift
public let streamID: String?
-
List of detected faces
Declaration
Swift
public let faceDetections: [FaceDetection]?
-
Event metadata
Declaration
Swift
public let meta: Meta?
-
Contains attached lists IDs.
Declaration
Swift
public let attachResult: [String]?
-
Face identifier
Declaration
Swift
public let faceID: String?
-
Sex of detected face (if detection exists)
Declaration
Swift
public let sex: Sex?
-
Age estimation of detected face
Declaration
Swift
public let age: Int?
-
Emotion of detected face (if detection exists)
Declaration
Swift
public let emotion: Emotion?
-
Medical mask state
Declaration
Swift
public let mask: MaskValue?
-
Ethical group of detected face (if detection exists)
Declaration
Swift
public let ethnicGroup: EthnicalGroup?
-
Liveness estimation
Declaration
Swift
public let liveness: LivenessValue?
-
Deepfake estimation
Declaration
Swift
public let deepfake: DeepFake?
-
Time of the event creation.
Declaration
Swift
public let createTime: String?
-
User data associated with event. Default is “”.
Declaration
Swift
public let userData: String?
-
The end time of the event.
Declaration
Swift
public let endTime: String
-
Event track ID.
Declaration
Swift
public let trackID: String?
-
Event ID.
Declaration
Swift
public let eventID: String?
-
List of all body detection and corresponding sample identifiers.
Declaration
Swift
public let bodyDetections: String?
-
Result of matching detected face with registered faces
Declaration
Swift
public let matchResult: [MatchResult]?
-
Registered face with top similarity
Declaration
Swift
public let topMatch: TopMatch?
-
Body basic attributes.
Declaration
Swift
public let bodyBasicAttributes: String?
-
Upper body attributes.
Declaration
Swift
public let upperBody: String?
-
Lower body attributes.
Declaration
Swift
public let lowerBody: String?
-
Body accessories.
Declaration
Swift
public let accessories: String?