amplify-swift/Amplify/Categories/Predictions/Result/IdentifyEntityMatchesResult...

20 lines
537 B
Swift

//
// Copyright Amazon.com Inc. or its affiliates.
// All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
/// Results are mapped to IdentifyEntityMatchesResult when .detectEntities is
/// passed to type: field in identify() API and matches from your Rekognition Collection
/// need to be identified
public struct IdentifyEntityMatchesResult: IdentifyResult {
/// List of matched `EntityMatch`
public let entities: [EntityMatch]
public init(entities: [EntityMatch]) {
self.entities = entities
}
}