// // Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // A copy of the License is located at // // http://aws.amazon.com/apache2.0 // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either // express or implied. See the License for the specific language governing // permissions and limitations under the License. // #import #import #import NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXPORT NSString *const AWSRekognitionErrorDomain; typedef NS_ENUM(NSInteger, AWSRekognitionErrorType) { AWSRekognitionErrorUnknown, AWSRekognitionErrorAccessDenied, AWSRekognitionErrorConflict, AWSRekognitionErrorHumanLoopQuotaExceeded, AWSRekognitionErrorIdempotentParameterMismatch, AWSRekognitionErrorImageTooLarge, AWSRekognitionErrorInternalServer, AWSRekognitionErrorInvalidImageFormat, AWSRekognitionErrorInvalidPaginationToken, AWSRekognitionErrorInvalidParameter, AWSRekognitionErrorInvalidPolicyRevisionId, AWSRekognitionErrorInvalidS3Object, AWSRekognitionErrorLimitExceeded, AWSRekognitionErrorMalformedPolicyDocument, AWSRekognitionErrorProvisionedThroughputExceeded, AWSRekognitionErrorResourceAlreadyExists, AWSRekognitionErrorResourceInUse, AWSRekognitionErrorResourceNotFound, AWSRekognitionErrorResourceNotReady, AWSRekognitionErrorServiceQuotaExceeded, AWSRekognitionErrorSessionNotFound, AWSRekognitionErrorThrottling, AWSRekognitionErrorVideoTooLarge, }; typedef NS_ENUM(NSInteger, AWSRekognitionAttribute) { AWSRekognitionAttributeUnknown, AWSRekognitionAttributeDefault, AWSRekognitionAttributeAll, AWSRekognitionAttributeAgeRange, AWSRekognitionAttributeBeard, AWSRekognitionAttributeEmotions, AWSRekognitionAttributeEyeDirection, AWSRekognitionAttributeEyeglasses, AWSRekognitionAttributeEyesOpen, AWSRekognitionAttributeGender, AWSRekognitionAttributeMouthOpen, AWSRekognitionAttributeMustache, AWSRekognitionAttributeFaceOccluded, AWSRekognitionAttributeSmile, AWSRekognitionAttributeSunglasses, }; typedef NS_ENUM(NSInteger, AWSRekognitionBodyPart) { AWSRekognitionBodyPartUnknown, AWSRekognitionBodyPartFace, AWSRekognitionBodyPartHead, AWSRekognitionBodyPartLeftHand, AWSRekognitionBodyPartRightHand, }; typedef NS_ENUM(NSInteger, AWSRekognitionCelebrityRecognitionSortBy) { AWSRekognitionCelebrityRecognitionSortByUnknown, AWSRekognitionCelebrityRecognitionSortById, AWSRekognitionCelebrityRecognitionSortByTimestamp, }; typedef NS_ENUM(NSInteger, AWSRekognitionContentClassifier) { AWSRekognitionContentClassifierUnknown, AWSRekognitionContentClassifierFreeOfPersonallyIdentifiableInformation, AWSRekognitionContentClassifierFreeOfAdultContent, }; typedef NS_ENUM(NSInteger, AWSRekognitionContentModerationAggregateBy) { AWSRekognitionContentModerationAggregateByUnknown, AWSRekognitionContentModerationAggregateByTimestamps, AWSRekognitionContentModerationAggregateBySegments, }; typedef NS_ENUM(NSInteger, AWSRekognitionContentModerationSortBy) { AWSRekognitionContentModerationSortByUnknown, AWSRekognitionContentModerationSortByName, AWSRekognitionContentModerationSortByTimestamp, }; typedef NS_ENUM(NSInteger, AWSRekognitionDatasetStatus) { AWSRekognitionDatasetStatusUnknown, AWSRekognitionDatasetStatusCreateInProgress, AWSRekognitionDatasetStatusCreateComplete, AWSRekognitionDatasetStatusCreateFailed, AWSRekognitionDatasetStatusUpdateInProgress, AWSRekognitionDatasetStatusUpdateComplete, AWSRekognitionDatasetStatusUpdateFailed, AWSRekognitionDatasetStatusDeleteInProgress, }; typedef NS_ENUM(NSInteger, AWSRekognitionDatasetStatusMessageCode) { AWSRekognitionDatasetStatusMessageCodeUnknown, AWSRekognitionDatasetStatusMessageCodeSuccess, AWSRekognitionDatasetStatusMessageCodeServiceError, AWSRekognitionDatasetStatusMessageCodeClientError, }; typedef NS_ENUM(NSInteger, AWSRekognitionDatasetType) { AWSRekognitionDatasetTypeUnknown, AWSRekognitionDatasetTypeTrain, AWSRekognitionDatasetTypeTest, }; typedef NS_ENUM(NSInteger, AWSRekognitionDetectLabelsFeatureName) { AWSRekognitionDetectLabelsFeatureNameUnknown, AWSRekognitionDetectLabelsFeatureNameGeneralLabels, AWSRekognitionDetectLabelsFeatureNameImageProperties, }; typedef NS_ENUM(NSInteger, AWSRekognitionEmotionName) { AWSRekognitionEmotionNameUnknown, AWSRekognitionEmotionNameHappy, AWSRekognitionEmotionNameSad, AWSRekognitionEmotionNameAngry, AWSRekognitionEmotionNameConfused, AWSRekognitionEmotionNameDisgusted, AWSRekognitionEmotionNameSurprised, AWSRekognitionEmotionNameCalm, AWSRekognitionEmotionNameFear, }; typedef NS_ENUM(NSInteger, AWSRekognitionFaceAttributes) { AWSRekognitionFaceAttributesUnknown, AWSRekognitionFaceAttributesDefault, AWSRekognitionFaceAttributesAll, }; typedef NS_ENUM(NSInteger, AWSRekognitionFaceSearchSortBy) { AWSRekognitionFaceSearchSortByUnknown, AWSRekognitionFaceSearchSortByIndex, AWSRekognitionFaceSearchSortByTimestamp, }; typedef NS_ENUM(NSInteger, AWSRekognitionGenderType) { AWSRekognitionGenderTypeUnknown, AWSRekognitionGenderTypeMale, AWSRekognitionGenderTypeFemale, }; typedef NS_ENUM(NSInteger, AWSRekognitionKnownGenderType) { AWSRekognitionKnownGenderTypeUnknown, AWSRekognitionKnownGenderTypeMale, AWSRekognitionKnownGenderTypeFemale, AWSRekognitionKnownGenderTypeNonbinary, AWSRekognitionKnownGenderTypeUnlisted, }; typedef NS_ENUM(NSInteger, AWSRekognitionLabelDetectionAggregateBy) { AWSRekognitionLabelDetectionAggregateByUnknown, AWSRekognitionLabelDetectionAggregateByTimestamps, AWSRekognitionLabelDetectionAggregateBySegments, }; typedef NS_ENUM(NSInteger, AWSRekognitionLabelDetectionFeatureName) { AWSRekognitionLabelDetectionFeatureNameUnknown, AWSRekognitionLabelDetectionFeatureNameGeneralLabels, }; typedef NS_ENUM(NSInteger, AWSRekognitionLabelDetectionSortBy) { AWSRekognitionLabelDetectionSortByUnknown, AWSRekognitionLabelDetectionSortByName, AWSRekognitionLabelDetectionSortByTimestamp, }; typedef NS_ENUM(NSInteger, AWSRekognitionLandmarkType) { AWSRekognitionLandmarkTypeUnknown, AWSRekognitionLandmarkTypeEyeLeft, AWSRekognitionLandmarkTypeEyeRight, AWSRekognitionLandmarkTypeNose, AWSRekognitionLandmarkTypeMouthLeft, AWSRekognitionLandmarkTypeMouthRight, AWSRekognitionLandmarkTypeLeftEyeBrowLeft, AWSRekognitionLandmarkTypeLeftEyeBrowRight, AWSRekognitionLandmarkTypeLeftEyeBrowUp, AWSRekognitionLandmarkTypeRightEyeBrowLeft, AWSRekognitionLandmarkTypeRightEyeBrowRight, AWSRekognitionLandmarkTypeRightEyeBrowUp, AWSRekognitionLandmarkTypeLeftEyeLeft, AWSRekognitionLandmarkTypeLeftEyeRight, AWSRekognitionLandmarkTypeLeftEyeUp, AWSRekognitionLandmarkTypeLeftEyeDown, AWSRekognitionLandmarkTypeRightEyeLeft, AWSRekognitionLandmarkTypeRightEyeRight, AWSRekognitionLandmarkTypeRightEyeUp, AWSRekognitionLandmarkTypeRightEyeDown, AWSRekognitionLandmarkTypeNoseLeft, AWSRekognitionLandmarkTypeNoseRight, AWSRekognitionLandmarkTypeMouthUp, AWSRekognitionLandmarkTypeMouthDown, AWSRekognitionLandmarkTypeLeftPupil, AWSRekognitionLandmarkTypeRightPupil, AWSRekognitionLandmarkTypeUpperJawlineLeft, AWSRekognitionLandmarkTypeMidJawlineLeft, AWSRekognitionLandmarkTypeChinBottom, AWSRekognitionLandmarkTypeMidJawlineRight, AWSRekognitionLandmarkTypeUpperJawlineRight, }; typedef NS_ENUM(NSInteger, AWSRekognitionLivenessSessionStatus) { AWSRekognitionLivenessSessionStatusUnknown, AWSRekognitionLivenessSessionStatusCreated, AWSRekognitionLivenessSessionStatusInProgress, AWSRekognitionLivenessSessionStatusSucceeded, AWSRekognitionLivenessSessionStatusFailed, AWSRekognitionLivenessSessionStatusExpired, }; typedef NS_ENUM(NSInteger, AWSRekognitionOrientationCorrection) { AWSRekognitionOrientationCorrectionUnknown, AWSRekognitionOrientationCorrectionRotate0, AWSRekognitionOrientationCorrectionRotate90, AWSRekognitionOrientationCorrectionRotate180, AWSRekognitionOrientationCorrectionRotate270, }; typedef NS_ENUM(NSInteger, AWSRekognitionPersonTrackingSortBy) { AWSRekognitionPersonTrackingSortByUnknown, AWSRekognitionPersonTrackingSortByIndex, AWSRekognitionPersonTrackingSortByTimestamp, }; typedef NS_ENUM(NSInteger, AWSRekognitionProjectStatus) { AWSRekognitionProjectStatusUnknown, AWSRekognitionProjectStatusCreating, AWSRekognitionProjectStatusCreated, AWSRekognitionProjectStatusDeleting, }; typedef NS_ENUM(NSInteger, AWSRekognitionProjectVersionStatus) { AWSRekognitionProjectVersionStatusUnknown, AWSRekognitionProjectVersionStatusTrainingInProgress, AWSRekognitionProjectVersionStatusTrainingCompleted, AWSRekognitionProjectVersionStatusTrainingFailed, AWSRekognitionProjectVersionStatusStarting, AWSRekognitionProjectVersionStatusRunning, AWSRekognitionProjectVersionStatusFailed, AWSRekognitionProjectVersionStatusStopping, AWSRekognitionProjectVersionStatusStopped, AWSRekognitionProjectVersionStatusDeleting, AWSRekognitionProjectVersionStatusCopyingInProgress, AWSRekognitionProjectVersionStatusCopyingCompleted, AWSRekognitionProjectVersionStatusCopyingFailed, }; typedef NS_ENUM(NSInteger, AWSRekognitionProtectiveEquipmentType) { AWSRekognitionProtectiveEquipmentTypeUnknown, AWSRekognitionProtectiveEquipmentTypeFaceCover, AWSRekognitionProtectiveEquipmentTypeHandCover, AWSRekognitionProtectiveEquipmentTypeHeadCover, }; typedef NS_ENUM(NSInteger, AWSRekognitionQualityFilter) { AWSRekognitionQualityFilterUnknown, AWSRekognitionQualityFilterNone, AWSRekognitionQualityFilterAuto, AWSRekognitionQualityFilterLow, AWSRekognitionQualityFilterMedium, AWSRekognitionQualityFilterHigh, }; typedef NS_ENUM(NSInteger, AWSRekognitionReason) { AWSRekognitionReasonUnknown, AWSRekognitionReasonExceedsMaxFaces, AWSRekognitionReasonExtremePose, AWSRekognitionReasonLowBrightness, AWSRekognitionReasonLowSharpness, AWSRekognitionReasonLowConfidence, AWSRekognitionReasonSmallBoundingBox, AWSRekognitionReasonLowFaceQuality, }; typedef NS_ENUM(NSInteger, AWSRekognitionSegmentType) { AWSRekognitionSegmentTypeUnknown, AWSRekognitionSegmentTypeTechnicalCue, AWSRekognitionSegmentTypeShot, }; typedef NS_ENUM(NSInteger, AWSRekognitionStreamProcessorParameterToDelete) { AWSRekognitionStreamProcessorParameterToDeleteUnknown, AWSRekognitionStreamProcessorParameterToDeleteConnectedHomeMinConfidence, AWSRekognitionStreamProcessorParameterToDeleteRegionsOfInterest, }; typedef NS_ENUM(NSInteger, AWSRekognitionStreamProcessorStatus) { AWSRekognitionStreamProcessorStatusUnknown, AWSRekognitionStreamProcessorStatusStopped, AWSRekognitionStreamProcessorStatusStarting, AWSRekognitionStreamProcessorStatusRunning, AWSRekognitionStreamProcessorStatusFailed, AWSRekognitionStreamProcessorStatusStopping, AWSRekognitionStreamProcessorStatusUpdating, }; typedef NS_ENUM(NSInteger, AWSRekognitionTechnicalCueType) { AWSRekognitionTechnicalCueTypeUnknown, AWSRekognitionTechnicalCueTypeColorBars, AWSRekognitionTechnicalCueTypeEndCredits, AWSRekognitionTechnicalCueTypeBlackFrames, AWSRekognitionTechnicalCueTypeOpeningCredits, AWSRekognitionTechnicalCueTypeStudioLogo, AWSRekognitionTechnicalCueTypeSlate, AWSRekognitionTechnicalCueTypeContent, }; typedef NS_ENUM(NSInteger, AWSRekognitionTextTypes) { AWSRekognitionTextTypesUnknown, AWSRekognitionTextTypesLine, AWSRekognitionTextTypesWord, }; typedef NS_ENUM(NSInteger, AWSRekognitionUnsearchedFaceReason) { AWSRekognitionUnsearchedFaceReasonUnknown, AWSRekognitionUnsearchedFaceReasonFaceNotLargest, AWSRekognitionUnsearchedFaceReasonExceedsMaxFaces, AWSRekognitionUnsearchedFaceReasonExtremePose, AWSRekognitionUnsearchedFaceReasonLowBrightness, AWSRekognitionUnsearchedFaceReasonLowSharpness, AWSRekognitionUnsearchedFaceReasonLowConfidence, AWSRekognitionUnsearchedFaceReasonSmallBoundingBox, AWSRekognitionUnsearchedFaceReasonLowFaceQuality, }; typedef NS_ENUM(NSInteger, AWSRekognitionUnsuccessfulFaceAssociationReason) { AWSRekognitionUnsuccessfulFaceAssociationReasonUnknown, AWSRekognitionUnsuccessfulFaceAssociationReasonFaceNotFound, AWSRekognitionUnsuccessfulFaceAssociationReasonAssociatedToADifferentUser, AWSRekognitionUnsuccessfulFaceAssociationReasonLowMatchConfidence, }; typedef NS_ENUM(NSInteger, AWSRekognitionUnsuccessfulFaceDeletionReason) { AWSRekognitionUnsuccessfulFaceDeletionReasonUnknown, AWSRekognitionUnsuccessfulFaceDeletionReasonAssociatedToAnExistingUser, AWSRekognitionUnsuccessfulFaceDeletionReasonFaceNotFound, }; typedef NS_ENUM(NSInteger, AWSRekognitionUnsuccessfulFaceDisassociationReason) { AWSRekognitionUnsuccessfulFaceDisassociationReasonUnknown, AWSRekognitionUnsuccessfulFaceDisassociationReasonFaceNotFound, AWSRekognitionUnsuccessfulFaceDisassociationReasonAssociatedToADifferentUser, }; typedef NS_ENUM(NSInteger, AWSRekognitionUserStatus) { AWSRekognitionUserStatusUnknown, AWSRekognitionUserStatusActive, AWSRekognitionUserStatusUpdating, AWSRekognitionUserStatusCreating, AWSRekognitionUserStatusCreated, }; typedef NS_ENUM(NSInteger, AWSRekognitionVideoColorRange) { AWSRekognitionVideoColorRangeUnknown, AWSRekognitionVideoColorRangeFull, AWSRekognitionVideoColorRangeLimited, }; typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { AWSRekognitionVideoJobStatusUnknown, AWSRekognitionVideoJobStatusInProgress, AWSRekognitionVideoJobStatusSucceeded, AWSRekognitionVideoJobStatusFailed, }; @class AWSRekognitionAgeRange; @class AWSRekognitionAsset; @class AWSRekognitionAssociateFacesRequest; @class AWSRekognitionAssociateFacesResponse; @class AWSRekognitionAssociatedFace; @class AWSRekognitionAudioMetadata; @class AWSRekognitionAuditImage; @class AWSRekognitionBeard; @class AWSRekognitionBlackFrame; @class AWSRekognitionBoundingBox; @class AWSRekognitionCelebrity; @class AWSRekognitionCelebrityDetail; @class AWSRekognitionCelebrityRecognition; @class AWSRekognitionCompareFacesMatch; @class AWSRekognitionCompareFacesRequest; @class AWSRekognitionCompareFacesResponse; @class AWSRekognitionComparedFace; @class AWSRekognitionComparedSourceImageFace; @class AWSRekognitionConnectedHomeSettings; @class AWSRekognitionConnectedHomeSettingsForUpdate; @class AWSRekognitionContentModerationDetection; @class AWSRekognitionReplicateProjectVersionRequest; @class AWSRekognitionReplicateProjectVersionResponse; @class AWSRekognitionCoversBodyPart; @class AWSRekognitionCreateCollectionRequest; @class AWSRekognitionCreateCollectionResponse; @class AWSRekognitionCreateDatasetRequest; @class AWSRekognitionCreateDatasetResponse; @class AWSRekognitionCreateFaceLivenessSessionRequest; @class AWSRekognitionCreateFaceLivenessSessionRequestSettings; @class AWSRekognitionCreateFaceLivenessSessionResponse; @class AWSRekognitionCreateProjectRequest; @class AWSRekognitionCreateProjectResponse; @class AWSRekognitionCreateProjectVersionRequest; @class AWSRekognitionCreateProjectVersionResponse; @class AWSRekognitionCreateStreamProcessorRequest; @class AWSRekognitionCreateStreamProcessorResponse; @class AWSRekognitionCreateUserRequest; @class AWSRekognitionCreateUserResponse; @class AWSRekognitionCustomLabel; @class AWSRekognitionDatasetChanges; @class AWSRekognitionDatasetDescription; @class AWSRekognitionDatasetLabelDescription; @class AWSRekognitionDatasetLabelStats; @class AWSRekognitionDatasetMetadata; @class AWSRekognitionDatasetSource; @class AWSRekognitionDatasetStats; @class AWSRekognitionDeleteCollectionRequest; @class AWSRekognitionDeleteCollectionResponse; @class AWSRekognitionDeleteDatasetRequest; @class AWSRekognitionDeleteDatasetResponse; @class AWSRekognitionDeleteFacesRequest; @class AWSRekognitionDeleteFacesResponse; @class AWSRekognitionDeleteProjectPolicyRequest; @class AWSRekognitionDeleteProjectPolicyResponse; @class AWSRekognitionDeleteProjectRequest; @class AWSRekognitionDeleteProjectResponse; @class AWSRekognitionDeleteProjectVersionRequest; @class AWSRekognitionDeleteProjectVersionResponse; @class AWSRekognitionDeleteStreamProcessorRequest; @class AWSRekognitionDeleteStreamProcessorResponse; @class AWSRekognitionDeleteUserRequest; @class AWSRekognitionDeleteUserResponse; @class AWSRekognitionDescribeCollectionRequest; @class AWSRekognitionDescribeCollectionResponse; @class AWSRekognitionDescribeDatasetRequest; @class AWSRekognitionDescribeDatasetResponse; @class AWSRekognitionDescribeProjectVersionsRequest; @class AWSRekognitionDescribeProjectVersionsResponse; @class AWSRekognitionDescribeProjectsRequest; @class AWSRekognitionDescribeProjectsResponse; @class AWSRekognitionDescribeStreamProcessorRequest; @class AWSRekognitionDescribeStreamProcessorResponse; @class AWSRekognitionDetectCustomLabelsRequest; @class AWSRekognitionDetectCustomLabelsResponse; @class AWSRekognitionDetectFacesRequest; @class AWSRekognitionDetectFacesResponse; @class AWSRekognitionDetectLabelsImageBackground; @class AWSRekognitionDetectLabelsImageForeground; @class AWSRekognitionDetectLabelsImageProperties; @class AWSRekognitionDetectLabelsImagePropertiesSettings; @class AWSRekognitionDetectLabelsImageQuality; @class AWSRekognitionDetectLabelsRequest; @class AWSRekognitionDetectLabelsResponse; @class AWSRekognitionDetectLabelsSettings; @class AWSRekognitionDetectModerationLabelsRequest; @class AWSRekognitionDetectModerationLabelsResponse; @class AWSRekognitionDetectProtectiveEquipmentRequest; @class AWSRekognitionDetectProtectiveEquipmentResponse; @class AWSRekognitionDetectTextFilters; @class AWSRekognitionDetectTextRequest; @class AWSRekognitionDetectTextResponse; @class AWSRekognitionDetectionFilter; @class AWSRekognitionDisassociateFacesRequest; @class AWSRekognitionDisassociateFacesResponse; @class AWSRekognitionDisassociatedFace; @class AWSRekognitionDistributeDataset; @class AWSRekognitionDistributeDatasetEntriesRequest; @class AWSRekognitionDistributeDatasetEntriesResponse; @class AWSRekognitionDominantColor; @class AWSRekognitionEmotion; @class AWSRekognitionEquipmentDetection; @class AWSRekognitionEvaluationResult; @class AWSRekognitionEyeDirection; @class AWSRekognitionEyeOpen; @class AWSRekognitionEyeglasses; @class AWSRekognitionFace; @class AWSRekognitionFaceDetail; @class AWSRekognitionFaceDetection; @class AWSRekognitionFaceMatch; @class AWSRekognitionFaceOccluded; @class AWSRekognitionFaceRecord; @class AWSRekognitionFaceSearchSettings; @class AWSRekognitionGender; @class AWSRekognitionGeneralLabelsSettings; @class AWSRekognitionGeometry; @class AWSRekognitionGetCelebrityInfoRequest; @class AWSRekognitionGetCelebrityInfoResponse; @class AWSRekognitionGetCelebrityRecognitionRequest; @class AWSRekognitionGetCelebrityRecognitionResponse; @class AWSRekognitionGetContentModerationRequest; @class AWSRekognitionGetContentModerationRequestMetadata; @class AWSRekognitionGetContentModerationResponse; @class AWSRekognitionGetFaceDetectionRequest; @class AWSRekognitionGetFaceDetectionResponse; @class AWSRekognitionGetFaceLivenessSessionResultsRequest; @class AWSRekognitionGetFaceLivenessSessionResultsResponse; @class AWSRekognitionGetFaceSearchRequest; @class AWSRekognitionGetFaceSearchResponse; @class AWSRekognitionGetLabelDetectionRequest; @class AWSRekognitionGetLabelDetectionRequestMetadata; @class AWSRekognitionGetLabelDetectionResponse; @class AWSRekognitionGetPersonTrackingRequest; @class AWSRekognitionGetPersonTrackingResponse; @class AWSRekognitionGetSegmentDetectionRequest; @class AWSRekognitionGetSegmentDetectionResponse; @class AWSRekognitionGetTextDetectionRequest; @class AWSRekognitionGetTextDetectionResponse; @class AWSRekognitionGroundTruthManifest; @class AWSRekognitionHumanLoopActivationOutput; @class AWSRekognitionHumanLoopConfig; @class AWSRekognitionHumanLoopDataAttributes; @class AWSRekognitionImage; @class AWSRekognitionImageQuality; @class AWSRekognitionIndexFacesRequest; @class AWSRekognitionIndexFacesResponse; @class AWSRekognitionInstance; @class AWSRekognitionKinesisDataStream; @class AWSRekognitionKinesisVideoStream; @class AWSRekognitionKinesisVideoStreamStartSelector; @class AWSRekognitionKnownGender; @class AWSRekognitionLabel; @class AWSRekognitionLabelAlias; @class AWSRekognitionLabelCategory; @class AWSRekognitionLabelDetection; @class AWSRekognitionLabelDetectionSettings; @class AWSRekognitionLandmark; @class AWSRekognitionListCollectionsRequest; @class AWSRekognitionListCollectionsResponse; @class AWSRekognitionListDatasetEntriesRequest; @class AWSRekognitionListDatasetEntriesResponse; @class AWSRekognitionListDatasetLabelsRequest; @class AWSRekognitionListDatasetLabelsResponse; @class AWSRekognitionListFacesRequest; @class AWSRekognitionListFacesResponse; @class AWSRekognitionListProjectPoliciesRequest; @class AWSRekognitionListProjectPoliciesResponse; @class AWSRekognitionListStreamProcessorsRequest; @class AWSRekognitionListStreamProcessorsResponse; @class AWSRekognitionListTagsForResourceRequest; @class AWSRekognitionListTagsForResourceResponse; @class AWSRekognitionListUsersRequest; @class AWSRekognitionListUsersResponse; @class AWSRekognitionLivenessOutputConfig; @class AWSRekognitionMatchedUser; @class AWSRekognitionModerationLabel; @class AWSRekognitionMouthOpen; @class AWSRekognitionMustache; @class AWSRekognitionNotificationChannel; @class AWSRekognitionOutputConfig; @class AWSRekognitionParent; @class AWSRekognitionPersonDetail; @class AWSRekognitionPersonDetection; @class AWSRekognitionPersonMatch; @class AWSRekognitionPoint; @class AWSRekognitionPose; @class AWSRekognitionProjectDescription; @class AWSRekognitionProjectPolicy; @class AWSRekognitionProjectVersionDescription; @class AWSRekognitionProtectiveEquipmentBodyPart; @class AWSRekognitionProtectiveEquipmentPerson; @class AWSRekognitionProtectiveEquipmentSummarizationAttributes; @class AWSRekognitionProtectiveEquipmentSummary; @class AWSRekognitionPutProjectPolicyRequest; @class AWSRekognitionPutProjectPolicyResponse; @class AWSRekognitionRecognizeCelebritiesRequest; @class AWSRekognitionRecognizeCelebritiesResponse; @class AWSRekognitionRegionOfInterest; @class AWSRekognitionS3Destination; @class AWSRekognitionS3Object; @class AWSRekognitionSearchFacesByImageRequest; @class AWSRekognitionSearchFacesByImageResponse; @class AWSRekognitionSearchFacesRequest; @class AWSRekognitionSearchFacesResponse; @class AWSRekognitionSearchUsersByImageRequest; @class AWSRekognitionSearchUsersByImageResponse; @class AWSRekognitionSearchUsersRequest; @class AWSRekognitionSearchUsersResponse; @class AWSRekognitionSearchedFace; @class AWSRekognitionSearchedFaceDetails; @class AWSRekognitionSearchedUser; @class AWSRekognitionSegmentDetection; @class AWSRekognitionSegmentTypeInfo; @class AWSRekognitionShotSegment; @class AWSRekognitionSmile; @class AWSRekognitionStartCelebrityRecognitionRequest; @class AWSRekognitionStartCelebrityRecognitionResponse; @class AWSRekognitionStartContentModerationRequest; @class AWSRekognitionStartContentModerationResponse; @class AWSRekognitionStartFaceDetectionRequest; @class AWSRekognitionStartFaceDetectionResponse; @class AWSRekognitionStartFaceSearchRequest; @class AWSRekognitionStartFaceSearchResponse; @class AWSRekognitionStartLabelDetectionRequest; @class AWSRekognitionStartLabelDetectionResponse; @class AWSRekognitionStartPersonTrackingRequest; @class AWSRekognitionStartPersonTrackingResponse; @class AWSRekognitionStartProjectVersionRequest; @class AWSRekognitionStartProjectVersionResponse; @class AWSRekognitionStartSegmentDetectionFilters; @class AWSRekognitionStartSegmentDetectionRequest; @class AWSRekognitionStartSegmentDetectionResponse; @class AWSRekognitionStartShotDetectionFilter; @class AWSRekognitionStartStreamProcessorRequest; @class AWSRekognitionStartStreamProcessorResponse; @class AWSRekognitionStartTechnicalCueDetectionFilter; @class AWSRekognitionStartTextDetectionFilters; @class AWSRekognitionStartTextDetectionRequest; @class AWSRekognitionStartTextDetectionResponse; @class AWSRekognitionStopProjectVersionRequest; @class AWSRekognitionStopProjectVersionResponse; @class AWSRekognitionStopStreamProcessorRequest; @class AWSRekognitionStopStreamProcessorResponse; @class AWSRekognitionStreamProcessingStartSelector; @class AWSRekognitionStreamProcessingStopSelector; @class AWSRekognitionStreamProcessor; @class AWSRekognitionStreamProcessorDataSharingPreference; @class AWSRekognitionStreamProcessorInput; @class AWSRekognitionStreamProcessorNotificationChannel; @class AWSRekognitionStreamProcessorOutput; @class AWSRekognitionStreamProcessorSettings; @class AWSRekognitionStreamProcessorSettingsForUpdate; @class AWSRekognitionSummary; @class AWSRekognitionSunglasses; @class AWSRekognitionTagResourceRequest; @class AWSRekognitionTagResourceResponse; @class AWSRekognitionTechnicalCueSegment; @class AWSRekognitionTestingData; @class AWSRekognitionTestingDataResult; @class AWSRekognitionTextDetection; @class AWSRekognitionTextDetectionResult; @class AWSRekognitionTrainingData; @class AWSRekognitionTrainingDataResult; @class AWSRekognitionUnindexedFace; @class AWSRekognitionUnsearchedFace; @class AWSRekognitionUnsuccessfulFaceAssociation; @class AWSRekognitionUnsuccessfulFaceDeletion; @class AWSRekognitionUnsuccessfulFaceDisassociation; @class AWSRekognitionUntagResourceRequest; @class AWSRekognitionUntagResourceResponse; @class AWSRekognitionUpdateDatasetEntriesRequest; @class AWSRekognitionUpdateDatasetEntriesResponse; @class AWSRekognitionUpdateStreamProcessorRequest; @class AWSRekognitionUpdateStreamProcessorResponse; @class AWSRekognitionUser; @class AWSRekognitionUserMatch; @class AWSRekognitionValidationData; @class AWSRekognitionVideo; @class AWSRekognitionVideoMetadata; /**

