Skip to main content
Version: 2.1

TRekognitionDatasetSource

Class in AWS.Rekognition

DatasetSource class.

Ancestors​

Properties​

DatasetArn​

property DatasetArn: TARN

GroundTruthManifest​

property GroundTruthManifest: IRekognitionGroundTruthManifest

Type: IRekognitionGroundTruthManifest

Constructors​

Create​

constructor Create; overload;

Constructor for TRekognitionDatasetSource.


constructor Create(const ADatasetArn: TARN); overload;

Constructor for TRekognitionDatasetSource.

Parameters

NameDescription
ADatasetArnSpecify the Amazon Resource Name (ARN) of the Amazon Rekognition Custom Labels dataset to copy.

constructor Create(const AGroundTruthManifest: IRekognitionGroundTruthManifest); overload;

IRekognitionGroundTruthManifest

Constructor for TRekognitionDatasetSource.

Parameters

NameDescription
AGroundTruthManifestSpecify an S3 object containing an Amazon Sagemaker Ground Truth format manifest file.

Methods​

FromDataset​

class function FromDataset(const ADatasetArn: TARN): TRekognitionDatasetSource;

TRekognitionDatasetSource

Source a dataset from an S3 object containing a Sagemaker Ground Truth Manifest.

Parameters

NameDescription
ADatasetArnSpecify the Amazon Resource Name (ARN) of the Amazon Rekognition Custom Labels dataset to copy.

Returns

Returns an instance of TRekognitionDatasetSource containing an Amazon Sagemaker Ground Truth Manifest.

FromGroundTruthManifest​

class function FromGroundTruthManifest(const ABucket, AObject: string): TRekognitionDatasetSource;

TRekognitionDatasetSource

Source a dataset from an S3 object containing a Sagemaker Ground Truth Manifest.

Parameters

NameDescription
ABucketSpecify the name of the bucket containing the source manifest.
AObjectSpecify the key of the manifest in the bucket.

Returns

Returns an instance of TRekognitionDatasetSource containing an Amazon Sagemaker Ground Truth Manifest.