Entity
public struct Entity
Result returned as part of identify() API call with
IdentifyAction.detectEntities
type parameter
-
Declaration
Swift
public let boundingBox: CGRect
-
Declaration
Swift
public let landmarks: [Landmark]
-
Declaration
Swift
public let ageRange: ClosedRange<Int>?
-
Declaration
Swift
public let attributes: [Attribute]?
-
Declaration
Swift
public let gender: GenderAttribute?
-
Declaration
Swift
public let metadata: Metadata
-
Declaration
Swift
public let emotions: [Emotion]?
-
Declaration
Swift
public init( boundingBox: CGRect, landmarks: [Landmark], ageRange: ClosedRange<Int>?, attributes: [Attribute]?, gender: GenderAttribute?, metadata: Metadata, emotions: [Emotion]? )
-
Describes the result of interpret() API when the analyzed text contains a person/place
See moreDeclaration
Swift
public struct DetectionResult
-
Different entity types detected in a text as a result of interpret() API
See moreDeclaration
Swift
public struct Kind : Equatable, Hashable
-
Describes the result for an entity matched in an entity collection created on AWS Rekogniton and detected from identify() API call
See moreDeclaration
Swift
public struct Match
-
Declaration
Swift
public struct Metadata