Structure containing the estimated age range, in years, for a face.

Amazon Rekognition estimates an age range for faces detected in the input image. Estimated age ranges can overlap. A face of a 5-year-old might have an estimated range of 4-6, while the face of a 6-year-old might have an estimated range of 4-8.

*/ @interface AWSRekognitionAgeRange : AWSModel /**

The highest estimated age.

*/ @property (nonatomic, strong) NSNumber * _Nullable high; /**

The lowest estimated age.

*/ @property (nonatomic, strong) NSNumber * _Nullable low; @end /**

Assets are the images that you use to train and evaluate a model version. Assets can also contain validation information that you use to debug a failed model training.

*/ @interface AWSRekognitionAsset : AWSModel /**

The S3 bucket that contains an Amazon Sagemaker Ground Truth format manifest file.

*/ @property (nonatomic, strong) AWSRekognitionGroundTruthManifest * _Nullable groundTruthManifest; @end /** */ @interface AWSRekognitionAssociateFacesRequest : AWSRequest /**

Idempotent token used to identify the request to AssociateFaces. If you use the same token with multiple AssociateFaces requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The ID of an existing collection containing the UserID.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

An array of FaceIDs to associate with the UserID.

*/ @property (nonatomic, strong) NSArray * _Nullable faceIds; /**

The ID for the existing UserID.

*/ @property (nonatomic, strong) NSString * _Nullable userId; /**

An optional value specifying the minimum confidence in the UserID match to return. The default value is 75.

*/ @property (nonatomic, strong) NSNumber * _Nullable userMatchThreshold; @end /** */ @interface AWSRekognitionAssociateFacesResponse : AWSModel /**

An array of AssociatedFace objects containing FaceIDs that are successfully associated with the UserID is returned. Returned if the AssociateFaces action is successful.

*/ @property (nonatomic, strong) NSArray * _Nullable associatedFaces; /**

An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully associated along with the reasons. Returned if the AssociateFaces action is successful.

*/ @property (nonatomic, strong) NSArray * _Nullable unsuccessfulFaceAssociations; /**

The status of an update made to a UserID. Reflects if the UserID has been updated for every requested change.

*/ @property (nonatomic, assign) AWSRekognitionUserStatus userStatus; @end /**

Provides face metadata for the faces that are associated to a specific UserID.

*/ @interface AWSRekognitionAssociatedFace : AWSModel /**

Unique identifier assigned to the face.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; @end /**

Metadata information about an audio stream. An array of AudioMetadata objects for the audio streams found in a stored video is returned by GetSegmentDetection.

*/ @interface AWSRekognitionAudioMetadata : AWSModel /**

The audio codec used to encode or decode the audio stream.

*/ @property (nonatomic, strong) NSString * _Nullable codec; /**

The duration of the audio stream in milliseconds.

*/ @property (nonatomic, strong) NSNumber * _Nullable durationMillis; /**

The number of audio channels in the segment.

*/ @property (nonatomic, strong) NSNumber * _Nullable numberOfChannels; /**

The sample rate for the audio stream.

*/ @property (nonatomic, strong) NSNumber * _Nullable sampleRate; @end /**

An image that is picked from the Face Liveness video and returned for audit trail purposes, returned as Base64-encoded bytes.

*/ @interface AWSRekognitionAuditImage : AWSModel /**

Identifies the bounding box around the label, face, text, object of interest, or personal protective equipment. The left (x-coordinate) and top (y-coordinate) are coordinates representing the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0).

The top and left values returned are ratios of the overall image size. For example, if the input image is 700x200 pixels, and the top-left coordinate of the bounding box is 350x50 pixels, the API returns a left value of 0.5 (350/700) and a top value of 0.25 (50/200).

The width and height values represent the dimensions of the bounding box as a ratio of the overall image dimension. For example, if the input image is 700x200 pixels, and the bounding box width is 70 pixels, the width returned is 0.1.

The bounding box coordinates can have negative values. For example, if Amazon Rekognition is able to detect a face that is at the image edge and is only partially visible, the service can return coordinates that are outside the image bounds and, depending on the image edge, you might get negative values or values greater than 1 for the left or top values.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for audit purposes.

*/ @property (nonatomic, strong) NSData * _Nullable bytes; /**

Provides the S3 bucket name and object name.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.

*/ @property (nonatomic, strong) AWSRekognitionS3Object * _Nullable s3Object; @end /**

Indicates whether or not the face has a beard, and the confidence level in the determination.

*/ @interface AWSRekognitionBeard : AWSModel /**

Level of confidence in the determination.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Boolean value that indicates whether the face has beard or not.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /**

A filter that allows you to control the black frame detection by specifying the black levels and pixel coverage of black pixels in a frame. As videos can come from multiple sources, formats, and time periods, they may contain different standards and varying noise levels for black frames that need to be accounted for. For more information, see StartSegmentDetection.

*/ @interface AWSRekognitionBlackFrame : AWSModel /**

A threshold used to determine the maximum luminance value for a pixel to be considered black. In a full color range video, luminance values range from 0-255. A pixel value of 0 is pure black, and the most strict filter. The maximum black pixel value is computed as follows: max_black_pixel_value = minimum_luminance + MaxPixelThreshold *luminance_range.

For example, for a full range video with BlackPixelThreshold = 0.1, max_black_pixel_value is 0 + 0.1 * (255-0) = 25.5.

The default value of MaxPixelThreshold is 0.2, which maps to a max_black_pixel_value of 51 for a full range video. You can lower this threshold to be more strict on black levels.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxPixelThreshold; /**

The minimum percentage of pixels in a frame that need to have a luminance below the max_black_pixel_value for a frame to be considered a black frame. Luminance is calculated using the BT.709 matrix.

The default value is 99, which means at least 99% of all pixels in the frame are black pixels as per the MaxPixelThreshold set. You can reduce this value to allow more noise on the black frame.

*/ @property (nonatomic, strong) NSNumber * _Nullable minCoveragePercentage; @end /**

Identifies the bounding box around the label, face, text, object of interest, or personal protective equipment. The left (x-coordinate) and top (y-coordinate) are coordinates representing the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0).

The top and left values returned are ratios of the overall image size. For example, if the input image is 700x200 pixels, and the top-left coordinate of the bounding box is 350x50 pixels, the API returns a left value of 0.5 (350/700) and a top value of 0.25 (50/200).

The width and height values represent the dimensions of the bounding box as a ratio of the overall image dimension. For example, if the input image is 700x200 pixels, and the bounding box width is 70 pixels, the width returned is 0.1.

The bounding box coordinates can have negative values. For example, if Amazon Rekognition is able to detect a face that is at the image edge and is only partially visible, the service can return coordinates that are outside the image bounds and, depending on the image edge, you might get negative values or values greater than 1 for the left or top values.

*/ @interface AWSRekognitionBoundingBox : AWSModel /**

Height of the bounding box as a ratio of the overall image height.

*/ @property (nonatomic, strong) NSNumber * _Nullable height; /**

Left coordinate of the bounding box as a ratio of overall image width.

*/ @property (nonatomic, strong) NSNumber * _Nullable left; /**

Top coordinate of the bounding box as a ratio of overall image height.

*/ @property (nonatomic, strong) NSNumber * _Nullable top; /**

Width of the bounding box as a ratio of the overall image width.

*/ @property (nonatomic, strong) NSNumber * _Nullable width; @end /**

Provides information about a celebrity recognized by the RecognizeCelebrities operation.

*/ @interface AWSRekognitionCelebrity : AWSModel /**

Provides information about the celebrity's face, such as its location on the image.

*/ @property (nonatomic, strong) AWSRekognitionComparedFace * _Nullable face; /**

A unique identifier for the celebrity.

*/ @property (nonatomic, strong) NSString * _Nullable identifier; /**

The known gender identity for the celebrity that matches the provided ID. The known gender identity can be Male, Female, Nonbinary, or Unlisted.

*/ @property (nonatomic, strong) AWSRekognitionKnownGender * _Nullable knownGender; /**

The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.

*/ @property (nonatomic, strong) NSNumber * _Nullable matchConfidence; /**

The name of the celebrity.

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

An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.

*/ @property (nonatomic, strong) NSArray * _Nullable urls; @end /**

Information about a recognized celebrity.

*/ @interface AWSRekognitionCelebrityDetail : AWSModel /**

Bounding box around the body of a celebrity.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Face details for the recognized celebrity.

*/ @property (nonatomic, strong) AWSRekognitionFaceDetail * _Nullable face; /**

The unique identifier for the celebrity.

*/ @property (nonatomic, strong) NSString * _Nullable identifier; /**

Retrieves the known gender for the celebrity.

*/ @property (nonatomic, strong) AWSRekognitionKnownGender * _Nullable knownGender; /**

The name of the celebrity.

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

An array of URLs pointing to additional celebrity information.

*/ @property (nonatomic, strong) NSArray * _Nullable urls; @end /**

Information about a detected celebrity and the time the celebrity was detected in a stored video. For more information, see GetCelebrityRecognition in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionCelebrityRecognition : AWSModel /**

Information about a recognized celebrity.

*/ @property (nonatomic, strong) AWSRekognitionCelebrityDetail * _Nullable celebrity; /**

The time, in milliseconds from the start of the video, that the celebrity was recognized. Note that Timestamp is not guaranteed to be accurate to the individual frame where the celebrity first appears.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /**

Provides information about a face in a target image that matches the source image face analyzed by CompareFaces. The Face property contains the bounding box of the face in the target image. The Similarity property is the confidence that the source image face matches the face in the bounding box.

*/ @interface AWSRekognitionCompareFacesMatch : AWSModel /**

Provides face metadata (bounding box and confidence that the bounding box actually contains a face).

*/ @property (nonatomic, strong) AWSRekognitionComparedFace * _Nullable face; /**

Level of confidence that the faces match.

*/ @property (nonatomic, strong) NSNumber * _Nullable similarity; @end /** */ @interface AWSRekognitionCompareFacesRequest : AWSRequest /**

A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't compared. If you specify AUTO, Amazon Rekognition chooses the quality bar. If you specify LOW, MEDIUM, or HIGH, filtering removes all faces that don’t meet the chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality detections can occur for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or a face with a pose that's too extreme to use. If you specify NONE, no filtering is performed. The default value is NONE.

To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.

*/ @property (nonatomic, assign) AWSRekognitionQualityFilter qualityFilter; /**

The minimum level of confidence in the face matches that a match must meet to be included in the FaceMatches array.

*/ @property (nonatomic, strong) NSNumber * _Nullable similarityThreshold; /**

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable sourceImage; /**

The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable targetImage; @end /** */ @interface AWSRekognitionCompareFacesResponse : AWSModel /**

An array of faces in the target image that match the source image face. Each CompareFacesMatch object provides the bounding box, the confidence level that the bounding box contains a face, and the similarity score for the face in the bounding box and the face in the source image.

*/ @property (nonatomic, strong) NSArray * _Nullable faceMatches; /**

The face in the source image that was used for comparison.

*/ @property (nonatomic, strong) AWSRekognitionComparedSourceImageFace * _Nullable sourceImageFace; /**

The value of SourceImageOrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

*/ @property (nonatomic, assign) AWSRekognitionOrientationCorrection sourceImageOrientationCorrection; /**

The value of TargetImageOrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

*/ @property (nonatomic, assign) AWSRekognitionOrientationCorrection targetImageOrientationCorrection; /**

An array of faces in the target image that did not match the source image face.

*/ @property (nonatomic, strong) NSArray * _Nullable unmatchedFaces; @end /**

Provides face metadata for target image faces that are analyzed by CompareFaces and RecognizeCelebrities.

*/ @interface AWSRekognitionComparedFace : AWSModel /**

Bounding box of the face.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

Level of confidence that what the bounding box contains is a face.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear".

*/ @property (nonatomic, strong) NSArray * _Nullable emotions; /**

An array of facial landmarks.

*/ @property (nonatomic, strong) NSArray * _Nullable landmarks; /**

Indicates the pose of the face as determined by its pitch, roll, and yaw.

*/ @property (nonatomic, strong) AWSRekognitionPose * _Nullable pose; /**

Identifies face image brightness and sharpness.

*/ @property (nonatomic, strong) AWSRekognitionImageQuality * _Nullable quality; /**

Indicates whether or not the face is smiling, and the confidence level in the determination.

*/ @property (nonatomic, strong) AWSRekognitionSmile * _Nullable smile; @end /**

Type that describes the face Amazon Rekognition chose to compare with the faces in the target. This contains a bounding box for the selected face and confidence level that the bounding box contains a face. Note that Amazon Rekognition selects the largest face in the source image for this comparison.

*/ @interface AWSRekognitionComparedSourceImageFace : AWSModel /**

Bounding box of the face.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

Confidence level that the selected bounding box contains a face.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; @end /**

Label detection settings to use on a streaming video. Defining the settings is required in the request parameter for CreateStreamProcessor. Including this setting in the CreateStreamProcessor request enables you to use the stream processor for label detection. You can then select what you want the stream processor to detect, such as people or pets. When the stream processor has started, one notification is sent for each object class specified. For example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected, as well as an end-of-session summary.

Required parameters: [Labels] */ @interface AWSRekognitionConnectedHomeSettings : AWSModel /**

Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".

*/ @property (nonatomic, strong) NSArray * _Nullable labels; /**

The minimum confidence required to label an object in the video.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; @end /**

The label detection settings you want to use in your stream processor. This includes the labels you want the stream processor to detect and the minimum confidence level allowed to label objects.

*/ @interface AWSRekognitionConnectedHomeSettingsForUpdate : AWSModel /**

Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".

*/ @property (nonatomic, strong) NSArray * _Nullable labels; /**

The minimum confidence required to label an object in the video.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; @end /**

Information about an inappropriate, unwanted, or offensive content label detection in a stored video.

*/ @interface AWSRekognitionContentModerationDetection : AWSModel /**

The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

*/ @property (nonatomic, strong) NSNumber * _Nullable durationMillis; /**

The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation label.

*/ @property (nonatomic, strong) NSNumber * _Nullable endTimestampMillis; /**

The content moderation label detected by in the stored video.

*/ @property (nonatomic, strong) AWSRekognitionModerationLabel * _Nullable moderationLabel; /**

The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation label.

*/ @property (nonatomic, strong) NSNumber * _Nullable startTimestampMillis; /**

Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the moderated content first appears.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /** */ @interface AWSRekognitionReplicateProjectVersionRequest : AWSRequest /**

The ARN of the project in the trusted AWS account that you want to copy the model version to.

*/ @property (nonatomic, strong) NSString * _Nullable destinationProjectArn; /**

The identifier for your AWS Key Management Service key (AWS KMS key). 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 training results and manifest files written to the output Amazon S3 bucket (OutputConfig).

If you choose to use your own KMS key, you need the following permissions on the KMS key.

  • kms:CreateGrant

  • kms:DescribeKey

  • kms:GenerateDataKey

  • kms:Decrypt

If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a key that AWS owns and manages.

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

The S3 bucket and folder location where the training output for the source model version is placed.

*/ @property (nonatomic, strong) AWSRekognitionOutputConfig * _Nullable outputConfig; /**

The ARN of the source project in the trusting AWS account.

*/ @property (nonatomic, strong) NSString * _Nullable sourceProjectArn; /**

The ARN of the model version in the source project that you want to copy to a destination project.

*/ @property (nonatomic, strong) NSString * _Nullable sourceProjectVersionArn; /**

The key-value tags to assign to the model version.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; /**

A name for the version of the model that's copied to the destination project.

*/ @property (nonatomic, strong) NSString * _Nullable versionName; @end /** */ @interface AWSRekognitionReplicateProjectVersionResponse : AWSModel /**

The ARN of the copied model version in the destination project.

*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @end /**

Information about an item of Personal Protective Equipment covering a corresponding body part. For more information, see DetectProtectiveEquipment.

*/ @interface AWSRekognitionCoversBodyPart : AWSModel /**

The confidence that Amazon Rekognition has in the value of Value.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

True if the PPE covers the corresponding body part, otherwise false.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /** */ @interface AWSRekognitionCreateCollectionRequest : AWSRequest /**

ID for the collection that you are creating.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

A set of tags (key-value pairs) that you want to attach to the collection.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /** */ @interface AWSRekognitionCreateCollectionResponse : AWSModel /**

Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.

*/ @property (nonatomic, strong) NSString * _Nullable collectionArn; /**

Version number of the face detection model associated with the collection you are creating.

*/ @property (nonatomic, strong) NSString * _Nullable faceModelVersion; /**

HTTP status code indicating the result of the operation.

*/ @property (nonatomic, strong) NSNumber * _Nullable statusCode; @end /** */ @interface AWSRekognitionCreateDatasetRequest : AWSRequest /**

The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.

*/ @property (nonatomic, strong) AWSRekognitionDatasetSource * _Nullable datasetSource; /**

The type of the dataset. Specify train to create a training dataset. Specify test to create a test dataset.

*/ @property (nonatomic, assign) AWSRekognitionDatasetType datasetType; /**

The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; @end /** */ @interface AWSRekognitionCreateDatasetResponse : AWSModel /**

The ARN of the created Amazon Rekognition Custom Labels dataset.

*/ @property (nonatomic, strong) NSString * _Nullable datasetArn; @end /** */ @interface AWSRekognitionCreateFaceLivenessSessionRequest : AWSRequest /**

Idempotent token is used to recognize the Face Liveness request. If the same token is used with multiple CreateFaceLivenessSession requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt audit images and reference images.

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

A session settings object. It contains settings for the operation to be performed. For Face Liveness, it accepts OutputConfig and AuditImagesLimit.

*/ @property (nonatomic, strong) AWSRekognitionCreateFaceLivenessSessionRequestSettings * _Nullable settings; @end /**

A session settings object. It contains settings for the operation to be performed. It accepts arguments for OutputConfig and AuditImagesLimit.

*/ @interface AWSRekognitionCreateFaceLivenessSessionRequestSettings : AWSModel /**

Number of audit images to be returned back. Takes an integer between 0-4. Any integer less than 0 will return 0, any integer above 4 will return 4 images in the response. By default, it is set to 0. The limit is best effort and is based on the actual duration of the selfie-video.

*/ @property (nonatomic, strong) NSNumber * _Nullable auditImagesLimit; /**

Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored. Note that the Amazon S3 bucket must be located in the caller's AWS account and in the same region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are auto-generated by the Face Liveness system. Requires that the caller has the s3:PutObject permission on the Amazon S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionLivenessOutputConfig * _Nullable outputConfig; @end /** */ @interface AWSRekognitionCreateFaceLivenessSessionResponse : AWSModel /**

A unique 128-bit UUID identifying a Face Liveness session.

*/ @property (nonatomic, strong) NSString * _Nullable sessionId; @end /** */ @interface AWSRekognitionCreateProjectRequest : AWSRequest /**

The name of the project to create.

*/ @property (nonatomic, strong) NSString * _Nullable projectName; @end /** */ @interface AWSRekognitionCreateProjectResponse : AWSModel /**

The Amazon Resource Name (ARN) of the new project. You can use the ARN to configure IAM access to the project.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; @end /** */ @interface AWSRekognitionCreateProjectVersionRequest : AWSRequest /**

The identifier for your AWS Key Management Service key (AWS KMS key). 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 training and test images copied into the service for model training. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig).

If you choose to use your own KMS key, you need the following permissions on the KMS key.

  • kms:CreateGrant

  • kms:DescribeKey

  • kms:GenerateDataKey

  • kms:Decrypt

If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a key that AWS owns and manages.

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

The Amazon S3 bucket location to store the results of training. The S3 bucket can be in any AWS account as long as the caller has s3:PutObject permissions on the S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionOutputConfig * _Nullable outputConfig; /**

The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; /**

A set of tags (key-value pairs) that you want to attach to the model.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; /**

Specifies an external manifest that the service uses to test the model. If you specify TestingData you must also specify TrainingData. The project must not have any associated datasets.

*/ @property (nonatomic, strong) AWSRekognitionTestingData * _Nullable testingData; /**

Specifies an external manifest that the services uses to train the model. If you specify TrainingData you must also specify TestingData. The project must not have any associated datasets.

*/ @property (nonatomic, strong) AWSRekognitionTrainingData * _Nullable trainingData; /**

A name for the version of the model. This value must be unique.

*/ @property (nonatomic, strong) NSString * _Nullable versionName; @end /** */ @interface AWSRekognitionCreateProjectVersionResponse : AWSModel /**

The ARN of the model version that was created. Use DescribeProjectVersion to get the current status of the training operation.

*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @end /** */ @interface AWSRekognitionCreateStreamProcessorRequest : AWSRequest /**

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

*/ @property (nonatomic, strong) NSArray * _Nullable regionsOfInterest; /**

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.

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

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.

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

A set of tags (key-value pairs) that you want to attach to the stream processor.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /** */ @interface AWSRekognitionCreateStreamProcessorResponse : AWSModel /**

Amazon Resource Number for the newly created stream processor.

*/ @property (nonatomic, strong) NSString * _Nullable streamProcessorArn; @end /** */ @interface AWSRekognitionCreateUserRequest : AWSRequest /**

Idempotent token used to identify the request to CreateUser. If you use the same token with multiple CreateUser requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The ID of an existing collection to which the new UserID needs to be created.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

ID for the UserID to be created. This ID needs to be unique within the collection.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /** */ @interface AWSRekognitionCreateUserResponse : AWSModel @end /**

A custom label detected in an image by a call to DetectCustomLabels.

*/ @interface AWSRekognitionCustomLabel : AWSModel /**

The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

*/ @property (nonatomic, strong) AWSRekognitionGeometry * _Nullable geometry; /**

The name of the custom label.

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

Describes updates or additions to a dataset. A Single update or addition is an entry (JSON Line) that provides information about a single image. To update an existing entry, you match the source-ref field of the update entry with the source-ref filed of the entry that you want to update. If the source-ref field doesn't match an existing entry, the entry is added to dataset as a new entry.

Required parameters: [GroundTruth] */ @interface AWSRekognitionDatasetChanges : AWSModel /**

A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.

For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.

*/ @property (nonatomic, strong) NSData * _Nullable groundTruth; @end /**

A description for a dataset. For more information, see DescribeDataset.

The status fields Status, StatusMessage, and StatusMessageCode reflect the last operation on the dataset.

*/ @interface AWSRekognitionDatasetDescription : AWSModel /**

The Unix timestamp for the time and date that the dataset was created.

*/ @property (nonatomic, strong) NSDate * _Nullable creationTimestamp; /**

The status message code for the dataset.

*/ @property (nonatomic, strong) AWSRekognitionDatasetStats * _Nullable datasetStats; /**

The Unix timestamp for the date and time that the dataset was last updated.

*/ @property (nonatomic, strong) NSDate * _Nullable lastUpdatedTimestamp; /**

The status of the dataset.

*/ @property (nonatomic, assign) AWSRekognitionDatasetStatus status; /**

The status message for the dataset.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.

*/ @property (nonatomic, assign) AWSRekognitionDatasetStatusMessageCode statusMessageCode; @end /**

Describes a dataset label. For more information, see ListDatasetLabels.

*/ @interface AWSRekognitionDatasetLabelDescription : AWSModel /**

The name of the label.

*/ @property (nonatomic, strong) NSString * _Nullable labelName; /**

Statistics about the label.

*/ @property (nonatomic, strong) AWSRekognitionDatasetLabelStats * _Nullable labelStats; @end /**

Statistics about a label used in a dataset. For more information, see DatasetLabelDescription.

*/ @interface AWSRekognitionDatasetLabelStats : AWSModel /**

The total number of images that have the label assigned to a bounding box.

*/ @property (nonatomic, strong) NSNumber * _Nullable boundingBoxCount; /**

The total number of images that use the label.

*/ @property (nonatomic, strong) NSNumber * _Nullable entryCount; @end /**

Summary information for an Amazon Rekognition Custom Labels dataset. For more information, see ProjectDescription.

*/ @interface AWSRekognitionDatasetMetadata : AWSModel /**

The Unix timestamp for the date and time that the dataset was created.

*/ @property (nonatomic, strong) NSDate * _Nullable creationTimestamp; /**

The Amazon Resource Name (ARN) for the dataset.

*/ @property (nonatomic, strong) NSString * _Nullable datasetArn; /**

The type of the dataset.

*/ @property (nonatomic, assign) AWSRekognitionDatasetType datasetType; /**

The status for the dataset.

*/ @property (nonatomic, assign) AWSRekognitionDatasetStatus status; /**

The status message for the dataset.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.

*/ @property (nonatomic, assign) AWSRekognitionDatasetStatusMessageCode statusMessageCode; @end /**

The source that Amazon Rekognition Custom Labels uses to create a dataset. To use an Amazon Sagemaker format manifest file, specify the S3 bucket location in the GroundTruthManifest field. The S3 bucket must be in your AWS account. To create a copy of an existing dataset, specify the Amazon Resource Name (ARN) of an existing dataset in DatasetArn.

You need to specify a value for DatasetArn or GroundTruthManifest, but not both. if you supply both values, or if you don't specify any values, an InvalidParameterException exception occurs.

For more information, see CreateDataset.

*/ @interface AWSRekognitionDatasetSource : AWSModel /**

The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.

*/ @property (nonatomic, strong) NSString * _Nullable datasetArn; /**

The S3 bucket that contains an Amazon Sagemaker Ground Truth format manifest file.

*/ @property (nonatomic, strong) AWSRekognitionGroundTruthManifest * _Nullable groundTruthManifest; @end /**

Provides statistics about a dataset. For more information, see DescribeDataset.

*/ @interface AWSRekognitionDatasetStats : AWSModel /**

The total number of entries that contain at least one error.

*/ @property (nonatomic, strong) NSNumber * _Nullable errorEntries; /**

The total number of images in the dataset that have labels.

*/ @property (nonatomic, strong) NSNumber * _Nullable labeledEntries; /**

The total number of images in the dataset.

*/ @property (nonatomic, strong) NSNumber * _Nullable totalEntries; /**

The total number of labels declared in the dataset.

*/ @property (nonatomic, strong) NSNumber * _Nullable totalLabels; @end /** */ @interface AWSRekognitionDeleteCollectionRequest : AWSRequest /**

ID of the collection to delete.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; @end /** */ @interface AWSRekognitionDeleteCollectionResponse : AWSModel /**

HTTP status code that indicates the result of the operation.

*/ @property (nonatomic, strong) NSNumber * _Nullable statusCode; @end /** */ @interface AWSRekognitionDeleteDatasetRequest : AWSRequest /**

The ARN of the Amazon Rekognition Custom Labels dataset that you want to delete.

*/ @property (nonatomic, strong) NSString * _Nullable datasetArn; @end /** */ @interface AWSRekognitionDeleteDatasetResponse : AWSModel @end /** */ @interface AWSRekognitionDeleteFacesRequest : AWSRequest /**

Collection from which to remove the specific faces.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

An array of face IDs to delete.

*/ @property (nonatomic, strong) NSArray * _Nullable faceIds; @end /** */ @interface AWSRekognitionDeleteFacesResponse : AWSModel /**

An array of strings (face IDs) of the faces that were deleted.

*/ @property (nonatomic, strong) NSArray * _Nullable deletedFaces; /**

An array of any faces that weren't deleted.

*/ @property (nonatomic, strong) NSArray * _Nullable unsuccessfulFaceDeletions; @end /** */ @interface AWSRekognitionDeleteProjectPolicyRequest : AWSRequest /**

The name of the policy that you want to delete.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; /**

The ID of the project policy revision that you want to delete.

*/ @property (nonatomic, strong) NSString * _Nullable policyRevisionId; /**

The Amazon Resource Name (ARN) of the project that the project policy you want to delete is attached to.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; @end /** */ @interface AWSRekognitionDeleteProjectPolicyResponse : AWSModel @end /** */ @interface AWSRekognitionDeleteProjectRequest : AWSRequest /**

The Amazon Resource Name (ARN) of the project that you want to delete.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; @end /** */ @interface AWSRekognitionDeleteProjectResponse : AWSModel /**

The current status of the delete project operation.

*/ @property (nonatomic, assign) AWSRekognitionProjectStatus status; @end /** */ @interface AWSRekognitionDeleteProjectVersionRequest : AWSRequest /**

The Amazon Resource Name (ARN) of the model version that you want to delete.

*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @end /** */ @interface AWSRekognitionDeleteProjectVersionResponse : AWSModel /**

The status of the deletion operation.

*/ @property (nonatomic, assign) AWSRekognitionProjectVersionStatus status; @end /** */ @interface AWSRekognitionDeleteStreamProcessorRequest : AWSRequest /**

The name of the stream processor you want to delete.

*/ @property (nonatomic, strong) NSString * _Nullable name; @end /** */ @interface AWSRekognitionDeleteStreamProcessorResponse : AWSModel @end /** */ @interface AWSRekognitionDeleteUserRequest : AWSRequest /**

Idempotent token used to identify the request to DeleteUser. If you use the same token with multiple DeleteUser requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The ID of an existing collection from which the UserID needs to be deleted.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

ID for the UserID to be deleted.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /** */ @interface AWSRekognitionDeleteUserResponse : AWSModel @end /** */ @interface AWSRekognitionDescribeCollectionRequest : AWSRequest /**

The ID of the collection to describe.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; @end /** */ @interface AWSRekognitionDescribeCollectionResponse : AWSModel /**

The Amazon Resource Name (ARN) of the collection.

*/ @property (nonatomic, strong) NSString * _Nullable collectionARN; /**

The number of milliseconds since the Unix epoch time until the creation of the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970.

*/ @property (nonatomic, strong) NSDate * _Nullable creationTimestamp; /**

The number of faces that are indexed into the collection. To index faces into a collection, use IndexFaces.

*/ @property (nonatomic, strong) NSNumber * _Nullable faceCount; /**

The version of the face model that's used by the collection for face detection.

For more information, see Model versioning in the Amazon Rekognition Developer Guide.

*/ @property (nonatomic, strong) NSString * _Nullable faceModelVersion; /**

The number of UserIDs assigned to the specified colleciton.

*/ @property (nonatomic, strong) NSNumber * _Nullable userCount; @end /** */ @interface AWSRekognitionDescribeDatasetRequest : AWSRequest /**

The Amazon Resource Name (ARN) of the dataset that you want to describe.

*/ @property (nonatomic, strong) NSString * _Nullable datasetArn; @end /** */ @interface AWSRekognitionDescribeDatasetResponse : AWSModel /**

The description for the dataset.

*/ @property (nonatomic, strong) AWSRekognitionDatasetDescription * _Nullable datasetDescription; @end /** */ @interface AWSRekognitionDescribeProjectVersionsRequest : AWSRequest /**

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The Amazon Resource Name (ARN) of the project that contains the models you want to describe.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; /**

A list of model version names that you want to describe. You can add up to 10 model version names to the list. If you don't specify a value, all model descriptions are returned. A version name is part of a model (ProjectVersion) ARN. For example, my-model.2020-01-21T09.10.15 is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123.

*/ @property (nonatomic, strong) NSArray * _Nullable versionNames; @end /** */ @interface AWSRekognitionDescribeProjectVersionsResponse : AWSModel /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

