20 lines
551 B
Swift
20 lines
551 B
Swift
//
|
|
// Copyright Amazon.com Inc. or its affiliates.
|
|
// All Rights Reserved.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
/// Results are mapped to IdentifyEntitiesResult when .detectEntities is
|
|
/// passed to type: field in identify() API and general entities like facial features, landmarks etc.
|
|
/// are needed to be detected
|
|
public struct IdentifyEntitiesResult: IdentifyResult {
|
|
|
|
/// List of 'Entity' as a result of Identify query
|
|
public let entities: [Entity]
|
|
|
|
public init(entities: [Entity]) {
|
|
self.entities = entities
|
|
}
|
|
}
|