AWSRekognitionCreateStreamProcessorRequest

Objective-C

@interface AWSRekognitionCreateStreamProcessorRequest

Swift

class AWSRekognitionCreateStreamProcessorRequest
  • Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionStreamProcessorDataSharingPreference *_Nullable dataSharingPreference;

    Swift

    var dataSharingPreference: AWSRekognitionStreamProcessorDataSharingPreference? { get set }
  • Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is StreamProcessorInput. This is required for both face search and label detection stream processors.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionStreamProcessorInput *_Nullable input;

    Swift

    var input: AWSRekognitionStreamProcessorInput? { get set }
  • The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor. You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which includes image frames and hero images. Your source images are unaffected.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable kmsKeyId;

    Swift

    var kmsKeyId: String? { get set }
  • An identifier you assign to the stream processor. You can use Name to manage the stream processor. For example, you can get the current status of the stream processor by calling DescribeStreamProcessor. Name is idempotent. This is required for both face search and label detection stream processors.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }
  • The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the object detection results and completion status of a video analysis operation.

    Amazon Rekognition publishes a notification the first time an object of interest or a person is detected in the video stream. For example, if Amazon Rekognition detects a person at second 2, a pet at second 4, and a person again at second 5, Amazon Rekognition sends 2 object class detected notifications, one for a person at second 2 and one for a pet at second 4.

    Amazon Rekognition also publishes an an end-of-session notification with a summary when the stream processing session is complete.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionStreamProcessorNotificationChannel *_Nullable notificationChannel;

    Swift

    var notificationChannel: AWSRekognitionStreamProcessorNotificationChannel? { get set }
  • Kinesis data stream stream or Amazon S3 bucket location to which Amazon Rekognition Video puts the analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput. This must be a S3Destination of an Amazon S3 bucket that you own for a label detection stream processor or a Kinesis data stream ARN for a face search stream processor.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionStreamProcessorOutput *_Nullable output;

    Swift

    var output: AWSRekognitionStreamProcessorOutput? { get set }
  • Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSRekognitionRegionOfInterest *> *_Nullable regionsOfInterest;

    Swift

    var regionsOfInterest: [AWSRekognitionRegionOfInterest]? { get set }
  • The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This is required for both face search and label detection stream processors.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }
  • Input parameters used in a streaming video analyzed by a stream processor. You can use FaceSearch to recognize faces in a streaming video, or you can use ConnectedHome to detect labels.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSRekognitionStreamProcessorSettings *_Nullable settings;

    Swift

    var settings: AWSRekognitionStreamProcessorSettings? { get set }
  • A set of tags (key-value pairs) that you want to attach to the stream processor.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable tags;

    Swift

    var tags: [String : String]? { get set }