A list of model descriptions. The list is sorted by the creation date and time of the model versions, latest to earliest.

*/ @property (nonatomic, strong) NSArray * _Nullable projectVersionDescriptions; @end /** */ @interface AWSRekognitionDescribeProjectsRequest : AWSRequest /**

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

A list of the projects that you want Amazon Rekognition Custom Labels to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.

*/ @property (nonatomic, strong) NSArray * _Nullable projectNames; @end /** */ @interface AWSRekognitionDescribeProjectsResponse : AWSModel /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

A list of project descriptions. The list is sorted by the date and time the projects are created.

*/ @property (nonatomic, strong) NSArray * _Nullable projectDescriptions; @end /** */ @interface AWSRekognitionDescribeStreamProcessorRequest : AWSRequest /**

Name of the stream processor for which you want information.

*/ @property (nonatomic, strong) NSString * _Nullable name; @end /** */ @interface AWSRekognitionDescribeStreamProcessorResponse : AWSModel /**

Date and time the stream processor was created

*/ @property (nonatomic, strong) NSDate * _Nullable creationTimestamp; /**

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.

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

Kinesis video stream that provides the source streaming video.

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

The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors.

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

The time, in Unix format, the stream processor was last updated. For example, when the stream processor moves from a running state to a failed state, or when the user starts or stops the stream processor.

*/ @property (nonatomic, strong) NSDate * _Nullable lastUpdateTimestamp; /**

Name of the stream processor.

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

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.

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

Kinesis data stream to which Amazon Rekognition Video puts the analysis results.

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

Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.

*/ @property (nonatomic, strong) NSArray * _Nullable regionsOfInterest; /**

ARN of the IAM role that allows access to the stream processor.

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

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.

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

Current status of the stream processor.

*/ @property (nonatomic, assign) AWSRekognitionStreamProcessorStatus status; /**

Detailed status message about the stream processor.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

ARN of the stream processor.

*/ @property (nonatomic, strong) NSString * _Nullable streamProcessorArn; @end /** */ @interface AWSRekognitionDetectCustomLabelsRequest : AWSRequest /**

Provides the input image either as bytes or an S3 object.

You pass image bytes to an Amazon Rekognition API operation by using the Bytes property. For example, you would use the Bytes property to pass an image loaded from a local file system. Image bytes passed by using the Bytes property must be base64-encoded. Your code may not need to encode image bytes if you are using an AWS SDK to call Amazon Rekognition API operations.

For more information, see Analyzing an Image Loaded from a Local File System in the Amazon Rekognition Developer Guide.

You pass images stored in an S3 bucket to an Amazon Rekognition API operation by using the S3Object property. Images stored in an S3 bucket do not need to be base64-encoded.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes using the Bytes property is not supported. You must first upload the image to an Amazon S3 bucket and then call the operation using the S3Object property.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; /**

Maximum number of results you want the service to return in the response. The service returns the specified number of highest confidence labels ranked from highest confidence to lowest.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

Specifies the minimum confidence level for the labels to return. DetectCustomLabels doesn't return any labels with a confidence value that's lower than this specified value. If you specify a value of 0, DetectCustomLabels returns all labels, regardless of the assumed threshold applied to each label. If you don't specify a value for MinConfidence, DetectCustomLabels returns labels based on the assumed threshold of each label.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; /**

The ARN of the model version that you want to use.

*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @end /** */ @interface AWSRekognitionDetectCustomLabelsResponse : AWSModel /**

An array of custom labels detected in the input image.

*/ @property (nonatomic, strong) NSArray * _Nullable customLabels; @end /** */ @interface AWSRekognitionDetectFacesRequest : AWSRequest /**

An array of facial attributes you want to be returned. A DEFAULT subset of facial attributes - BoundingBox, Confidence, Pose, Quality, and Landmarks - will always be returned. You can request for specific facial attributes (in addition to the default list) - by using ["DEFAULT", "FACE_OCCLUDED"] or just ["FACE_OCCLUDED"]. You can request for all facial attributes by using ["ALL"]. Requesting more attributes may increase response time.

If you provide both, ["ALL", "DEFAULT"], the service uses a logical "AND" operator to determine which attributes to return (in this case, all attributes).

*/ @property (nonatomic, strong) NSArray * _Nullable attributes; /**

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; @end /** */ @interface AWSRekognitionDetectFacesResponse : AWSModel /**

Details of each face found in the image.

*/ @property (nonatomic, strong) NSArray * _Nullable faceDetails; /**

The value of OrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

*/ @property (nonatomic, assign) AWSRekognitionOrientationCorrection orientationCorrection; @end /**

The background of the image with regard to image quality and dominant colors.

*/ @interface AWSRekognitionDetectLabelsImageBackground : AWSModel /**

The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

*/ @property (nonatomic, strong) NSArray * _Nullable dominantColors; /**

The quality of the image background as defined by brightness and sharpness.

*/ @property (nonatomic, strong) AWSRekognitionDetectLabelsImageQuality * _Nullable quality; @end /**

The foreground of the image with regard to image quality and dominant colors.

*/ @interface AWSRekognitionDetectLabelsImageForeground : AWSModel /**

The dominant colors found in the foreground of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

*/ @property (nonatomic, strong) NSArray * _Nullable dominantColors; /**

The quality of the image foreground as defined by brightness and sharpness.

*/ @property (nonatomic, strong) AWSRekognitionDetectLabelsImageQuality * _Nullable quality; @end /**

Information about the quality and dominant colors of an input image. Quality and color information is returned for the entire image, foreground, and background.

*/ @interface AWSRekognitionDetectLabelsImageProperties : AWSModel /**

Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.

*/ @property (nonatomic, strong) AWSRekognitionDetectLabelsImageBackground * _Nullable background; /**

Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

*/ @property (nonatomic, strong) NSArray * _Nullable dominantColors; /**

Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.

*/ @property (nonatomic, strong) AWSRekognitionDetectLabelsImageForeground * _Nullable foreground; /**

Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.

*/ @property (nonatomic, strong) AWSRekognitionDetectLabelsImageQuality * _Nullable quality; @end /**

Settings for the IMAGE_PROPERTIES feature type.

*/ @interface AWSRekognitionDetectLabelsImagePropertiesSettings : AWSModel /**

The maximum number of dominant colors to return when detecting labels in an image. The default value is 10.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxDominantColors; @end /**

The quality of an image provided for label detection, with regard to brightness, sharpness, and contrast.

*/ @interface AWSRekognitionDetectLabelsImageQuality : AWSModel /**

The brightness of an image provided for label detection.

*/ @property (nonatomic, strong) NSNumber * _Nullable brightness; /**

The contrast of an image provided for label detection.

*/ @property (nonatomic, strong) NSNumber * _Nullable contrast; /**

The sharpness of an image provided for label detection.

*/ @property (nonatomic, strong) NSNumber * _Nullable sharpness; @end /** */ @interface AWSRekognitionDetectLabelsRequest : AWSRequest /**

A list of the types of analysis to perform. Specifying GENERAL_LABELS uses the label detection feature, while specifying IMAGE_PROPERTIES returns information regarding image color and quality. If no option is specified GENERAL_LABELS is used by default.

*/ @property (nonatomic, strong) NSArray * _Nullable features; /**

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. Images stored in an S3 Bucket do not need to be base64-encoded.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; /**

Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxLabels; /**

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value.

If MinConfidence is not specified, the operation returns labels with a confidence values greater than or equal to 55 percent.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; /**

A list of the filters to be applied to returned detected labels and image properties. Specified filters can be inclusive, exclusive, or a combination of both. Filters can be used for individual labels or label categories. The exact label names or label categories must be supplied. For a full list of labels and label categories, see Detecting labels.

*/ @property (nonatomic, strong) AWSRekognitionDetectLabelsSettings * _Nullable settings; @end /** */ @interface AWSRekognitionDetectLabelsResponse : AWSModel /**

Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.

*/ @property (nonatomic, strong) AWSRekognitionDetectLabelsImageProperties * _Nullable imageProperties; /**

Version number of the label detection model that was used to detect labels.

*/ @property (nonatomic, strong) NSString * _Nullable labelModelVersion; /**

An array of labels for the real-world objects detected.

*/ @property (nonatomic, strong) NSArray * _Nullable labels; /**

The value of OrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

*/ @property (nonatomic, assign) AWSRekognitionOrientationCorrection orientationCorrection; @end /**

Settings for the DetectLabels request. Settings can include filters for both GENERAL_LABELS and IMAGE_PROPERTIES. GENERAL_LABELS filters can be inclusive or exclusive and applied to individual labels or label categories. IMAGE_PROPERTIES filters allow specification of a maximum number of dominant colors.

*/ @interface AWSRekognitionDetectLabelsSettings : AWSModel /**

Contains the specified filters for GENERAL_LABELS.

*/ @property (nonatomic, strong) AWSRekognitionGeneralLabelsSettings * _Nullable generalLabels; /**

Contains the chosen number of maximum dominant colors in an image.

*/ @property (nonatomic, strong) AWSRekognitionDetectLabelsImagePropertiesSettings * _Nullable imageProperties; @end /** */ @interface AWSRekognitionDetectModerationLabelsRequest : AWSRequest /**

Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.

*/ @property (nonatomic, strong) AWSRekognitionHumanLoopConfig * _Nullable humanLoopConfig; /**

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; /**

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.

If you don't specify MinConfidence, the operation returns labels with confidence values greater than or equal to 50 percent.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; @end /** */ @interface AWSRekognitionDetectModerationLabelsResponse : AWSModel /**

Shows the results of the human in the loop evaluation.

*/ @property (nonatomic, strong) AWSRekognitionHumanLoopActivationOutput * _Nullable humanLoopActivationOutput; /**

Array of detected Moderation labels and the time, in milliseconds from the start of the video, they were detected.

*/ @property (nonatomic, strong) NSArray * _Nullable moderationLabels; /**

Version number of the moderation detection model that was used to detect unsafe content.

*/ @property (nonatomic, strong) NSString * _Nullable moderationModelVersion; @end /** */ @interface AWSRekognitionDetectProtectiveEquipmentRequest : AWSRequest /**

The image in which you want to detect PPE on detected persons. The image can be passed as image bytes or you can reference an image stored in an Amazon S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; /**

An array of PPE types that you want to summarize.

*/ @property (nonatomic, strong) AWSRekognitionProtectiveEquipmentSummarizationAttributes * _Nullable summarizationAttributes; @end /** */ @interface AWSRekognitionDetectProtectiveEquipmentResponse : AWSModel /**

An array of persons detected in the image (including persons not wearing PPE).

*/ @property (nonatomic, strong) NSArray * _Nullable persons; /**

The version number of the PPE detection model used to detect PPE in the image.

*/ @property (nonatomic, strong) NSString * _Nullable protectiveEquipmentModelVersion; /**

Summary information for the types of PPE specified in the SummarizationAttributes input parameter.

*/ @property (nonatomic, strong) AWSRekognitionProtectiveEquipmentSummary * _Nullable summary; @end /**

A set of optional parameters that you can use to set the criteria that the text must meet to be included in your response. WordFilter looks at a word’s height, width, and minimum confidence. RegionOfInterest lets you set a specific region of the image to look for text in.

*/ @interface AWSRekognitionDetectTextFilters : AWSModel /**

A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of the image.

*/ @property (nonatomic, strong) NSArray * _Nullable regionsOfInterest; /**

A set of parameters that allow you to filter out certain results from your returned results.

*/ @property (nonatomic, strong) AWSRekognitionDetectionFilter * _Nullable wordFilter; @end /** */ @interface AWSRekognitionDetectTextRequest : AWSRequest /**

Optional parameters that let you set the criteria that the text must meet to be included in your response.

*/ @property (nonatomic, strong) AWSRekognitionDetectTextFilters * _Nullable filters; /**

The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; @end /** */ @interface AWSRekognitionDetectTextResponse : AWSModel /**

An array of text that was detected in the input image.

*/ @property (nonatomic, strong) NSArray * _Nullable textDetections; /**

The model version used to detect text.

*/ @property (nonatomic, strong) NSString * _Nullable textModelVersion; @end /**

A set of parameters that allow you to filter out certain results from your returned results.

*/ @interface AWSRekognitionDetectionFilter : AWSModel /**

Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.

*/ @property (nonatomic, strong) NSNumber * _Nullable minBoundingBoxHeight; /**

Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.

*/ @property (nonatomic, strong) NSNumber * _Nullable minBoundingBoxWidth; /**

Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0 and 100. The default MinConfidence is 80.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; @end /** */ @interface AWSRekognitionDisassociateFacesRequest : AWSRequest /**

Idempotent token used to identify the request to DisassociateFaces. If you use the same token with multiple DisassociateFaces requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The ID of an existing collection containing the UserID.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

An array of face IDs to disassociate from the UserID.

*/ @property (nonatomic, strong) NSArray * _Nullable faceIds; /**

ID for the existing UserID.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /** */ @interface AWSRekognitionDisassociateFacesResponse : AWSModel /**

An array of DissociatedFace objects containing FaceIds that are successfully disassociated with the UserID is returned. Returned if the DisassociatedFaces action is successful.

*/ @property (nonatomic, strong) NSArray * _Nullable disassociatedFaces; /**

An array of UnsuccessfulDisassociation objects containing FaceIds that are not successfully associated, along with the reasons for the failure to associate. Returned if the DisassociateFaces action is successful.

*/ @property (nonatomic, strong) NSArray * _Nullable unsuccessfulFaceDisassociations; /**

The status of an update made to a User. Reflects if the User has been updated for every requested change.

*/ @property (nonatomic, assign) AWSRekognitionUserStatus userStatus; @end /**

Provides face metadata for the faces that are disassociated from a specific UserID.

*/ @interface AWSRekognitionDisassociatedFace : AWSModel /**

Unique identifier assigned to the face.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; @end /**

A training dataset or a test dataset used in a dataset distribution operation. For more information, see DistributeDatasetEntries.

Required parameters: [Arn] */ @interface AWSRekognitionDistributeDataset : AWSModel /**

The Amazon Resource Name (ARN) of the dataset that you want to use.

*/ @property (nonatomic, strong) NSString * _Nullable arn; @end /** */ @interface AWSRekognitionDistributeDatasetEntriesRequest : AWSRequest /**

The ARNS for the training dataset and test dataset that you want to use. The datasets must belong to the same project. The test dataset must be empty.

*/ @property (nonatomic, strong) NSArray * _Nullable datasets; @end /** */ @interface AWSRekognitionDistributeDatasetEntriesResponse : AWSModel @end /**

A description of the dominant colors in an image.

*/ @interface AWSRekognitionDominantColor : AWSModel /**

The Blue RGB value for a dominant color.

*/ @property (nonatomic, strong) NSNumber * _Nullable blue; /**

The CSS color name of a dominant color.

*/ @property (nonatomic, strong) NSString * _Nullable CSSColor; /**

The Green RGB value for a dominant color.

*/ @property (nonatomic, strong) NSNumber * _Nullable green; /**

The Hex code equivalent of the RGB values for a dominant color.

*/ @property (nonatomic, strong) NSString * _Nullable hexCode; /**

The percentage of image pixels that have a given dominant color.

*/ @property (nonatomic, strong) NSNumber * _Nullable pixelPercent; /**

The Red RGB value for a dominant color.

*/ @property (nonatomic, strong) NSNumber * _Nullable red; /**

One of 12 simplified color names applied to a dominant color.

*/ @property (nonatomic, strong) NSString * _Nullable simplifiedColor; @end /**

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

*/ @interface AWSRekognitionEmotion : AWSModel /**

Level of confidence in the determination.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Type of emotion detected.

*/ @property (nonatomic, assign) AWSRekognitionEmotionName types; @end /**

Information about an item of Personal Protective Equipment (PPE) detected by DetectProtectiveEquipment. For more information, see DetectProtectiveEquipment.

*/ @interface AWSRekognitionEquipmentDetection : AWSModel /**

A bounding box surrounding the item of detected PPE.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

The confidence that Amazon Rekognition has that the bounding box (BoundingBox) contains an item of PPE.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Information about the body part covered by the detected PPE.

*/ @property (nonatomic, strong) AWSRekognitionCoversBodyPart * _Nullable coversBodyPart; /**

The type of detected PPE.

*/ @property (nonatomic, assign) AWSRekognitionProtectiveEquipmentType types; @end /**

The evaluation results for the training of a model.

*/ @interface AWSRekognitionEvaluationResult : AWSModel /**

The F1 score for the evaluation of all labels. The F1 score metric evaluates the overall precision and recall performance of the model as a single value. A higher value indicates better precision and recall performance. A lower score indicates that precision, recall, or both are performing poorly.

*/ @property (nonatomic, strong) NSNumber * _Nullable f1Score; /**

The S3 bucket that contains the training summary.

*/ @property (nonatomic, strong) AWSRekognitionSummary * _Nullable summary; @end /**

Indicates the direction the eyes are gazing in (independent of the head pose) as determined by its pitch and yaw.

*/ @interface AWSRekognitionEyeDirection : AWSModel /**

The confidence that the service has in its predicted eye direction.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Value representing eye direction on the pitch axis.

*/ @property (nonatomic, strong) NSNumber * _Nullable pitch; /**

Value representing eye direction on the yaw axis.

*/ @property (nonatomic, strong) NSNumber * _Nullable yaw; @end /**

Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

*/ @interface AWSRekognitionEyeOpen : AWSModel /**

Level of confidence in the determination.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Boolean value that indicates whether the eyes on the face are open.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /**

Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.

*/ @interface AWSRekognitionEyeglasses : AWSModel /**

Level of confidence in the determination.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Boolean value that indicates whether the face is wearing eye glasses or not.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /**

Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.

*/ @interface AWSRekognitionFace : AWSModel /**

Bounding box of the face.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

Confidence level that the bounding box contains a face (and not a different object such as a tree).

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Identifier that you assign to all the faces in the input image.

*/ @property (nonatomic, strong) NSString * _Nullable externalImageId; /**

Unique identifier that Amazon Rekognition assigns to the face.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; /**

Unique identifier that Amazon Rekognition assigns to the input image.

*/ @property (nonatomic, strong) NSString * _Nullable imageId; /**

The version of the face detect and storage model that was used when indexing the face vector.

*/ @property (nonatomic, strong) NSString * _Nullable indexFacesModelVersion; /**

Unique identifier assigned to the user.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /**

Structure containing attributes of the face that the algorithm detected.

A FaceDetail object contains either the default facial attributes or all facial attributes. The default attributes are BoundingBox, Confidence, Landmarks, Pose, and Quality.

GetFaceDetection is the only Amazon Rekognition Video stored video operation that can return a FaceDetail object with all attributes. To specify which attributes to return, use the FaceAttributes input parameter for StartFaceDetection. The following Amazon Rekognition Video operations return only the default attributes. The corresponding Start operations don't have a FaceAttributes input parameter:

  • GetCelebrityRecognition

  • GetPersonTracking

  • GetFaceSearch

The Amazon Rekognition Image DetectFaces and IndexFaces operations can return all facial attributes. To specify which attributes to return, use the Attributes input parameter for DetectFaces. For IndexFaces, use the DetectAttributes input parameter.

*/ @interface AWSRekognitionFaceDetail : AWSModel /**

The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.

*/ @property (nonatomic, strong) AWSRekognitionAgeRange * _Nullable ageRange; /**

Indicates whether or not the face has a beard, and the confidence level in the determination.

*/ @property (nonatomic, strong) AWSRekognitionBeard * _Nullable beard; /**

Bounding box of the face. Default attribute.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

*/ @property (nonatomic, strong) NSArray * _Nullable emotions; /**

Indicates the direction the eyes are gazing in, as defined by pitch and yaw.

*/ @property (nonatomic, strong) AWSRekognitionEyeDirection * _Nullable eyeDirection; /**

Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.

*/ @property (nonatomic, strong) AWSRekognitionEyeglasses * _Nullable eyeglasses; /**

Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

*/ @property (nonatomic, strong) AWSRekognitionEyeOpen * _Nullable eyesOpen; /**

FaceOccluded should return "true" with a high confidence score if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. FaceOccluded should return "false" with a high confidence score if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.

*/ @property (nonatomic, strong) AWSRekognitionFaceOccluded * _Nullable faceOccluded; /**

The predicted gender of a detected face.

*/ @property (nonatomic, strong) AWSRekognitionGender * _Nullable gender; /**

Indicates the location of landmarks on the face. Default attribute.

*/ @property (nonatomic, strong) NSArray * _Nullable landmarks; /**

Indicates whether or not the mouth on the face is open, and the confidence level in the determination.

*/ @property (nonatomic, strong) AWSRekognitionMouthOpen * _Nullable mouthOpen; /**

Indicates whether or not the face has a mustache, and the confidence level in the determination.

*/ @property (nonatomic, strong) AWSRekognitionMustache * _Nullable mustache; /**

Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.

*/ @property (nonatomic, strong) AWSRekognitionPose * _Nullable pose; /**

Identifies image brightness and sharpness. Default attribute.

*/ @property (nonatomic, strong) AWSRekognitionImageQuality * _Nullable quality; /**

Indicates whether or not the face is smiling, and the confidence level in the determination.

*/ @property (nonatomic, strong) AWSRekognitionSmile * _Nullable smile; /**

Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.

*/ @property (nonatomic, strong) AWSRekognitionSunglasses * _Nullable sunglasses; @end /**

Information about a face detected in a video analysis request and the time the face was detected in the video.

*/ @interface AWSRekognitionFaceDetection : AWSModel /**

The face properties for the detected face.

*/ @property (nonatomic, strong) AWSRekognitionFaceDetail * _Nullable face; /**

Time, in milliseconds from the start of the video, that the face was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the face first appears.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /**

Provides face metadata. In addition, it also provides the confidence in the match of this face with the input face.

*/ @interface AWSRekognitionFaceMatch : AWSModel /**

Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.

*/ @property (nonatomic, strong) AWSRekognitionFace * _Nullable face; /**

Confidence in the match of this face with the input face.

*/ @property (nonatomic, strong) NSNumber * _Nullable similarity; @end /**

FaceOccluded should return "true" with a high confidence score if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. FaceOccluded should return "false" with a high confidence score if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.

You can use FaceOccluded to determine if an obstruction on a face negatively impacts using the image for face matching.

*/ @interface AWSRekognitionFaceOccluded : AWSModel /**

The confidence that the service has detected the presence of a face occlusion.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /**

Object containing both the face metadata (stored in the backend database), and facial attributes that are detected but aren't stored in the database.

*/ @interface AWSRekognitionFaceRecord : AWSModel /**

Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.

*/ @property (nonatomic, strong) AWSRekognitionFace * _Nullable face; /**

Structure containing attributes of the face that the algorithm detected.

*/ @property (nonatomic, strong) AWSRekognitionFaceDetail * _Nullable faceDetail; @end /**

Input face recognition parameters for an Amazon Rekognition stream processor. Includes the collection to use for face recognition and the face attributes to detect. Defining the settings is required in the request parameter for CreateStreamProcessor.

*/ @interface AWSRekognitionFaceSearchSettings : AWSModel /**

The ID of a collection that contains faces that you want to search for.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.

*/ @property (nonatomic, strong) NSNumber * _Nullable faceMatchThreshold; @end /**

The predicted gender of a detected face.

Amazon Rekognition makes gender binary (male/female) predictions based on the physical appearance of a face in a particular image. This kind of prediction is not designed to categorize a person’s gender identity, and you shouldn't use Amazon Rekognition to make such a determination. For example, a male actor wearing a long-haired wig and earrings for a role might be predicted as female.

Using Amazon Rekognition to make gender binary predictions is best suited for use cases where aggregate gender distribution statistics need to be analyzed without identifying specific users. For example, the percentage of female users compared to male users on a social media platform.

We don't recommend using gender binary predictions to make decisions that impact an individual's rights, privacy, or access to services.

*/ @interface AWSRekognitionGender : AWSModel /**

Level of confidence in the prediction.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The predicted gender of the face.

*/ @property (nonatomic, assign) AWSRekognitionGenderType value; @end /**

Contains filters for the object labels returned by DetectLabels. Filters can be inclusive, exclusive, or a combination of both and can be applied to individual labels or entire label categories. To see a list of label categories, see Detecting Labels.

*/ @interface AWSRekognitionGeneralLabelsSettings : AWSModel /**

The label categories that should be excluded from the return from DetectLabels.

*/ @property (nonatomic, strong) NSArray * _Nullable labelCategoryExclusionFilters; /**

The label categories that should be included in the return from DetectLabels.

*/ @property (nonatomic, strong) NSArray * _Nullable labelCategoryInclusionFilters; /**

The labels that should be excluded from the return from DetectLabels.

*/ @property (nonatomic, strong) NSArray * _Nullable labelExclusionFilters; /**

The labels that should be included in the return from DetectLabels.

*/ @property (nonatomic, strong) NSArray * _Nullable labelInclusionFilters; @end /**

Information about where an object (DetectCustomLabels) or text (DetectText) is located on an image.

*/ @interface AWSRekognitionGeometry : AWSModel /**

An axis-aligned coarse representation of the detected item's location on the image.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

Within the bounding box, a fine-grained polygon around the detected item.

*/ @property (nonatomic, strong) NSArray * _Nullable polygon; @end /** */ @interface AWSRekognitionGetCelebrityInfoRequest : AWSRequest /**

The ID for the celebrity. You get the celebrity ID from a call to the RecognizeCelebrities operation, which recognizes celebrities in an image.

*/ @property (nonatomic, strong) NSString * _Nullable identifier; @end /** */ @interface AWSRekognitionGetCelebrityInfoResponse : AWSModel /**

Retrieves the known gender for the celebrity.

*/ @property (nonatomic, strong) AWSRekognitionKnownGender * _Nullable knownGender; /**

The name of the celebrity.

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

An array of URLs pointing to additional celebrity information.

*/ @property (nonatomic, strong) NSArray * _Nullable urls; @end /** */ @interface AWSRekognitionGetCelebrityRecognitionRequest : AWSRequest /**

Job identifier for the required celebrity recognition analysis. You can get the job identifer from a call to StartCelebrityRecognition.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more recognized celebrities to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of celebrities.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

Sort to use for celebrities returned in Celebrities field. Specify ID to sort by the celebrity identifier, specify TIMESTAMP to sort by the time the celebrity was recognized.

*/ @property (nonatomic, assign) AWSRekognitionCelebrityRecognitionSortBy sortBy; @end /** */ @interface AWSRekognitionGetCelebrityRecognitionResponse : AWSModel /**

Array of celebrities recognized in the video.

*/ @property (nonatomic, strong) NSArray * _Nullable celebrities; /**

Job identifier for the celebrity recognition operation for which you want to obtain results. The job identifer is returned by an initial call to StartCelebrityRecognition.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

The current status of the celebrity recognition job.

*/ @property (nonatomic, assign) AWSRekognitionVideoJobStatus jobStatus; /**

A job identifier specified in the call to StartCelebrityRecognition and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of celebrities.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

If the job fails, StatusMessage provides a descriptive error message.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; /**

Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

*/ @property (nonatomic, strong) AWSRekognitionVideoMetadata * _Nullable videoMetadata; @end /** */ @interface AWSRekognitionGetContentModerationRequest : AWSRequest /**

Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.

*/ @property (nonatomic, assign) AWSRekognitionContentModerationAggregateBy aggregateBy; /**

The identifier for the inappropriate, unwanted, or offensive content moderation job. Use JobId to identify the job in a subsequent call to GetContentModeration.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

Sort to use for elements in the ModerationLabelDetections array. Use TIMESTAMP to sort array elements by the time labels are detected. Use NAME to alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is by TIMESTAMP.

*/ @property (nonatomic, assign) AWSRekognitionContentModerationSortBy sortBy; @end /**

Contains metadata about a content moderation request, including the SortBy and AggregateBy options.

*/ @interface AWSRekognitionGetContentModerationRequestMetadata : AWSModel /**

The aggregation method chosen for a GetContentModeration request.

*/ @property (nonatomic, assign) AWSRekognitionContentModerationAggregateBy aggregateBy; /**

The sorting method chosen for a GetContentModeration request.

*/ @property (nonatomic, assign) AWSRekognitionContentModerationSortBy sortBy; @end /** */ @interface AWSRekognitionGetContentModerationResponse : AWSModel /**

Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.

*/ @property (nonatomic, strong) AWSRekognitionGetContentModerationRequestMetadata * _Nullable getRequestMetadata; /**

Job identifier for the content moderation operation for which you want to obtain results. The job identifer is returned by an initial call to StartContentModeration.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

The current status of the content moderation analysis job.

*/ @property (nonatomic, assign) AWSRekognitionVideoJobStatus jobStatus; /**

A job identifier specified in the call to StartContentModeration and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.

*/ @property (nonatomic, strong) NSArray * _Nullable moderationLabels; /**

Version number of the moderation detection model that was used to detect inappropriate, unwanted, or offensive content.

*/ @property (nonatomic, strong) NSString * _Nullable moderationModelVersion; /**

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of content moderation labels.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

If the job fails, StatusMessage provides a descriptive error message.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; /**

Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every page of paginated responses from GetContentModeration.

*/ @property (nonatomic, strong) AWSRekognitionVideoMetadata * _Nullable videoMetadata; @end /** */ @interface AWSRekognitionGetFaceDetectionRequest : AWSRequest /**

Unique identifier for the face detection job. The JobId is returned from StartFaceDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there are more faces to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionGetFaceDetectionResponse : AWSModel /**

An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.

*/ @property (nonatomic, strong) NSArray * _Nullable faces; /**

Job identifier for the face detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartFaceDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

The current status of the face detection job.

*/ @property (nonatomic, assign) AWSRekognitionVideoJobStatus jobStatus; /**

A job identifier specified in the call to StartFaceDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

If the job fails, StatusMessage provides a descriptive error message.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; /**

Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.

*/ @property (nonatomic, strong) AWSRekognitionVideoMetadata * _Nullable videoMetadata; @end /** */ @interface AWSRekognitionGetFaceLivenessSessionResultsRequest : AWSRequest /**

A unique 128-bit UUID. This is used to uniquely identify the session and also acts as an idempotency token for all operations associated with the session.

*/ @property (nonatomic, strong) NSString * _Nullable sessionId; @end /** */ @interface AWSRekognitionGetFaceLivenessSessionResultsResponse : AWSModel /**

A set of images from the Face Liveness video that can be used for audit purposes. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration.

*/ @property (nonatomic, strong) NSArray * _Nullable auditImages; /**

Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

A high-quality image from the Face Liveness video that can be used for face comparison or search. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. In case the reference image is not returned, it's recommended to retry the Liveness check.

*/ @property (nonatomic, strong) AWSRekognitionAuditImage * _Nullable referenceImage; /**

The sessionId for which this request was called.

*/ @property (nonatomic, strong) NSString * _Nullable sessionId; /**

Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.

*/ @property (nonatomic, assign) AWSRekognitionLivenessSessionStatus status; @end /** */ @interface AWSRekognitionGetFaceSearchRequest : AWSRequest /**

The job identifer for the search request. You get the job identifier from an initial call to StartFaceSearch.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more search results to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of search results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

Sort to use for grouping faces in the response. Use TIMESTAMP to group faces by the time that they are recognized. Use INDEX to sort by recognized faces.

*/ @property (nonatomic, assign) AWSRekognitionFaceSearchSortBy sortBy; @end /** */ @interface AWSRekognitionGetFaceSearchResponse : AWSModel /**

Job identifier for the face search operation for which you want to obtain results. The job identifer is returned by an initial call to StartFaceSearch.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

The current status of the face search job.

*/ @property (nonatomic, assign) AWSRekognitionVideoJobStatus jobStatus; /**

A job identifier specified in the call to StartFaceSearch and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of search results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection. It also includes time information for when persons are matched in the video. You specify the input collection in an initial call to StartFaceSearch. Each Persons element includes a time the person was matched, face match details (FaceMatches) for matching faces in the collection, and person information (Person) for the matched person.

*/ @property (nonatomic, strong) NSArray * _Nullable persons; /**

If the job fails, StatusMessage provides a descriptive error message.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; /**

Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

*/ @property (nonatomic, strong) AWSRekognitionVideoMetadata * _Nullable videoMetadata; @end /** */ @interface AWSRekognitionGetLabelDetectionRequest : AWSRequest /**

Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments.

*/ @property (nonatomic, assign) AWSRekognitionLabelDetectionAggregateBy aggregateBy; /**

Job identifier for the label detection operation for which you want results returned. You get the job identifer from an initial call to StartlabelDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of labels.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

Sort to use for elements in the Labels array. Use TIMESTAMP to sort array elements by the time labels are detected. Use NAME to alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is by TIMESTAMP.

*/ @property (nonatomic, assign) AWSRekognitionLabelDetectionSortBy sortBy; @end /**

Contains metadata about a label detection request, including the SortBy and AggregateBy options.

*/ @interface AWSRekognitionGetLabelDetectionRequestMetadata : AWSModel /**

The aggregation method chosen for a GetLabelDetection request.

*/ @property (nonatomic, assign) AWSRekognitionLabelDetectionAggregateBy aggregateBy; /**

The sorting method chosen for a GetLabelDetection request.

*/ @property (nonatomic, assign) AWSRekognitionLabelDetectionSortBy sortBy; @end /** */ @interface AWSRekognitionGetLabelDetectionResponse : AWSModel /**

Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.

*/ @property (nonatomic, strong) AWSRekognitionGetLabelDetectionRequestMetadata * _Nullable getRequestMetadata; /**

Job identifier for the label detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartLabelDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

The current status of the label detection job.

*/ @property (nonatomic, assign) AWSRekognitionVideoJobStatus jobStatus; /**

A job identifier specified in the call to StartLabelDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

Version number of the label detection model that was used to detect labels.

*/ @property (nonatomic, strong) NSString * _Nullable labelModelVersion; /**

An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.

*/ @property (nonatomic, strong) NSArray * _Nullable labels; /**

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of labels.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

If the job fails, StatusMessage provides a descriptive error message.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; /**

Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.

*/ @property (nonatomic, strong) AWSRekognitionVideoMetadata * _Nullable videoMetadata; @end /** */ @interface AWSRekognitionGetPersonTrackingRequest : AWSRequest /**

The identifier for a job that tracks persons in a video. You get the JobId from a call to StartPersonTracking.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there are more persons to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of persons.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

Sort to use for elements in the Persons array. Use TIMESTAMP to sort array elements by the time persons are detected. Use INDEX to sort by the tracked persons. If you sort by INDEX, the array elements for each person are sorted by detection confidence. The default sort is by TIMESTAMP.

*/ @property (nonatomic, assign) AWSRekognitionPersonTrackingSortBy sortBy; @end /** */ @interface AWSRekognitionGetPersonTrackingResponse : AWSModel /**

Job identifier for the person tracking operation for which you want to obtain results. The job identifer is returned by an initial call to StartPersonTracking.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

The current status of the person tracking job.

*/ @property (nonatomic, assign) AWSRekognitionVideoJobStatus jobStatus; /**

A job identifier specified in the call to StartCelebrityRecognition and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of persons.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.

*/ @property (nonatomic, strong) NSArray * _Nullable persons; /**

If the job fails, StatusMessage provides a descriptive error message.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; /**

Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

*/ @property (nonatomic, strong) AWSRekognitionVideoMetadata * _Nullable videoMetadata; @end /** */ @interface AWSRekognitionGetSegmentDetectionRequest : AWSRequest /**

Job identifier for the text detection operation for which you want results returned. You get the job identifer from an initial call to StartSegmentDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Maximum number of results to return per paginated call. The largest value you can specify is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of text.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionGetSegmentDetectionResponse : AWSModel /**

An array of objects. There can be multiple audio streams. Each AudioMetadata object contains metadata for a single audio stream. Audio information in an AudioMetadata objects includes the audio codec, the number of audio channels, the duration of the audio stream, and the sample rate. Audio metadata is returned in each page of information returned by GetSegmentDetection.

*/ @property (nonatomic, strong) NSArray * _Nullable audioMetadata; /**

Job identifier for the segment detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartSegmentDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Current status of the segment detection job.

*/ @property (nonatomic, assign) AWSRekognitionVideoJobStatus jobStatus; /**

A job identifier specified in the call to StartSegmentDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection. Within each segment type the array is sorted by timestamp values.

*/ @property (nonatomic, strong) NSArray * _Nullable segments; /**

An array containing the segment types requested in the call to StartSegmentDetection.

*/ @property (nonatomic, strong) NSArray * _Nullable selectedSegmentTypes; /**

If the job fails, StatusMessage provides a descriptive error message.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; /**

Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The object contains information about the video stream in the input file that Amazon Rekognition Video chose to analyze. The VideoMetadata object includes the video codec, video format and other information. Video metadata is returned in each page of information returned by GetSegmentDetection.

*/ @property (nonatomic, strong) NSArray * _Nullable videoMetadata; @end /** */ @interface AWSRekognitionGetTextDetectionRequest : AWSRequest /**

Job identifier for the text detection operation for which you want results returned. You get the job identifer from an initial call to StartTextDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Maximum number of results to return per paginated call. The largest value you can specify is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionGetTextDetectionResponse : AWSModel /**

Job identifier for the text detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartTextDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; /**

Current status of the text detection job.

*/ @property (nonatomic, assign) AWSRekognitionVideoJobStatus jobStatus; /**

A job identifier specified in the call to StartTextDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of text.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

If the job fails, StatusMessage provides a descriptive error message.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.

*/ @property (nonatomic, strong) NSArray * _Nullable textDetections; /**

Version number of the text detection model that was used to detect text.

*/ @property (nonatomic, strong) NSString * _Nullable textModelVersion; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; /**

Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.

*/ @property (nonatomic, strong) AWSRekognitionVideoMetadata * _Nullable videoMetadata; @end /**

The S3 bucket that contains an Amazon Sagemaker Ground Truth format manifest file.

*/ @interface AWSRekognitionGroundTruthManifest : AWSModel /**

Provides the S3 bucket name and object name.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.

*/ @property (nonatomic, strong) AWSRekognitionS3Object * _Nullable s3Object; @end /**

Shows the results of the human in the loop evaluation. If there is no HumanLoopArn, the input did not trigger human review.

*/ @interface AWSRekognitionHumanLoopActivationOutput : AWSModel /**

Shows the result of condition evaluations, including those conditions which activated a human review.

*/ @property (nonatomic, strong) NSString * _Nullable humanLoopActivationConditionsEvaluationResults; /**

Shows if and why human review was needed.

*/ @property (nonatomic, strong) NSArray * _Nullable humanLoopActivationReasons; /**

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ @property (nonatomic, strong) NSString * _Nullable humanLoopArn; @end /**

Sets up the flow definition the image will be sent to if one of the conditions is met. You can also set certain attributes of the image before review.

Required parameters: [HumanLoopName, FlowDefinitionArn] */ @interface AWSRekognitionHumanLoopConfig : AWSModel /**

Sets attributes of the input data.

*/ @property (nonatomic, strong) AWSRekognitionHumanLoopDataAttributes * _Nullable dataAttributes; /**

The Amazon Resource Name (ARN) of the flow definition. You can create a flow definition by using the Amazon Sagemaker CreateFlowDefinition Operation.

*/ @property (nonatomic, strong) NSString * _Nullable flowDefinitionArn; /**

The name of the human review used for this image. This should be kept unique within a region.

*/ @property (nonatomic, strong) NSString * _Nullable humanLoopName; @end /**

Allows you to set attributes of the image. Currently, you can declare an image as free of personally identifiable information.

*/ @interface AWSRekognitionHumanLoopDataAttributes : AWSModel /**

Sets whether the input image is free of personally identifiable information.

*/ @property (nonatomic, strong) NSArray * _Nullable contentClassifiers; @end /**

Provides the input image either as bytes or an S3 object.

You pass image bytes to an Amazon Rekognition API operation by using the Bytes property. For example, you would use the Bytes property to pass an image loaded from a local file system. Image bytes passed by using the Bytes property must be base64-encoded. Your code may not need to encode image bytes if you are using an AWS SDK to call Amazon Rekognition API operations.

For more information, see Analyzing an Image Loaded from a Local File System in the Amazon Rekognition Developer Guide.

You pass images stored in an S3 bucket to an Amazon Rekognition API operation by using the S3Object property. Images stored in an S3 bucket do not need to be base64-encoded.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes using the Bytes property is not supported. You must first upload the image to an Amazon S3 bucket and then call the operation using the S3Object property.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionImage : AWSModel /**

Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to DetectCustomLabels is 4MB.

*/ @property (nonatomic, strong) NSData * _Nullable bytes; /**

Identifies an S3 object as the image source.

*/ @property (nonatomic, strong) AWSRekognitionS3Object * _Nullable s3Object; @end /**

Identifies face image brightness and sharpness.

*/ @interface AWSRekognitionImageQuality : AWSModel /**

Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.

*/ @property (nonatomic, strong) NSNumber * _Nullable brightness; /**

Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.

*/ @property (nonatomic, strong) NSNumber * _Nullable sharpness; @end /** */ @interface AWSRekognitionIndexFacesRequest : AWSRequest /**

The ID of an existing collection to which you want to add the faces that are detected in the input images.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

An array of facial attributes you want to be returned. A DEFAULT subset of facial attributes - BoundingBox, Confidence, Pose, Quality, and Landmarks - will always be returned. You can request for specific facial attributes (in addition to the default list) - by using ["DEFAULT", "FACE_OCCLUDED"] or just ["FACE_OCCLUDED"]. You can request for all facial attributes by using ["ALL"]. Requesting more attributes may increase response time.

If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which attributes to return (in this case, all attributes).

*/ @property (nonatomic, strong) NSArray * _Nullable detectionAttributes; /**

The ID you want to assign to all the faces detected in the image.

*/ @property (nonatomic, strong) NSString * _Nullable externalImageId; /**

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes isn't supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; /**

The maximum number of faces to index. The value of MaxFaces must be greater than or equal to 1. IndexFaces returns no more than 100 detected faces in an image, even if you specify a larger value for MaxFaces.

If IndexFaces detects more faces than the value of MaxFaces, the faces with the lowest quality are filtered out first. If there are still more faces than the value of MaxFaces, the faces with the smallest bounding boxes are filtered out (up to the number that's needed to satisfy the value of MaxFaces). Information about the unindexed faces is available in the UnindexedFaces array.

The faces that are returned by IndexFaces are sorted by the largest face bounding box size to the smallest size, in descending order.

MaxFaces can be used with a collection associated with any version of the face model.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxFaces; /**

A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't indexed. If you specify AUTO, Amazon Rekognition chooses the quality bar. If you specify LOW, MEDIUM, or HIGH, filtering removes all faces that don’t meet the chosen quality bar. The default value is AUTO. The quality bar is based on a variety of common use cases. Low-quality detections can occur for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or a face with a pose that's too extreme to use. If you specify NONE, no filtering is performed.

To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.

*/ @property (nonatomic, assign) AWSRekognitionQualityFilter qualityFilter; @end /** */ @interface AWSRekognitionIndexFacesResponse : AWSModel /**

The version number of the face detection model that's associated with the input collection (CollectionId).

*/ @property (nonatomic, strong) NSString * _Nullable faceModelVersion; /**

An array of faces detected and added to the collection. For more information, see Searching Faces in a Collection in the Amazon Rekognition Developer Guide.

*/ @property (nonatomic, strong) NSArray * _Nullable faceRecords; /**

If your collection is associated with a face detection model that's later than version 3.0, the value of OrientationCorrection is always null and no orientation information is returned.

If your collection is associated with a face detection model that's version 3.0 or earlier, the following applies:

  • If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction - the bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata. The value of OrientationCorrection is null.

  • If the image doesn't contain orientation information in its Exif metadata, Amazon Rekognition returns an estimated orientation (ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270). Amazon Rekognition doesn’t perform image correction for images. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

Bounding box information is returned in the FaceRecords array. You can get the version of the face detection model by calling DescribeCollection.

*/ @property (nonatomic, assign) AWSRekognitionOrientationCorrection orientationCorrection; /**

An array of faces that were detected in the image but weren't indexed. They weren't indexed because the quality filter identified them as low quality, or the MaxFaces request parameter filtered them out. To use the quality filter, you specify the QualityFilter request parameter.

*/ @property (nonatomic, strong) NSArray * _Nullable unindexedFaces; @end /**

An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).

*/ @interface AWSRekognitionInstance : AWSModel /**

The position of the label instance on the image.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

The confidence that Amazon Rekognition has in the accuracy of the bounding box.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The dominant colors found in an individual instance of a label.

*/ @property (nonatomic, strong) NSArray * _Nullable dominantColors; @end /**

The Kinesis data stream Amazon Rekognition to which the analysis results of a Amazon Rekognition stream processor are streamed. For more information, see CreateStreamProcessor in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionKinesisDataStream : AWSModel /**

ARN of the output Amazon Kinesis Data Streams stream.

*/ @property (nonatomic, strong) NSString * _Nullable arn; @end /**

Kinesis video stream stream that provides the source streaming video for a Amazon Rekognition Video stream processor. For more information, see CreateStreamProcessor in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionKinesisVideoStream : AWSModel /**

ARN of the Kinesis video stream stream that streams the source video.

*/ @property (nonatomic, strong) NSString * _Nullable arn; @end /**

Specifies the starting point in a Kinesis stream to start processing. You can use the producer timestamp or the fragment number. One of either producer timestamp or fragment number is required. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.

*/ @interface AWSRekognitionKinesisVideoStreamStartSelector : AWSModel /**

The unique identifier of the fragment. This value monotonically increases based on the ingestion order.

*/ @property (nonatomic, strong) NSString * _Nullable fragmentNumber; /**

The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.

*/ @property (nonatomic, strong) NSNumber * _Nullable producerTimestamp; @end /**

The known gender identity for the celebrity that matches the provided ID. The known gender identity can be Male, Female, Nonbinary, or Unlisted.

*/ @interface AWSRekognitionKnownGender : AWSModel /**

A string value of the KnownGender info about the Celebrity.

*/ @property (nonatomic, assign) AWSRekognitionKnownGenderType types; @end /**

Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.

*/ @interface AWSRekognitionLabel : AWSModel /**

A list of potential aliases for a given label.

*/ @property (nonatomic, strong) NSArray * _Nullable aliases; /**

A list of the categories associated with a given label.

*/ @property (nonatomic, strong) NSArray * _Nullable categories; /**

Level of confidence.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

If Label represents an object, Instances contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.

*/ @property (nonatomic, strong) NSArray * _Nullable instances; /**

The name (label) of the object or scene.

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

The parent labels for a label. The response includes all ancestor labels.

*/ @property (nonatomic, strong) NSArray * _Nullable parents; @end /**

A potential alias of for a given label.

*/ @interface AWSRekognitionLabelAlias : AWSModel /**

The name of an alias for a given label.

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

The category that applies to a given label.

*/ @interface AWSRekognitionLabelCategory : AWSModel /**

The name of a category that applies to a given label.

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

Information about a label detected in a video analysis request and the time the label was detected in the video.

*/ @interface AWSRekognitionLabelDetection : AWSModel /**

The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

*/ @property (nonatomic, strong) NSNumber * _Nullable durationMillis; /**

The time in milliseconds defining the end of the timeline segment containing a continuously detected label.

*/ @property (nonatomic, strong) NSNumber * _Nullable endTimestampMillis; /**

Details about the detected label.

*/ @property (nonatomic, strong) AWSRekognitionLabel * _Nullable label; /**

The time in milliseconds defining the start of the timeline segment containing a continuously detected label.

*/ @property (nonatomic, strong) NSNumber * _Nullable startTimestampMillis; /**

Time, in milliseconds from the start of the video, that the label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the label first appears.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /**

Contains the specified filters that should be applied to a list of returned GENERAL_LABELS.

*/ @interface AWSRekognitionLabelDetectionSettings : AWSModel /**

Contains filters for the object labels returned by DetectLabels. Filters can be inclusive, exclusive, or a combination of both and can be applied to individual labels or entire label categories. To see a list of label categories, see Detecting Labels.

*/ @property (nonatomic, strong) AWSRekognitionGeneralLabelsSettings * _Nullable generalLabels; @end /**

Indicates the location of the landmark on the face.

*/ @interface AWSRekognitionLandmark : AWSModel /**

Type of landmark.

*/ @property (nonatomic, assign) AWSRekognitionLandmarkType types; /**

The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is measured from the left-side of the image. For example, if the image is 700 pixels wide and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.

*/ @property (nonatomic, strong) NSNumber * _Nullable X; /**

The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is measured from the top of the image. For example, if the image height is 200 pixels and the y-coordinate of the landmark is at 50 pixels, this value is 0.25.

*/ @property (nonatomic, strong) NSNumber * _Nullable Y; @end /** */ @interface AWSRekognitionListCollectionsRequest : AWSRequest /**

Maximum number of collection IDs to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

Pagination token from the previous response.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionListCollectionsResponse : AWSModel /**

An array of collection IDs.

*/ @property (nonatomic, strong) NSArray * _Nullable collectionIds; /**

Version numbers of the face detection models associated with the collections in the array CollectionIds. For example, the value of FaceModelVersions[2] is the version number for the face detection model used by the collection in CollectionId[2].

*/ @property (nonatomic, strong) NSArray * _Nullable faceModelVersions; /**

If the result is truncated, the response provides a NextToken that you can use in the subsequent request to fetch the next set of collection IDs.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionListDatasetEntriesRequest : AWSRequest /**

Specifies a label filter for the response. The response includes an entry only if one or more of the labels in ContainsLabels exist in the entry.

*/ @property (nonatomic, strong) NSArray * _Nullable containsLabels; /**

The Amazon Resource Name (ARN) for the dataset that you want to use.

*/ @property (nonatomic, strong) NSString * _Nullable datasetArn; /**

Specifies an error filter for the response. Specify True to only include entries that have errors.

*/ @property (nonatomic, strong) NSNumber * _Nullable hasErrors; /**

Specify true to get only the JSON Lines where the image is labeled. Specify false to get only the JSON Lines where the image isn't labeled. If you don't specify Labeled, ListDatasetEntries returns JSON Lines for labeled and unlabeled images.

*/ @property (nonatomic, strong) NSNumber * _Nullable labeled; /**

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

If specified, ListDatasetEntries only returns JSON Lines where the value of SourceRefContains is part of the source-ref field. The source-ref field contains the Amazon S3 location of the image. You can use SouceRefContains for tasks such as getting the JSON Line for a single image, or gettting JSON Lines for all images within a specific folder.

*/ @property (nonatomic, strong) NSString * _Nullable sourceRefContains; @end /** */ @interface AWSRekognitionListDatasetEntriesResponse : AWSModel /**

A list of entries (images) in the dataset.

*/ @property (nonatomic, strong) NSArray * _Nullable datasetEntries; /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionListDatasetLabelsRequest : AWSRequest /**

The Amazon Resource Name (ARN) of the dataset that you want to use.

*/ @property (nonatomic, strong) NSString * _Nullable datasetArn; /**

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionListDatasetLabelsResponse : AWSModel /**

A list of the labels in the dataset.

*/ @property (nonatomic, strong) NSArray * _Nullable datasetLabelDescriptions; /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionListFacesRequest : AWSRequest /**

ID of the collection from which to list the faces.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

An array of face IDs to match when listing faces in a collection.

*/ @property (nonatomic, strong) NSArray * _Nullable faceIds; /**

Maximum number of faces to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

An array of user IDs to match when listing faces in a collection.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /** */ @interface AWSRekognitionListFacesResponse : AWSModel /**

Version number of the face detection model associated with the input collection (CollectionId).

*/ @property (nonatomic, strong) NSString * _Nullable faceModelVersion; /**

An array of Face objects.

*/ @property (nonatomic, strong) NSArray * _Nullable faces; /**

If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionListProjectPoliciesRequest : AWSRequest /**

The maximum number of results to return per paginated call. The largest value you can specify is 5. If you specify a value greater than 5, a ValidationException error occurs. The default value is 5.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

The ARN of the project for which you want to list the project policies.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; @end /** */ @interface AWSRekognitionListProjectPoliciesResponse : AWSModel /**

If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of project policies.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

A list of project policies attached to the project.

*/ @property (nonatomic, strong) NSArray * _Nullable projectPolicies; @end /** */ @interface AWSRekognitionListStreamProcessorsRequest : AWSRequest /**

Maximum number of stream processors you want Amazon Rekognition Video to return in the response. The default is 1000.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

If the previous response was incomplete (because there are more stream processors to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of stream processors.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionListStreamProcessorsResponse : AWSModel /**

If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of stream processors.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

List of stream processors that you have created.

*/ @property (nonatomic, strong) NSArray * _Nullable streamProcessors; @end /** */ @interface AWSRekognitionListTagsForResourceRequest : AWSRequest /**

Amazon Resource Name (ARN) of the model, collection, or stream processor that contains the tags that you want a list of.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; @end /** */ @interface AWSRekognitionListTagsForResourceResponse : AWSModel /**

A list of key-value tags assigned to the resource.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /** */ @interface AWSRekognitionListUsersRequest : AWSRequest /**

The ID of an existing collection.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

Maximum number of UsersID to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /**

Pagingation token to receive the next set of UsersID.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @end /** */ @interface AWSRekognitionListUsersResponse : AWSModel /**

A pagination token to be used with the subsequent request if the response is truncated.

*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /**

List of UsersID associated with the specified collection.

*/ @property (nonatomic, strong) NSArray * _Nullable users; @end /**

Contains settings that specify the location of an Amazon S3 bucket used to store the output of a Face Liveness session. Note that the S3 bucket must be located in the caller's AWS account and in the same region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are auto-generated by the Face Liveness system.

Required parameters: [S3Bucket] */ @interface AWSRekognitionLivenessOutputConfig : AWSModel /**

The path to an AWS Amazon S3 bucket used to store Face Liveness session results.

*/ @property (nonatomic, strong) NSString * _Nullable s3Bucket; /**

The prefix prepended to the output files for the Face Liveness session results.

*/ @property (nonatomic, strong) NSString * _Nullable s3KeyPrefix; @end /**

Contains metadata for a UserID matched with a given face.

*/ @interface AWSRekognitionMatchedUser : AWSModel /**

A provided ID for the UserID. Unique within the collection.

*/ @property (nonatomic, strong) NSString * _Nullable userId; /**

The status of the user matched to a provided FaceID.

*/ @property (nonatomic, assign) AWSRekognitionUserStatus userStatus; @end /**

Provides information about a single type of inappropriate, unwanted, or offensive content found in an image or video. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see Content moderation in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionModerationLabel : AWSModel /**

Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The label name for the type of unsafe content detected in the image.

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

The name for the parent label. Labels at the top level of the hierarchy have the parent label "".

*/ @property (nonatomic, strong) NSString * _Nullable parentName; @end /**

Indicates whether or not the mouth on the face is open, and the confidence level in the determination.

*/ @interface AWSRekognitionMouthOpen : AWSModel /**

Level of confidence in the determination.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Boolean value that indicates whether the mouth on the face is open or not.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /**

Indicates whether or not the face has a mustache, and the confidence level in the determination.

*/ @interface AWSRekognitionMustache : AWSModel /**

Level of confidence in the determination.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Boolean value that indicates whether the face has mustache or not.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /**

The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see Calling Amazon Rekognition Video operations. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic. For more information, see Giving access to multiple Amazon SNS topics.

Required parameters: [SNSTopicArn, RoleArn] */ @interface AWSRekognitionNotificationChannel : AWSModel /**

The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.

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

The Amazon SNS topic to which Amazon Rekognition posts the completion status.

*/ @property (nonatomic, strong) NSString * _Nullable SNSTopicArn; @end /**

The S3 bucket and folder location where training output is placed.

*/ @interface AWSRekognitionOutputConfig : AWSModel /**

The S3 bucket where training output is placed.

*/ @property (nonatomic, strong) NSString * _Nullable s3Bucket; /**

The prefix applied to the training output files.

*/ @property (nonatomic, strong) NSString * _Nullable s3KeyPrefix; @end /**

A parent label for a label. A label can have 0, 1, or more parents.

*/ @interface AWSRekognitionParent : AWSModel /**

The name of the parent label.

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

Details about a person detected in a video analysis request.

*/ @interface AWSRekognitionPersonDetail : AWSModel /**

Bounding box around the detected person.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

Face details for the detected person.

*/ @property (nonatomic, strong) AWSRekognitionFaceDetail * _Nullable face; /**

Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.

*/ @property (nonatomic, strong) NSNumber * _Nullable index; @end /**

Details and path tracking information for a single time a person's path is tracked in a video. Amazon Rekognition operations that track people's paths return an array of PersonDetection objects with elements for each time a person's path is tracked in a video.

For more information, see GetPersonTracking in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionPersonDetection : AWSModel /**

Details about a person whose path was tracked in a video.

*/ @property (nonatomic, strong) AWSRekognitionPersonDetail * _Nullable person; /**

The time, in milliseconds from the start of the video, that the person's path was tracked. Note that Timestamp is not guaranteed to be accurate to the individual frame where the person's path first appears.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /**

Information about a person whose face matches a face(s) in an Amazon Rekognition collection. Includes information about the faces in the Amazon Rekognition collection (FaceMatch), information about the person (PersonDetail), and the time stamp for when the person was detected in a video. An array of PersonMatch objects is returned by GetFaceSearch.

*/ @interface AWSRekognitionPersonMatch : AWSModel /**

Information about the faces in the input collection that match the face of a person in the video.

*/ @property (nonatomic, strong) NSArray * _Nullable faceMatches; /**

Information about the matched person.

*/ @property (nonatomic, strong) AWSRekognitionPersonDetail * _Nullable person; /**

The time, in milliseconds from the beginning of the video, that the person was matched in the video.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /**

The X and Y coordinates of a point on an image or video frame. The X and Y values are ratios of the overall image size or video resolution. For example, if an input image is 700x200 and the values are X=0.5 and Y=0.25, then the point is at the (350,50) pixel coordinate on the image.

An array of Point objects makes up a Polygon. A Polygon is returned by DetectText and by DetectCustomLabelsPolygon represents a fine-grained polygon around a detected item. For more information, see Geometry in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionPoint : AWSModel /**

The value of the X coordinate for a point on a Polygon.

*/ @property (nonatomic, strong) NSNumber * _Nullable X; /**

The value of the Y coordinate for a point on a Polygon.

*/ @property (nonatomic, strong) NSNumber * _Nullable Y; @end /**

Indicates the pose of the face as determined by its pitch, roll, and yaw.

*/ @interface AWSRekognitionPose : AWSModel /**

Value representing the face rotation on the pitch axis.

*/ @property (nonatomic, strong) NSNumber * _Nullable pitch; /**

Value representing the face rotation on the roll axis.

*/ @property (nonatomic, strong) NSNumber * _Nullable roll; /**

Value representing the face rotation on the yaw axis.

*/ @property (nonatomic, strong) NSNumber * _Nullable yaw; @end /**

A description of an Amazon Rekognition Custom Labels project. For more information, see DescribeProjects.

*/ @interface AWSRekognitionProjectDescription : AWSModel /**

The Unix timestamp for the date and time that the project was created.

*/ @property (nonatomic, strong) NSDate * _Nullable creationTimestamp; /**

Information about the training and test datasets in the project.

*/ @property (nonatomic, strong) NSArray * _Nullable datasets; /**

The Amazon Resource Name (ARN) of the project.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; /**

The current status of the project.

*/ @property (nonatomic, assign) AWSRekognitionProjectStatus status; @end /**

Describes a project policy in the response from ListProjectPolicies.

*/ @interface AWSRekognitionProjectPolicy : AWSModel /**

The Unix datetime for the creation of the project policy.

*/ @property (nonatomic, strong) NSDate * _Nullable creationTimestamp; /**

The Unix datetime for when the project policy was last updated.

*/ @property (nonatomic, strong) NSDate * _Nullable lastUpdatedTimestamp; /**

The JSON document for the project policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; /**

The name of the project policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; /**

The revision ID of the project policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyRevisionId; /**

The Amazon Resource Name (ARN) of the project to which the project policy is attached.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; @end /**

A description of a version of an Amazon Rekognition Custom Labels model.

*/ @interface AWSRekognitionProjectVersionDescription : AWSModel /**

The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.

*/ @property (nonatomic, strong) NSNumber * _Nullable billableTrainingTimeInSeconds; /**

The Unix datetime for the date and time that training started.

*/ @property (nonatomic, strong) NSDate * _Nullable creationTimestamp; /**

The training results. EvaluationResult is only returned if training is successful.

*/ @property (nonatomic, strong) AWSRekognitionEvaluationResult * _Nullable evaluationResult; /**

The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.

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

The location of the summary manifest. The summary manifest provides aggregate data validation results for the training and test datasets.

*/ @property (nonatomic, strong) AWSRekognitionGroundTruthManifest * _Nullable manifestSummary; /**

The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxInferenceUnits; /**

The minimum number of inference units used by the model. For more information, see StartProjectVersion.

*/ @property (nonatomic, strong) NSNumber * _Nullable minInferenceUnits; /**

The location where training results are saved.

*/ @property (nonatomic, strong) AWSRekognitionOutputConfig * _Nullable outputConfig; /**

The Amazon Resource Name (ARN) of the model version.

*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; /**

If the model version was copied from a different project, SourceProjectVersionArn contains the ARN of the source model version.

*/ @property (nonatomic, strong) NSString * _Nullable sourceProjectVersionArn; /**

The current status of the model version.

*/ @property (nonatomic, assign) AWSRekognitionProjectVersionStatus status; /**

A descriptive message for an error or warning that occurred.

*/ @property (nonatomic, strong) NSString * _Nullable statusMessage; /**

Contains information about the testing results.

*/ @property (nonatomic, strong) AWSRekognitionTestingDataResult * _Nullable testingDataResult; /**

Contains information about the training results.

*/ @property (nonatomic, strong) AWSRekognitionTrainingDataResult * _Nullable trainingDataResult; /**

The Unix date and time that training of the model ended.

*/ @property (nonatomic, strong) NSDate * _Nullable trainingEndTimestamp; @end /**

Information about a body part detected by DetectProtectiveEquipment that contains PPE. An array of ProtectiveEquipmentBodyPart objects is returned for each person detected by DetectProtectiveEquipment.

*/ @interface AWSRekognitionProtectiveEquipmentBodyPart : AWSModel /**

The confidence that Amazon Rekognition has in the detection accuracy of the detected body part.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

An array of Personal Protective Equipment items detected around a body part.

*/ @property (nonatomic, strong) NSArray * _Nullable equipmentDetections; /**

The detected body part.

*/ @property (nonatomic, assign) AWSRekognitionBodyPart name; @end /**

A person detected by a call to DetectProtectiveEquipment. The API returns all persons detected in the input image in an array of ProtectiveEquipmentPerson objects.

*/ @interface AWSRekognitionProtectiveEquipmentPerson : AWSModel /**

An array of body parts detected on a person's body (including body parts without PPE).

*/ @property (nonatomic, strong) NSArray * _Nullable bodyParts; /**

A bounding box around the detected person.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

The confidence that Amazon Rekognition has that the bounding box contains a person.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The identifier for the detected person. The identifier is only unique for a single call to DetectProtectiveEquipment.

*/ @property (nonatomic, strong) NSNumber * _Nullable identifier; @end /**

Specifies summary attributes to return from a call to DetectProtectiveEquipment. You can specify which types of PPE to summarize. You can also specify a minimum confidence value for detections. Summary information is returned in the Summary (ProtectiveEquipmentSummary) field of the response from DetectProtectiveEquipment. The summary includes which persons in an image were detected wearing the requested types of person protective equipment (PPE), which persons were detected as not wearing PPE, and the persons in which a determination could not be made. For more information, see ProtectiveEquipmentSummary.

Required parameters: [MinConfidence, RequiredEquipmentTypes] */ @interface AWSRekognitionProtectiveEquipmentSummarizationAttributes : AWSModel /**

The minimum confidence level for which you want summary information. The confidence level applies to person detection, body part detection, equipment detection, and body part coverage. Amazon Rekognition doesn't return summary information with a confidence than this specified value. There isn't a default value.

Specify a MinConfidence value that is between 50-100% as DetectProtectiveEquipment returns predictions only where the detection confidence is between 50% - 100%. If you specify a value that is less than 50%, the results are the same specifying a value of 50%.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; /**

An array of personal protective equipment types for which you want summary information. If a person is detected wearing a required requipment type, the person's ID is added to the PersonsWithRequiredEquipment array field returned in ProtectiveEquipmentSummary by DetectProtectiveEquipment.

*/ @property (nonatomic, strong) NSArray * _Nullable requiredEquipmentTypes; @end /**

Summary information for required items of personal protective equipment (PPE) detected on persons by a call to DetectProtectiveEquipment. You specify the required type of PPE in the SummarizationAttributes (ProtectiveEquipmentSummarizationAttributes) input parameter. The summary includes which persons were detected wearing the required personal protective equipment (PersonsWithRequiredEquipment), which persons were detected as not wearing the required PPE (PersonsWithoutRequiredEquipment), and the persons in which a determination could not be made (PersonsIndeterminate).

To get a total for each category, use the size of the field array. For example, to find out how many people were detected as wearing the specified PPE, use the size of the PersonsWithRequiredEquipment array. If you want to find out more about a person, such as the location (BoundingBox) of the person on the image, use the person ID in each array element. Each person ID matches the ID field of a ProtectiveEquipmentPerson object returned in the Persons array by DetectProtectiveEquipment.

*/ @interface AWSRekognitionProtectiveEquipmentSummary : AWSModel /**

An array of IDs for persons where it was not possible to determine if they are wearing personal protective equipment.

*/ @property (nonatomic, strong) NSArray * _Nullable personsIndeterminate; /**

An array of IDs for persons who are wearing detected personal protective equipment.

*/ @property (nonatomic, strong) NSArray * _Nullable personsWithRequiredEquipment; /**

An array of IDs for persons who are not wearing all of the types of PPE specified in the RequiredEquipmentTypes field of the detected personal protective equipment.

*/ @property (nonatomic, strong) NSArray * _Nullable personsWithoutRequiredEquipment; @end /** */ @interface AWSRekognitionPutProjectPolicyRequest : AWSRequest /**

A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference.

*/ @property (nonatomic, strong) NSString * _Nullable policyDocument; /**

A name for the policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyName; /**

The revision ID for the Project Policy. Each time you modify a policy, Amazon Rekognition Custom Labels generates and assigns a new PolicyRevisionId and then deletes the previous version of the policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyRevisionId; /**

The Amazon Resource Name (ARN) of the project that the project policy is attached to.

*/ @property (nonatomic, strong) NSString * _Nullable projectArn; @end /** */ @interface AWSRekognitionPutProjectPolicyResponse : AWSModel /**

The ID of the project policy.

*/ @property (nonatomic, strong) NSString * _Nullable policyRevisionId; @end /** */ @interface AWSRekognitionRecognizeCelebritiesRequest : AWSRequest /**

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; @end /** */ @interface AWSRekognitionRecognizeCelebritiesResponse : AWSModel /**

Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image. Each celebrity object includes the following attributes: Face, Confidence, Emotions, Landmarks, Pose, Quality, Smile, Id, KnownGender, MatchConfidence, Name, Urls.

*/ @property (nonatomic, strong) NSArray * _Nullable celebrityFaces; /**

Support for estimating image orientation using the the OrientationCorrection field has ceased as of August 2021. Any returned values for this field included in an API response will always be NULL.

The orientation of the input image (counterclockwise direction). If your application displays the image, you can use this value to correct the orientation. The bounding box coordinates returned in CelebrityFaces and UnrecognizedFaces represent face locations before the image orientation is corrected.

If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value of OrientationCorrection is null. The CelebrityFaces and UnrecognizedFaces bounding box coordinates represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

*/ @property (nonatomic, assign) AWSRekognitionOrientationCorrection orientationCorrection; /**

Details about each unrecognized face in the image.

*/ @property (nonatomic, strong) NSArray * _Nullable unrecognizedFaces; @end /**

Specifies a location within the frame that Rekognition checks for objects of interest such as text, labels, or faces. It uses a BoundingBox or Polygon to set a region of the screen.

A word, face, or label is included in the region if it is more than half in that region. If there is more than one region, the word, face, or label is compared with all regions of the screen. Any object of interest that is more than half in a region is kept in the results.

*/ @interface AWSRekognitionRegionOfInterest : AWSModel /**

The box representing a region of interest on screen.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable boundingBox; /**

Specifies a shape made up of up to 10 Point objects to define a region of interest.

*/ @property (nonatomic, strong) NSArray * _Nullable polygon; @end /**

The Amazon S3 bucket location to which Amazon Rekognition publishes the detailed inference results of a video analysis operation. These results include the name of the stream processor resource, the session ID of the stream processing session, and labeled timestamps and bounding boxes for detected labels.

*/ @interface AWSRekognitionS3Destination : AWSModel /**

The name of the Amazon S3 bucket you want to associate with the streaming video project. You must be the owner of the Amazon S3 bucket.

*/ @property (nonatomic, strong) NSString * _Nullable bucket; /**

The prefix value of the location within the bucket that you want the information to be published to. For more information, see Using prefixes.

*/ @property (nonatomic, strong) NSString * _Nullable keyPrefix; @end /**

Provides the S3 bucket name and object name.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionS3Object : AWSModel /**

Name of the S3 bucket.

*/ @property (nonatomic, strong) NSString * _Nullable bucket; /**

S3 object key name.

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

If the bucket is versioning enabled, you can specify the object version.

*/ @property (nonatomic, strong) NSString * _Nullable version; @end /** */ @interface AWSRekognitionSearchFacesByImageRequest : AWSRequest /**

ID of the collection to search.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

(Optional) Specifies the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.

*/ @property (nonatomic, strong) NSNumber * _Nullable faceMatchThreshold; /**

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; /**

Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxFaces; /**

A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. If you specify AUTO, Amazon Rekognition chooses the quality bar. If you specify LOW, MEDIUM, or HIGH, filtering removes all faces that don’t meet the chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality detections can occur for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or a face with a pose that's too extreme to use. If you specify NONE, no filtering is performed. The default value is NONE.

To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.

*/ @property (nonatomic, assign) AWSRekognitionQualityFilter qualityFilter; @end /** */ @interface AWSRekognitionSearchFacesByImageResponse : AWSModel /**

An array of faces that match the input face, along with the confidence in the match.

*/ @property (nonatomic, strong) NSArray * _Nullable faceMatches; /**

Version number of the face detection model associated with the input collection (CollectionId).

*/ @property (nonatomic, strong) NSString * _Nullable faceModelVersion; /**

The bounding box around the face in the input image that Amazon Rekognition used for the search.

*/ @property (nonatomic, strong) AWSRekognitionBoundingBox * _Nullable searchedFaceBoundingBox; /**

The level of confidence that the searchedFaceBoundingBox, contains a face.

*/ @property (nonatomic, strong) NSNumber * _Nullable searchedFaceConfidence; @end /** */ @interface AWSRekognitionSearchFacesRequest : AWSRequest /**

ID of the collection the face belongs to.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

ID of a face to find matches for in the collection.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; /**

Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.

*/ @property (nonatomic, strong) NSNumber * _Nullable faceMatchThreshold; /**

Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxFaces; @end /** */ @interface AWSRekognitionSearchFacesResponse : AWSModel /**

An array of faces that matched the input face, along with the confidence in the match.

*/ @property (nonatomic, strong) NSArray * _Nullable faceMatches; /**

Version number of the face detection model associated with the input collection (CollectionId).

*/ @property (nonatomic, strong) NSString * _Nullable faceModelVersion; /**

ID of the face that was searched for matches in a collection.

*/ @property (nonatomic, strong) NSString * _Nullable searchedFaceId; @end /** */ @interface AWSRekognitionSearchUsersByImageRequest : AWSRequest /**

The ID of an existing collection containing the UserID.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

Provides the input image either as bytes or an S3 object.

You pass image bytes to an Amazon Rekognition API operation by using the Bytes property. For example, you would use the Bytes property to pass an image loaded from a local file system. Image bytes passed by using the Bytes property must be base64-encoded. Your code may not need to encode image bytes if you are using an AWS SDK to call Amazon Rekognition API operations.

For more information, see Analyzing an Image Loaded from a Local File System in the Amazon Rekognition Developer Guide.

You pass images stored in an S3 bucket to an Amazon Rekognition API operation by using the S3Object property. Images stored in an S3 bucket do not need to be base64-encoded.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes using the Bytes property is not supported. You must first upload the image to an Amazon S3 bucket and then call the operation using the S3Object property.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.

*/ @property (nonatomic, strong) AWSRekognitionImage * _Nullable image; /**

Maximum number of UserIDs to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxUsers; /**

A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. The default value is NONE.

*/ @property (nonatomic, assign) AWSRekognitionQualityFilter qualityFilter; /**

Specifies the minimum confidence in the UserID match to return. Default value is 80.

*/ @property (nonatomic, strong) NSNumber * _Nullable userMatchThreshold; @end /** */ @interface AWSRekognitionSearchUsersByImageResponse : AWSModel /**

Version number of the face detection model associated with the input collection CollectionId.

*/ @property (nonatomic, strong) NSString * _Nullable faceModelVersion; /**

A list of FaceDetail objects containing the BoundingBox for the largest face in image, as well as the confidence in the bounding box, that was searched for matches. If no valid face is detected in the image the response will contain no SearchedFace object.

*/ @property (nonatomic, strong) AWSRekognitionSearchedFaceDetails * _Nullable searchedFace; /**

List of UnsearchedFace objects. Contains the face details infered from the specified image but not used for search. Contains reasons that describe why a face wasn't used for Search.

*/ @property (nonatomic, strong) NSArray * _Nullable unsearchedFaces; /**

An array of UserID objects that matched the input face, along with the confidence in the match. The returned structure will be empty if there are no matches. Returned if the SearchUsersByImageResponse action is successful.

*/ @property (nonatomic, strong) NSArray * _Nullable userMatches; @end /** */ @interface AWSRekognitionSearchUsersRequest : AWSRequest /**

The ID of an existing collection containing the UserID, used with a UserId or FaceId. If a FaceId is provided, UserId isn’t required to be present in the Collection.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

ID for the existing face.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; /**

Maximum number of identities to return.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxUsers; /**

ID for the existing User.

*/ @property (nonatomic, strong) NSString * _Nullable userId; /**

Optional value that specifies the minimum confidence in the matched UserID to return. Default value of 80.

*/ @property (nonatomic, strong) NSNumber * _Nullable userMatchThreshold; @end /** */ @interface AWSRekognitionSearchUsersResponse : AWSModel /**

Version number of the face detection model associated with the input CollectionId.

*/ @property (nonatomic, strong) NSString * _Nullable faceModelVersion; /**

Contains the ID of a face that was used to search for matches in a collection.

*/ @property (nonatomic, strong) AWSRekognitionSearchedFace * _Nullable searchedFace; /**

Contains the ID of the UserID that was used to search for matches in a collection.

*/ @property (nonatomic, strong) AWSRekognitionSearchedUser * _Nullable searchedUser; /**

An array of UserMatch objects that matched the input face along with the confidence in the match. Array will be empty if there are no matches.

*/ @property (nonatomic, strong) NSArray * _Nullable userMatches; @end /**

Provides face metadata such as FaceId, BoundingBox, Confidence of the input face used for search.

*/ @interface AWSRekognitionSearchedFace : AWSModel /**

Unique identifier assigned to the face.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; @end /**

Contains data regarding the input face used for a search.

*/ @interface AWSRekognitionSearchedFaceDetails : AWSModel /**

Structure containing attributes of the face that the algorithm detected.

A FaceDetail object contains either the default facial attributes or all facial attributes. The default attributes are BoundingBox, Confidence, Landmarks, Pose, and Quality.

GetFaceDetection is the only Amazon Rekognition Video stored video operation that can return a FaceDetail object with all attributes. To specify which attributes to return, use the FaceAttributes input parameter for StartFaceDetection. The following Amazon Rekognition Video operations return only the default attributes. The corresponding Start operations don't have a FaceAttributes input parameter:

  • GetCelebrityRecognition

  • GetPersonTracking

  • GetFaceSearch

The Amazon Rekognition Image DetectFaces and IndexFaces operations can return all facial attributes. To specify which attributes to return, use the Attributes input parameter for DetectFaces. For IndexFaces, use the DetectAttributes input parameter.

*/ @property (nonatomic, strong) AWSRekognitionFaceDetail * _Nullable faceDetail; @end /**

Contains metadata about a User searched for within a collection.

*/ @interface AWSRekognitionSearchedUser : AWSModel /**

A provided ID for the UserID. Unique within the collection.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /**

A technical cue or shot detection segment detected in a video. An array of SegmentDetection objects containing all segments detected in a stored video is returned by GetSegmentDetection.

*/ @interface AWSRekognitionSegmentDetection : AWSModel /**

The duration of a video segment, expressed in frames.

*/ @property (nonatomic, strong) NSNumber * _Nullable durationFrames; /**

The duration of the detected segment in milliseconds.

*/ @property (nonatomic, strong) NSNumber * _Nullable durationMillis; /**

The duration of the timecode for the detected segment in SMPTE format.

*/ @property (nonatomic, strong) NSString * _Nullable durationSMPTE; /**

The frame number at the end of a video segment, using a frame index that starts with 0.

*/ @property (nonatomic, strong) NSNumber * _Nullable endFrameNumber; /**

The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment. EndTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).

*/ @property (nonatomic, strong) NSString * _Nullable endTimecodeSMPTE; /**

The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.

*/ @property (nonatomic, strong) NSNumber * _Nullable endTimestampMillis; /**

If the segment is a shot detection, contains information about the shot detection.

*/ @property (nonatomic, strong) AWSRekognitionShotSegment * _Nullable shotSegment; /**

The frame number of the start of a video segment, using a frame index that starts with 0.

*/ @property (nonatomic, strong) NSNumber * _Nullable startFrameNumber; /**

The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment. StartTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).

*/ @property (nonatomic, strong) NSString * _Nullable startTimecodeSMPTE; /**

The start time of the detected segment in milliseconds from the start of the video. This value is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of 100 millis.

*/ @property (nonatomic, strong) NSNumber * _Nullable startTimestampMillis; /**

If the segment is a technical cue, contains information about the technical cue.

*/ @property (nonatomic, strong) AWSRekognitionTechnicalCueSegment * _Nullable technicalCueSegment; /**

The type of the segment. Valid values are TECHNICAL_CUE and SHOT.

*/ @property (nonatomic, assign) AWSRekognitionSegmentType types; @end /**

Information about the type of a segment requested in a call to StartSegmentDetection. An array of SegmentTypeInfo objects is returned by the response from GetSegmentDetection.

*/ @interface AWSRekognitionSegmentTypeInfo : AWSModel /**

The version of the model used to detect segments.

*/ @property (nonatomic, strong) NSString * _Nullable modelVersion; /**

The type of a segment (technical cue or shot detection).

*/ @property (nonatomic, assign) AWSRekognitionSegmentType types; @end /**

Information about a shot detection segment detected in a video. For more information, see SegmentDetection.

*/ @interface AWSRekognitionShotSegment : AWSModel /**

The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

An Identifier for a shot detection segment detected in a video.

*/ @property (nonatomic, strong) NSNumber * _Nullable index; @end /**

Indicates whether or not the face is smiling, and the confidence level in the determination.

*/ @interface AWSRekognitionSmile : AWSModel /**

Level of confidence in the determination.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Boolean value that indicates whether the face is smiling or not.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /** */ @interface AWSRekognitionStartCelebrityRecognitionRequest : AWSRequest /**

Idempotent token used to identify the start request. If you use the same token with multiple StartCelebrityRecognition requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the celebrity recognition analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.

*/ @property (nonatomic, strong) AWSRekognitionNotificationChannel * _Nullable notificationChannel; /**

The video in which you want to recognize celebrities. The video must be stored in an Amazon S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; @end /** */ @interface AWSRekognitionStartCelebrityRecognitionResponse : AWSModel /**

The identifier for the celebrity recognition analysis job. Use JobId to identify the job in a subsequent call to GetCelebrityRecognition.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; @end /** */ @interface AWSRekognitionStartContentModerationRequest : AWSRequest /**

Idempotent token used to identify the start request. If you use the same token with multiple StartContentModeration requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

Specifies the minimum confidence that Amazon Rekognition must have in order to return a moderated content label. Confidence represents how certain Amazon Rekognition is that the moderated content is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition doesn't return any moderated content labels with a confidence level lower than this specified value. If you don't specify MinConfidence, GetContentModeration returns labels with confidence values greater than or equal to 50 percent.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; /**

The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.

*/ @property (nonatomic, strong) AWSRekognitionNotificationChannel * _Nullable notificationChannel; /**

The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored in an Amazon S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; @end /** */ @interface AWSRekognitionStartContentModerationResponse : AWSModel /**

The identifier for the content analysis job. Use JobId to identify the job in a subsequent call to GetContentModeration.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; @end /** */ @interface AWSRekognitionStartFaceDetectionRequest : AWSRequest /**

Idempotent token used to identify the start request. If you use the same token with multiple StartFaceDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The face attributes you want returned.

DEFAULT - The following subset of facial attributes are returned: BoundingBox, Confidence, Pose, Quality and Landmarks.

ALL - All facial attributes are returned.

*/ @property (nonatomic, assign) AWSRekognitionFaceAttributes faceAttributes; /**

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.

*/ @property (nonatomic, strong) AWSRekognitionNotificationChannel * _Nullable notificationChannel; /**

The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; @end /** */ @interface AWSRekognitionStartFaceDetectionResponse : AWSModel /**

The identifier for the face detection job. Use JobId to identify the job in a subsequent call to GetFaceDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; @end /** */ @interface AWSRekognitionStartFaceSearchRequest : AWSRequest /**

Idempotent token used to identify the start request. If you use the same token with multiple StartFaceSearch requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

ID of the collection that contains the faces you want to search for.

*/ @property (nonatomic, strong) NSString * _Nullable collectionId; /**

The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.

*/ @property (nonatomic, strong) NSNumber * _Nullable faceMatchThreshold; /**

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.

*/ @property (nonatomic, strong) AWSRekognitionNotificationChannel * _Nullable notificationChannel; /**

The video you want to search. The video must be stored in an Amazon S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; @end /** */ @interface AWSRekognitionStartFaceSearchResponse : AWSModel /**

The identifier for the search job. Use JobId to identify the job in a subsequent call to GetFaceSearch.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; @end /** */ @interface AWSRekognitionStartLabelDetectionRequest : AWSRequest /**

Idempotent token used to identify the start request. If you use the same token with multiple StartLabelDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

The features to return after video analysis. You can specify that GENERAL_LABELS are returned.

*/ @property (nonatomic, strong) NSArray * _Nullable features; /**

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any labels with a confidence level lower than this specified value.

If you don't specify MinConfidence, the operation returns labels and bounding boxes (if detected) with confidence values greater than or equal to 50 percent.

*/ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; /**

The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.

*/ @property (nonatomic, strong) AWSRekognitionNotificationChannel * _Nullable notificationChannel; /**

The settings for a StartLabelDetection request.Contains the specified parameters for the label detection request of an asynchronous label analysis operation. Settings can include filters for GENERAL_LABELS.

*/ @property (nonatomic, strong) AWSRekognitionLabelDetectionSettings * _Nullable settings; /**

The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; @end /** */ @interface AWSRekognitionStartLabelDetectionResponse : AWSModel /**

The identifier for the label detection job. Use JobId to identify the job in a subsequent call to GetLabelDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; @end /** */ @interface AWSRekognitionStartPersonTrackingRequest : AWSRequest /**

Idempotent token used to identify the start request. If you use the same token with multiple StartPersonTracking requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the people detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.

*/ @property (nonatomic, strong) AWSRekognitionNotificationChannel * _Nullable notificationChannel; /**

The video in which you want to detect people. The video must be stored in an Amazon S3 bucket.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; @end /** */ @interface AWSRekognitionStartPersonTrackingResponse : AWSModel /**

The identifier for the person detection job. Use JobId to identify the job in a subsequent call to GetPersonTracking.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; @end /** */ @interface AWSRekognitionStartProjectVersionRequest : AWSRequest /**

The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxInferenceUnits; /**

The minimum number of inference units to use. A single inference unit represents 1 hour of processing.

For information about the number of transactions per second (TPS) that an inference unit can support, see Running a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels Guide.

Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.

*/ @property (nonatomic, strong) NSNumber * _Nullable minInferenceUnits; /**

The Amazon Resource Name(ARN) of the model version that you want to start.

*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @end /** */ @interface AWSRekognitionStartProjectVersionResponse : AWSModel /**

The current running status of the model.

*/ @property (nonatomic, assign) AWSRekognitionProjectVersionStatus status; @end /**

Filters applied to the technical cue or shot detection segments. For more information, see StartSegmentDetection.

*/ @interface AWSRekognitionStartSegmentDetectionFilters : AWSModel /**

Filters that are specific to shot detections.

*/ @property (nonatomic, strong) AWSRekognitionStartShotDetectionFilter * _Nullable shotFilter; /**

Filters that are specific to technical cues.

*/ @property (nonatomic, strong) AWSRekognitionStartTechnicalCueDetectionFilter * _Nullable technicalCueFilter; @end /** */ @interface AWSRekognitionStartSegmentDetectionRequest : AWSRequest /**

Idempotent token used to identify the start request. If you use the same token with multiple StartSegmentDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

Filters for technical cue or shot detection.

*/ @property (nonatomic, strong) AWSRekognitionStartSegmentDetectionFilters * _Nullable filters; /**

An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.

*/ @property (nonatomic, strong) AWSRekognitionNotificationChannel * _Nullable notificationChannel; /**

An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT.

*/ @property (nonatomic, strong) NSArray * _Nullable segmentTypes; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; @end /** */ @interface AWSRekognitionStartSegmentDetectionResponse : AWSModel /**

Unique identifier for the segment detection job. The JobId is returned from StartSegmentDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; @end /**

Filters for the shot detection segments returned by GetSegmentDetection. For more information, see StartSegmentDetectionFilters.

*/ @interface AWSRekognitionStartShotDetectionFilter : AWSModel /**

Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level lower than this specified value.

If you don't specify MinSegmentConfidence, the GetSegmentDetection returns segments with confidence values greater than or equal to 50 percent.

*/ @property (nonatomic, strong) NSNumber * _Nullable minSegmentConfidence; @end /** */ @interface AWSRekognitionStartStreamProcessorRequest : AWSRequest /**

The name of the stream processor to start processing.

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

Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.

This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.

*/ @property (nonatomic, strong) AWSRekognitionStreamProcessingStartSelector * _Nullable startSelector; /**

Specifies when to stop processing the stream. You can specify a maximum amount of time to process the video.

This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.

*/ @property (nonatomic, strong) AWSRekognitionStreamProcessingStopSelector * _Nullable stopSelector; @end /** */ @interface AWSRekognitionStartStreamProcessorResponse : AWSModel /**

A unique identifier for the stream processing session.

*/ @property (nonatomic, strong) NSString * _Nullable sessionId; @end /**

Filters for the technical segments returned by GetSegmentDetection. For more information, see StartSegmentDetectionFilters.

*/ @interface AWSRekognitionStartTechnicalCueDetectionFilter : AWSModel /**

A filter that allows you to control the black frame detection by specifying the black levels and pixel coverage of black pixels in a frame. Videos can come from multiple sources, formats, and time periods, with different standards and varying noise levels for black frames that need to be accounted for.

*/ @property (nonatomic, strong) AWSRekognitionBlackFrame * _Nullable blackFrame; /**

Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level lower than this specified value.

If you don't specify MinSegmentConfidence, GetSegmentDetection returns segments with confidence values greater than or equal to 50 percent.

*/ @property (nonatomic, strong) NSNumber * _Nullable minSegmentConfidence; @end /**

Set of optional parameters that let you set the criteria text must meet to be included in your response. WordFilter looks at a word's height, width and minimum confidence. RegionOfInterest lets you set a specific region of the screen to look for text in.

*/ @interface AWSRekognitionStartTextDetectionFilters : AWSModel /**

Filter focusing on a certain area of the frame. Uses a BoundingBox object to set the region of the screen.

*/ @property (nonatomic, strong) NSArray * _Nullable regionsOfInterest; /**

Filters focusing on qualities of the text, such as confidence or size.

*/ @property (nonatomic, strong) AWSRekognitionDetectionFilter * _Nullable wordFilter; @end /** */ @interface AWSRekognitionStartTextDetectionRequest : AWSRequest /**

Idempotent token used to identify the start request. If you use the same token with multiple StartTextDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentaly started more than once.

*/ @property (nonatomic, strong) NSString * _Nullable clientRequestToken; /**

Optional parameters that let you set criteria the text must meet to be included in your response.

*/ @property (nonatomic, strong) AWSRekognitionStartTextDetectionFilters * _Nullable filters; /**

An identifier returned in the completion status published by your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification.

*/ @property (nonatomic, strong) NSString * _Nullable jobTag; /**

The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see Calling Amazon Rekognition Video operations. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic. For more information, see Giving access to multiple Amazon SNS topics.

*/ @property (nonatomic, strong) AWSRekognitionNotificationChannel * _Nullable notificationChannel; /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @property (nonatomic, strong) AWSRekognitionVideo * _Nullable video; @end /** */ @interface AWSRekognitionStartTextDetectionResponse : AWSModel /**

Identifier for the text detection job. Use JobId to identify the job in a subsequent call to GetTextDetection.

*/ @property (nonatomic, strong) NSString * _Nullable jobId; @end /** */ @interface AWSRekognitionStopProjectVersionRequest : AWSRequest /**

The Amazon Resource Name (ARN) of the model version that you want to delete.

This operation requires permissions to perform the rekognition:StopProjectVersion action.

*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @end /** */ @interface AWSRekognitionStopProjectVersionResponse : AWSModel /**

The current status of the stop operation.

*/ @property (nonatomic, assign) AWSRekognitionProjectVersionStatus status; @end /** */ @interface AWSRekognitionStopStreamProcessorRequest : AWSRequest /**

The name of a stream processor created by CreateStreamProcessor.

*/ @property (nonatomic, strong) NSString * _Nullable name; @end /** */ @interface AWSRekognitionStopStreamProcessorResponse : AWSModel @end /**

This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.

*/ @interface AWSRekognitionStreamProcessingStartSelector : AWSModel /**

Specifies the starting point in the stream to start processing. This can be done with a producer timestamp or a fragment number in a Kinesis stream.

*/ @property (nonatomic, strong) AWSRekognitionKinesisVideoStreamStartSelector * _Nullable KVSStreamStartSelector; @end /**

Specifies when to stop processing the stream. You can specify a maximum amount of time to process the video.

*/ @interface AWSRekognitionStreamProcessingStopSelector : AWSModel /**

Specifies the maximum amount of time in seconds that you want the stream to be processed. The largest amount of time is 2 minutes. The default is 10 seconds.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxDurationInSeconds; @end /**

An object that recognizes faces or labels in a streaming video. An Amazon Rekognition stream processor is created by a call to CreateStreamProcessor. The request parameters for CreateStreamProcessor describe the Kinesis video stream source for the streaming video, face recognition parameters, and where to stream the analysis resullts.

*/ @interface AWSRekognitionStreamProcessor : AWSModel /**

Name of the Amazon Rekognition stream processor.

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

Current status of the Amazon Rekognition stream processor.

*/ @property (nonatomic, assign) AWSRekognitionStreamProcessorStatus status; @end /**

Allows you to opt in or opt out to share 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.

Required parameters: [OptIn] */ @interface AWSRekognitionStreamProcessorDataSharingPreference : AWSModel /**

If this option is set to true, you choose to share data with Rekognition to improve model performance.

*/ @property (nonatomic, strong) NSNumber * _Nullable optIn; @end /**

Information about the source streaming video.

*/ @interface AWSRekognitionStreamProcessorInput : AWSModel /**

The Kinesis video stream input stream for the source streaming video.

*/ @property (nonatomic, strong) AWSRekognitionKinesisVideoStream * _Nullable kinesisVideoStream; @end /**

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.

Required parameters: [SNSTopicArn] */ @interface AWSRekognitionStreamProcessorNotificationChannel : AWSModel /**

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon Rekognition posts the completion status.

*/ @property (nonatomic, strong) NSString * _Nullable SNSTopicArn; @end /**

Information about the Amazon Kinesis Data Streams stream to which a Amazon Rekognition Video stream processor streams the results of a video analysis. For more information, see CreateStreamProcessor in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionStreamProcessorOutput : AWSModel /**

The Amazon Kinesis Data Streams stream to which the Amazon Rekognition stream processor streams the analysis results.

*/ @property (nonatomic, strong) AWSRekognitionKinesisDataStream * _Nullable kinesisDataStream; /**

The Amazon S3 bucket location to which Amazon Rekognition publishes the detailed inference results of a video analysis operation.

*/ @property (nonatomic, strong) AWSRekognitionS3Destination * _Nullable s3Destination; @end /**

Input parameters used in a streaming video analyzed by a Amazon Rekognition stream processor. You can use FaceSearch to recognize faces in a streaming video, or you can use ConnectedHome to detect labels.

*/ @interface AWSRekognitionStreamProcessorSettings : AWSModel /**

Label detection settings to use on a streaming video. Defining the settings is required in the request parameter for CreateStreamProcessor. Including this setting in the CreateStreamProcessor request enables you to use the stream processor for label detection. You can then select what you want the stream processor to detect, such as people or pets. When the stream processor has started, one notification is sent for each object class specified. For example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected, as well as an end-of-session summary.

*/ @property (nonatomic, strong) AWSRekognitionConnectedHomeSettings * _Nullable connectedHome; /**

Face search settings to use on a streaming video.

*/ @property (nonatomic, strong) AWSRekognitionFaceSearchSettings * _Nullable faceSearch; @end /**

The stream processor settings that you want to update. ConnectedHome settings can be updated to detect different labels with a different minimum confidence.

*/ @interface AWSRekognitionStreamProcessorSettingsForUpdate : AWSModel /**

The label detection settings you want to use for your stream processor.

*/ @property (nonatomic, strong) AWSRekognitionConnectedHomeSettingsForUpdate * _Nullable connectedHomeForUpdate; @end /**

The S3 bucket that contains the training summary. The training summary includes aggregated evaluation metrics for the entire testing dataset and metrics for each individual label.

You get the training summary S3 bucket location by calling DescribeProjectVersions.

*/ @interface AWSRekognitionSummary : AWSModel /**

Provides the S3 bucket name and object name.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.

*/ @property (nonatomic, strong) AWSRekognitionS3Object * _Nullable s3Object; @end /**

Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.

*/ @interface AWSRekognitionSunglasses : AWSModel /**

Level of confidence in the determination.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

Boolean value that indicates whether the face is wearing sunglasses or not.

*/ @property (nonatomic, strong) NSNumber * _Nullable value; @end /** */ @interface AWSRekognitionTagResourceRequest : AWSRequest /**

Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to assign the tags to.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; /**

The key-value tags to assign to the resource.

*/ @property (nonatomic, strong) NSDictionary * _Nullable tags; @end /** */ @interface AWSRekognitionTagResourceResponse : AWSModel @end /**

Information about a technical cue segment. For more information, see SegmentDetection.

*/ @interface AWSRekognitionTechnicalCueSegment : AWSModel /**

The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The type of the technical cue.

*/ @property (nonatomic, assign) AWSRekognitionTechnicalCueType types; @end /**

The dataset used for testing. Optionally, if AutoCreate is set, Amazon Rekognition Custom Labels uses the training dataset to create a test dataset with a temporary split of the training dataset.

*/ @interface AWSRekognitionTestingData : AWSModel /**

The assets used for testing.

*/ @property (nonatomic, strong) NSArray * _Nullable assets; /**

If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.

*/ @property (nonatomic, strong) NSNumber * _Nullable autoCreate; @end /**

Sagemaker Groundtruth format manifest files for the input, output and validation datasets that are used and created during testing.

*/ @interface AWSRekognitionTestingDataResult : AWSModel /**

The testing dataset that was supplied for training.

*/ @property (nonatomic, strong) AWSRekognitionTestingData * _Nullable input; /**

The subset of the dataset that was actually tested. Some images (assets) might not be tested due to file formatting and other issues.

*/ @property (nonatomic, strong) AWSRekognitionTestingData * _Nullable output; /**

The location of the data validation manifest. The data validation manifest is created for the test dataset during model training.

*/ @property (nonatomic, strong) AWSRekognitionValidationData * _Nullable validation; @end /**

Information about a word or line of text detected by DetectText.

The DetectedText field contains the text that Amazon Rekognition detected in the image.

Every word and line has an identifier (Id). Each word belongs to a line and has a parent identifier (ParentId) that identifies the line of text in which the word appears. The word Id is also an index for the word within a line of words.

For more information, see Detecting text in the Amazon Rekognition Developer Guide.

*/ @interface AWSRekognitionTextDetection : AWSModel /**

The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

The word or line of text recognized by Amazon Rekognition.

*/ @property (nonatomic, strong) NSString * _Nullable detectedText; /**

The location of the detected text on the image. Includes an axis aligned coarse bounding box surrounding the text and a finer grain polygon for more accurate spatial information.

*/ @property (nonatomic, strong) AWSRekognitionGeometry * _Nullable geometry; /**

The identifier for the detected text. The identifier is only unique for a single call to DetectText.

*/ @property (nonatomic, strong) NSNumber * _Nullable identifier; /**

The Parent identifier for the detected text identified by the value of ID. If the type of detected text is LINE, the value of ParentId is Null.

*/ @property (nonatomic, strong) NSNumber * _Nullable parentId; /**

The type of text that was detected.

*/ @property (nonatomic, assign) AWSRekognitionTextTypes types; @end /**

Information about text detected in a video. Incudes the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.

*/ @interface AWSRekognitionTextDetectionResult : AWSModel /**

Details about text detected in a video.

*/ @property (nonatomic, strong) AWSRekognitionTextDetection * _Nullable textDetection; /**

The time, in milliseconds from the start of the video, that the text was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the text first appears.

*/ @property (nonatomic, strong) NSNumber * _Nullable timestamp; @end /**

The dataset used for training.

*/ @interface AWSRekognitionTrainingData : AWSModel /**

A Sagemaker GroundTruth manifest file that contains the training images (assets).

*/ @property (nonatomic, strong) NSArray * _Nullable assets; @end /**

Sagemaker Groundtruth format manifest files for the input, output and validation datasets that are used and created during testing.

*/ @interface AWSRekognitionTrainingDataResult : AWSModel /**

The training assets that you supplied for training.

*/ @property (nonatomic, strong) AWSRekognitionTrainingData * _Nullable input; /**

The images (assets) that were actually trained by Amazon Rekognition Custom Labels.

*/ @property (nonatomic, strong) AWSRekognitionTrainingData * _Nullable output; /**

The location of the data validation manifest. The data validation manifest is created for the training dataset during model training.

*/ @property (nonatomic, strong) AWSRekognitionValidationData * _Nullable validation; @end /**

A face that IndexFaces detected, but didn't index. Use the Reasons response attribute to determine why a face wasn't indexed.

*/ @interface AWSRekognitionUnindexedFace : AWSModel /**

The structure that contains attributes of a face that IndexFacesdetected, but didn't index.

*/ @property (nonatomic, strong) AWSRekognitionFaceDetail * _Nullable faceDetail; /**

An array of reasons that specify why a face wasn't indexed.

  • EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.

  • EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the MaxFaces input parameter for IndexFaces.

  • LOW_BRIGHTNESS - The image is too dark.

  • LOW_SHARPNESS - The image is too blurry.

  • LOW_CONFIDENCE - The face was detected with a low confidence.

  • SMALL_BOUNDING_BOX - The bounding box around the face is too small.

*/ @property (nonatomic, strong) NSArray * _Nullable reasons; @end /**

Face details inferred from the image but not used for search. The response attribute contains reasons for why a face wasn't used for Search.

*/ @interface AWSRekognitionUnsearchedFace : AWSModel /**

Structure containing attributes of the face that the algorithm detected.

A FaceDetail object contains either the default facial attributes or all facial attributes. The default attributes are BoundingBox, Confidence, Landmarks, Pose, and Quality.

GetFaceDetection is the only Amazon Rekognition Video stored video operation that can return a FaceDetail object with all attributes. To specify which attributes to return, use the FaceAttributes input parameter for StartFaceDetection. The following Amazon Rekognition Video operations return only the default attributes. The corresponding Start operations don't have a FaceAttributes input parameter:

  • GetCelebrityRecognition

  • GetPersonTracking

  • GetFaceSearch

The Amazon Rekognition Image DetectFaces and IndexFaces operations can return all facial attributes. To specify which attributes to return, use the Attributes input parameter for DetectFaces. For IndexFaces, use the DetectAttributes input parameter.

*/ @property (nonatomic, strong) AWSRekognitionFaceDetail * _Nullable faceDetails; /**

Reasons why a face wasn't used for Search.

*/ @property (nonatomic, strong) NSArray * _Nullable reasons; @end /**

Contains metadata like FaceId, UserID, and Reasons, for a face that was unsuccessfully associated.

*/ @interface AWSRekognitionUnsuccessfulFaceAssociation : AWSModel /**

Match confidence with the UserID, provides information regarding if a face association was unsuccessful because it didn't meet UserMatchThreshold.

*/ @property (nonatomic, strong) NSNumber * _Nullable confidence; /**

A unique identifier assigned to the face.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; /**

The reason why the association was unsuccessful.

*/ @property (nonatomic, strong) NSArray * _Nullable reasons; /**

A provided ID for the UserID. Unique within the collection.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /**

Contains metadata like FaceId, UserID, and Reasons, for a face that was unsuccessfully deleted.

*/ @interface AWSRekognitionUnsuccessfulFaceDeletion : AWSModel /**

A unique identifier assigned to the face.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; /**

The reason why the deletion was unsuccessful.

*/ @property (nonatomic, strong) NSArray * _Nullable reasons; /**

A provided ID for the UserID. Unique within the collection.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /**

Contains metadata like FaceId, UserID, and Reasons, for a face that was unsuccessfully disassociated.

*/ @interface AWSRekognitionUnsuccessfulFaceDisassociation : AWSModel /**

A unique identifier assigned to the face.

*/ @property (nonatomic, strong) NSString * _Nullable faceId; /**

The reason why the deletion was unsuccessful.

*/ @property (nonatomic, strong) NSArray * _Nullable reasons; /**

A provided ID for the UserID. Unique within the collection.

*/ @property (nonatomic, strong) NSString * _Nullable userId; @end /** */ @interface AWSRekognitionUntagResourceRequest : AWSRequest /**

Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to remove the tags from.

*/ @property (nonatomic, strong) NSString * _Nullable resourceArn; /**

A list of the tags that you want to remove.

*/ @property (nonatomic, strong) NSArray * _Nullable tagKeys; @end /** */ @interface AWSRekognitionUntagResourceResponse : AWSModel @end /** */ @interface AWSRekognitionUpdateDatasetEntriesRequest : AWSRequest /**

The changes that you want to make to the dataset.

*/ @property (nonatomic, strong) AWSRekognitionDatasetChanges * _Nullable changes; /**

The Amazon Resource Name (ARN) of the dataset that you want to update.

*/ @property (nonatomic, strong) NSString * _Nullable datasetArn; @end /** */ @interface AWSRekognitionUpdateDatasetEntriesResponse : AWSModel @end /** */ @interface AWSRekognitionUpdateStreamProcessorRequest : AWSRequest /**

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.

*/ @property (nonatomic, strong) AWSRekognitionStreamProcessorDataSharingPreference * _Nullable dataSharingPreferenceForUpdate; /**

Name of the stream processor that you want to update.

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

A list of parameters you want to delete from the stream processor.

*/ @property (nonatomic, strong) NSArray * _Nullable parametersToDelete; /**

Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.

*/ @property (nonatomic, strong) NSArray * _Nullable regionsOfInterestForUpdate; /**

The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.

*/ @property (nonatomic, strong) AWSRekognitionStreamProcessorSettingsForUpdate * _Nullable settingsForUpdate; @end /** */ @interface AWSRekognitionUpdateStreamProcessorResponse : AWSModel @end /**

Metadata of the user stored in a collection.

*/ @interface AWSRekognitionUser : AWSModel /**

A provided ID for the User. Unique within the collection.

*/ @property (nonatomic, strong) NSString * _Nullable userId; /**

Communicates if the UserID has been updated with latest set of faces to be associated with the UserID.

*/ @property (nonatomic, assign) AWSRekognitionUserStatus userStatus; @end /**

Provides UserID metadata along with the confidence in the match of this UserID with the input face.

*/ @interface AWSRekognitionUserMatch : AWSModel /**

Describes the UserID metadata.

*/ @property (nonatomic, strong) NSNumber * _Nullable similarity; /**

Confidence in the match of this UserID with the input face.

*/ @property (nonatomic, strong) AWSRekognitionMatchedUser * _Nullable user; @end /**

Contains the Amazon S3 bucket location of the validation data for a model training job.

The validation data includes error information for individual JSON Lines in the dataset. For more information, see Debugging a Failed Model Training in the Amazon Rekognition Custom Labels Developer Guide.

You get the ValidationData object for the training dataset (TrainingDataResult) and the test dataset (TestingDataResult) by calling DescribeProjectVersions.

The assets array contains a single Asset object. The GroundTruthManifest field of the Asset object contains the S3 bucket location of the validation data.

*/ @interface AWSRekognitionValidationData : AWSModel /**

The assets that comprise the validation data.

*/ @property (nonatomic, strong) NSArray * _Nullable assets; @end /**

Video file stored in an Amazon S3 bucket. Amazon Rekognition video start operations such as StartLabelDetection use Video to specify a video for analysis. The supported file formats are .mp4, .mov and .avi.

*/ @interface AWSRekognitionVideo : AWSModel /**

The Amazon S3 bucket name and file name for the video.

*/ @property (nonatomic, strong) AWSRekognitionS3Object * _Nullable s3Object; @end /**

Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.

*/ @interface AWSRekognitionVideoMetadata : AWSModel /**

Type of compression used in the analyzed video.

*/ @property (nonatomic, strong) NSString * _Nullable codec; /**

A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).

*/ @property (nonatomic, assign) AWSRekognitionVideoColorRange colorRange; /**

Length of the video in milliseconds.

*/ @property (nonatomic, strong) NSNumber * _Nullable durationMillis; /**

Format of the analyzed video. Possible values are MP4, MOV and AVI.

*/ @property (nonatomic, strong) NSString * _Nullable format; /**

Vertical pixel dimension of the video.

*/ @property (nonatomic, strong) NSNumber * _Nullable frameHeight; /**

Number of frames per second in the video.

*/ @property (nonatomic, strong) NSNumber * _Nullable frameRate; /**

Horizontal pixel dimension of the video.

*/ @property (nonatomic, strong) NSNumber * _Nullable frameWidth; @end NS_ASSUME_NONNULL_END