aws-sdk-rekognition 1.44.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +338 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-rekognition.rb +2 -2
- data/lib/aws-sdk-rekognition/client.rb +124 -10
- data/lib/aws-sdk-rekognition/client_api.rb +92 -1
- data/lib/aws-sdk-rekognition/errors.rb +12 -1
- data/lib/aws-sdk-rekognition/resource.rb +1 -1
- data/lib/aws-sdk-rekognition/types.rb +348 -32
- data/lib/aws-sdk-rekognition/waiters.rb +1 -1
- metadata +8 -5
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -37,8 +37,8 @@ module Aws::Rekognition
|
|
37
37
|
end
|
38
38
|
|
39
39
|
# Assets are the images that you use to train and evaluate a model
|
40
|
-
# version. Assets
|
41
|
-
#
|
40
|
+
# version. Assets can also contain validation information that you use
|
41
|
+
# to debug a failed model training.
|
42
42
|
#
|
43
43
|
# @note When making an API call, you may pass Asset
|
44
44
|
# data as a hash:
|
@@ -54,7 +54,8 @@ module Aws::Rekognition
|
|
54
54
|
# }
|
55
55
|
#
|
56
56
|
# @!attribute [rw] ground_truth_manifest
|
57
|
-
# The S3 bucket that contains
|
57
|
+
# The S3 bucket that contains an Amazon Sagemaker Ground Truth format
|
58
|
+
# manifest file.
|
58
59
|
# @return [Types::GroundTruthManifest]
|
59
60
|
#
|
60
61
|
class Asset < Struct.new(
|
@@ -80,7 +81,7 @@ module Aws::Rekognition
|
|
80
81
|
# @return [Integer]
|
81
82
|
#
|
82
83
|
# @!attribute [rw] number_of_channels
|
83
|
-
# The number of audio channels in the
|
84
|
+
# The number of audio channels in the segment.
|
84
85
|
# @return [Integer]
|
85
86
|
#
|
86
87
|
class AudioMetadata < Struct.new(
|
@@ -110,10 +111,11 @@ module Aws::Rekognition
|
|
110
111
|
include Aws::Structure
|
111
112
|
end
|
112
113
|
|
113
|
-
# Identifies the bounding box around the label, face, or
|
114
|
-
# `left` (x-coordinate) and `top`
|
115
|
-
# representing the top and left sides of
|
116
|
-
# upper-left corner of the image is the
|
114
|
+
# Identifies the bounding box around the label, face, text or personal
|
115
|
+
# protective equipment. The `left` (x-coordinate) and `top`
|
116
|
+
# (y-coordinate) are coordinates representing the top and left sides of
|
117
|
+
# the bounding box. Note that the upper-left corner of the image is the
|
118
|
+
# origin (0,0).
|
117
119
|
#
|
118
120
|
# The `top` and `left` values returned are ratios of the overall image
|
119
121
|
# size. For example, if the input image is 700x200 pixels, and the
|
@@ -499,6 +501,25 @@ module Aws::Rekognition
|
|
499
501
|
include Aws::Structure
|
500
502
|
end
|
501
503
|
|
504
|
+
# Information about an item of Personal Protective Equipment covering a
|
505
|
+
# corresponding body part. For more information, see
|
506
|
+
# DetectProtectiveEquipment.
|
507
|
+
#
|
508
|
+
# @!attribute [rw] confidence
|
509
|
+
# The confidence that Amazon Rekognition has in the value of `Value`.
|
510
|
+
# @return [Float]
|
511
|
+
#
|
512
|
+
# @!attribute [rw] value
|
513
|
+
# True if the PPE covers the corresponding body part, otherwise false.
|
514
|
+
# @return [Boolean]
|
515
|
+
#
|
516
|
+
class CoversBodyPart < Struct.new(
|
517
|
+
:confidence,
|
518
|
+
:value)
|
519
|
+
SENSITIVE = []
|
520
|
+
include Aws::Structure
|
521
|
+
end
|
522
|
+
|
502
523
|
# @note When making an API call, you may pass CreateCollectionRequest
|
503
524
|
# data as a hash:
|
504
525
|
#
|
@@ -1445,6 +1466,64 @@ module Aws::Rekognition
|
|
1445
1466
|
include Aws::Structure
|
1446
1467
|
end
|
1447
1468
|
|
1469
|
+
# @note When making an API call, you may pass DetectProtectiveEquipmentRequest
|
1470
|
+
# data as a hash:
|
1471
|
+
#
|
1472
|
+
# {
|
1473
|
+
# image: { # required
|
1474
|
+
# bytes: "data",
|
1475
|
+
# s3_object: {
|
1476
|
+
# bucket: "S3Bucket",
|
1477
|
+
# name: "S3ObjectName",
|
1478
|
+
# version: "S3ObjectVersion",
|
1479
|
+
# },
|
1480
|
+
# },
|
1481
|
+
# summarization_attributes: {
|
1482
|
+
# min_confidence: 1.0, # required
|
1483
|
+
# required_equipment_types: ["FACE_COVER"], # required, accepts FACE_COVER, HAND_COVER, HEAD_COVER
|
1484
|
+
# },
|
1485
|
+
# }
|
1486
|
+
#
|
1487
|
+
# @!attribute [rw] image
|
1488
|
+
# The image in which you want to detect PPE on detected persons. The
|
1489
|
+
# image can be passed as image bytes or you can reference an image
|
1490
|
+
# stored in an Amazon S3 bucket.
|
1491
|
+
# @return [Types::Image]
|
1492
|
+
#
|
1493
|
+
# @!attribute [rw] summarization_attributes
|
1494
|
+
# An array of PPE types that you want to summarize.
|
1495
|
+
# @return [Types::ProtectiveEquipmentSummarizationAttributes]
|
1496
|
+
#
|
1497
|
+
class DetectProtectiveEquipmentRequest < Struct.new(
|
1498
|
+
:image,
|
1499
|
+
:summarization_attributes)
|
1500
|
+
SENSITIVE = []
|
1501
|
+
include Aws::Structure
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# @!attribute [rw] protective_equipment_model_version
|
1505
|
+
# The version number of the PPE detection model used to detect PPE in
|
1506
|
+
# the image.
|
1507
|
+
# @return [String]
|
1508
|
+
#
|
1509
|
+
# @!attribute [rw] persons
|
1510
|
+
# An array of persons detected in the image (including persons not
|
1511
|
+
# wearing PPE).
|
1512
|
+
# @return [Array<Types::ProtectiveEquipmentPerson>]
|
1513
|
+
#
|
1514
|
+
# @!attribute [rw] summary
|
1515
|
+
# Summary information for the types of PPE specified in the
|
1516
|
+
# `SummarizationAttributes` input parameter.
|
1517
|
+
# @return [Types::ProtectiveEquipmentSummary]
|
1518
|
+
#
|
1519
|
+
class DetectProtectiveEquipmentResponse < Struct.new(
|
1520
|
+
:protective_equipment_model_version,
|
1521
|
+
:persons,
|
1522
|
+
:summary)
|
1523
|
+
SENSITIVE = []
|
1524
|
+
include Aws::Structure
|
1525
|
+
end
|
1526
|
+
|
1448
1527
|
# A set of optional parameters that you can use to set the criteria that
|
1449
1528
|
# the text must meet to be included in your response. `WordFilter` looks
|
1450
1529
|
# at a word’s height, width, and minimum confidence. `RegionOfInterest`
|
@@ -1618,6 +1697,36 @@ module Aws::Rekognition
|
|
1618
1697
|
include Aws::Structure
|
1619
1698
|
end
|
1620
1699
|
|
1700
|
+
# Information about an item of Personal Protective Equipment (PPE)
|
1701
|
+
# detected by DetectProtectiveEquipment. For more information, see
|
1702
|
+
# DetectProtectiveEquipment.
|
1703
|
+
#
|
1704
|
+
# @!attribute [rw] bounding_box
|
1705
|
+
# A bounding box surrounding the item of detected PPE.
|
1706
|
+
# @return [Types::BoundingBox]
|
1707
|
+
#
|
1708
|
+
# @!attribute [rw] confidence
|
1709
|
+
# The confidence that Amazon Rekognition has that the bounding box
|
1710
|
+
# (`BoundingBox`) contains an item of PPE.
|
1711
|
+
# @return [Float]
|
1712
|
+
#
|
1713
|
+
# @!attribute [rw] type
|
1714
|
+
# The type of detected PPE.
|
1715
|
+
# @return [String]
|
1716
|
+
#
|
1717
|
+
# @!attribute [rw] covers_body_part
|
1718
|
+
# Information about the body part covered by the detected PPE.
|
1719
|
+
# @return [Types::CoversBodyPart]
|
1720
|
+
#
|
1721
|
+
class EquipmentDetection < Struct.new(
|
1722
|
+
:bounding_box,
|
1723
|
+
:confidence,
|
1724
|
+
:type,
|
1725
|
+
:covers_body_part)
|
1726
|
+
SENSITIVE = []
|
1727
|
+
include Aws::Structure
|
1728
|
+
end
|
1729
|
+
|
1621
1730
|
# The evaluation results for the training of a model.
|
1622
1731
|
#
|
1623
1732
|
# @!attribute [rw] f1_score
|
@@ -2578,7 +2687,10 @@ module Aws::Rekognition
|
|
2578
2687
|
# @return [String]
|
2579
2688
|
#
|
2580
2689
|
# @!attribute [rw] segments
|
2581
|
-
# An array of segments detected in a video.
|
2690
|
+
# An array of segments detected in a video. The array is sorted by the
|
2691
|
+
# segment types (TECHNICAL\_CUE or SHOT) specified in the
|
2692
|
+
# `SegmentTypes` input parameter of `StartSegmentDetection`. Within
|
2693
|
+
# each segment type the array is sorted by timestamp values.
|
2582
2694
|
# @return [Array<Types::SegmentDetection>]
|
2583
2695
|
#
|
2584
2696
|
# @!attribute [rw] selected_segment_types
|
@@ -2676,7 +2788,8 @@ module Aws::Rekognition
|
|
2676
2788
|
include Aws::Structure
|
2677
2789
|
end
|
2678
2790
|
|
2679
|
-
# The S3 bucket that contains
|
2791
|
+
# The S3 bucket that contains an Amazon Sagemaker Ground Truth format
|
2792
|
+
# manifest file.
|
2680
2793
|
#
|
2681
2794
|
# @note When making an API call, you may pass GroundTruthManifest
|
2682
2795
|
# data as a hash:
|
@@ -3205,17 +3318,17 @@ module Aws::Rekognition
|
|
3205
3318
|
# @return [String]
|
3206
3319
|
#
|
3207
3320
|
# @!attribute [rw] x
|
3208
|
-
# The x-coordinate
|
3209
|
-
#
|
3210
|
-
#
|
3211
|
-
# value is 0.5.
|
3321
|
+
# The x-coordinate of the landmark expressed as a ratio of the width
|
3322
|
+
# of the image. The x-coordinate is measured from the left-side of the
|
3323
|
+
# image. For example, if the image is 700 pixels wide and the
|
3324
|
+
# x-coordinate of the landmark is at 350 pixels, this value is 0.5.
|
3212
3325
|
# @return [Float]
|
3213
3326
|
#
|
3214
3327
|
# @!attribute [rw] y
|
3215
|
-
# The y-coordinate
|
3216
|
-
#
|
3217
|
-
#
|
3218
|
-
# value is 0.
|
3328
|
+
# The y-coordinate of the landmark expressed as a ratio of the height
|
3329
|
+
# of the image. The y-coordinate is measured from the top of the
|
3330
|
+
# image. For example, if the image height is 200 pixels and the
|
3331
|
+
# y-coordinate of the landmark is at 50 pixels, this value is 0.25.
|
3219
3332
|
# @return [Float]
|
3220
3333
|
#
|
3221
3334
|
class Landmark < Struct.new(
|
@@ -3702,11 +3815,11 @@ module Aws::Rekognition
|
|
3702
3815
|
# @return [Types::OutputConfig]
|
3703
3816
|
#
|
3704
3817
|
# @!attribute [rw] training_data_result
|
3705
|
-
#
|
3818
|
+
# Contains information about the training results.
|
3706
3819
|
# @return [Types::TrainingDataResult]
|
3707
3820
|
#
|
3708
3821
|
# @!attribute [rw] testing_data_result
|
3709
|
-
#
|
3822
|
+
# Contains information about the testing results.
|
3710
3823
|
# @return [Types::TestingDataResult]
|
3711
3824
|
#
|
3712
3825
|
# @!attribute [rw] evaluation_result
|
@@ -3714,6 +3827,12 @@ module Aws::Rekognition
|
|
3714
3827
|
# training is successful.
|
3715
3828
|
# @return [Types::EvaluationResult]
|
3716
3829
|
#
|
3830
|
+
# @!attribute [rw] manifest_summary
|
3831
|
+
# The location of the summary manifest. The summary manifest provides
|
3832
|
+
# aggregate data validation results for the training and test
|
3833
|
+
# datasets.
|
3834
|
+
# @return [Types::GroundTruthManifest]
|
3835
|
+
#
|
3717
3836
|
class ProjectVersionDescription < Struct.new(
|
3718
3837
|
:project_version_arn,
|
3719
3838
|
:creation_timestamp,
|
@@ -3725,7 +3844,158 @@ module Aws::Rekognition
|
|
3725
3844
|
:output_config,
|
3726
3845
|
:training_data_result,
|
3727
3846
|
:testing_data_result,
|
3728
|
-
:evaluation_result
|
3847
|
+
:evaluation_result,
|
3848
|
+
:manifest_summary)
|
3849
|
+
SENSITIVE = []
|
3850
|
+
include Aws::Structure
|
3851
|
+
end
|
3852
|
+
|
3853
|
+
# Information about a body part detected by DetectProtectiveEquipment
|
3854
|
+
# that contains PPE. An array of `ProtectiveEquipmentBodyPart` objects
|
3855
|
+
# is returned for each person detected by `DetectProtectiveEquipment`.
|
3856
|
+
#
|
3857
|
+
# @!attribute [rw] name
|
3858
|
+
# The detected body part.
|
3859
|
+
# @return [String]
|
3860
|
+
#
|
3861
|
+
# @!attribute [rw] confidence
|
3862
|
+
# The confidence that Amazon Rekognition has in the detection accuracy
|
3863
|
+
# of the detected body part.
|
3864
|
+
# @return [Float]
|
3865
|
+
#
|
3866
|
+
# @!attribute [rw] equipment_detections
|
3867
|
+
# An array of Personal Protective Equipment items detected around a
|
3868
|
+
# body part.
|
3869
|
+
# @return [Array<Types::EquipmentDetection>]
|
3870
|
+
#
|
3871
|
+
class ProtectiveEquipmentBodyPart < Struct.new(
|
3872
|
+
:name,
|
3873
|
+
:confidence,
|
3874
|
+
:equipment_detections)
|
3875
|
+
SENSITIVE = []
|
3876
|
+
include Aws::Structure
|
3877
|
+
end
|
3878
|
+
|
3879
|
+
# A person detected by a call to DetectProtectiveEquipment. The API
|
3880
|
+
# returns all persons detected in the input image in an array of
|
3881
|
+
# `ProtectiveEquipmentPerson` objects.
|
3882
|
+
#
|
3883
|
+
# @!attribute [rw] body_parts
|
3884
|
+
# An array of body parts detected on a person's body (including body
|
3885
|
+
# parts without PPE).
|
3886
|
+
# @return [Array<Types::ProtectiveEquipmentBodyPart>]
|
3887
|
+
#
|
3888
|
+
# @!attribute [rw] bounding_box
|
3889
|
+
# A bounding box around the detected person.
|
3890
|
+
# @return [Types::BoundingBox]
|
3891
|
+
#
|
3892
|
+
# @!attribute [rw] confidence
|
3893
|
+
# The confidence that Amazon Rekognition has that the bounding box
|
3894
|
+
# contains a person.
|
3895
|
+
# @return [Float]
|
3896
|
+
#
|
3897
|
+
# @!attribute [rw] id
|
3898
|
+
# The identifier for the detected person. The identifier is only
|
3899
|
+
# unique for a single call to `DetectProtectiveEquipment`.
|
3900
|
+
# @return [Integer]
|
3901
|
+
#
|
3902
|
+
class ProtectiveEquipmentPerson < Struct.new(
|
3903
|
+
:body_parts,
|
3904
|
+
:bounding_box,
|
3905
|
+
:confidence,
|
3906
|
+
:id)
|
3907
|
+
SENSITIVE = []
|
3908
|
+
include Aws::Structure
|
3909
|
+
end
|
3910
|
+
|
3911
|
+
# Specifies summary attributes to return from a call to
|
3912
|
+
# DetectProtectiveEquipment. You can specify which types of PPE to
|
3913
|
+
# summarize. You can also specify a minimum confidence value for
|
3914
|
+
# detections. Summary information is returned in the `Summary`
|
3915
|
+
# (ProtectiveEquipmentSummary) field of the response from
|
3916
|
+
# `DetectProtectiveEquipment`. The summary includes which persons in an
|
3917
|
+
# image were detected wearing the requested types of person protective
|
3918
|
+
# equipment (PPE), which persons were detected as not wearing PPE, and
|
3919
|
+
# the persons in which a determination could not be made. For more
|
3920
|
+
# information, see ProtectiveEquipmentSummary.
|
3921
|
+
#
|
3922
|
+
# @note When making an API call, you may pass ProtectiveEquipmentSummarizationAttributes
|
3923
|
+
# data as a hash:
|
3924
|
+
#
|
3925
|
+
# {
|
3926
|
+
# min_confidence: 1.0, # required
|
3927
|
+
# required_equipment_types: ["FACE_COVER"], # required, accepts FACE_COVER, HAND_COVER, HEAD_COVER
|
3928
|
+
# }
|
3929
|
+
#
|
3930
|
+
# @!attribute [rw] min_confidence
|
3931
|
+
# The minimum confidence level for which you want summary information.
|
3932
|
+
# The confidence level applies to person detection, body part
|
3933
|
+
# detection, equipment detection, and body part coverage. Amazon
|
3934
|
+
# Rekognition doesn't return summary information with a confidence
|
3935
|
+
# than this specified value. There isn't a default value.
|
3936
|
+
#
|
3937
|
+
# Specify a `MinConfidence` value that is between 50-100% as
|
3938
|
+
# `DetectProtectiveEquipment` returns predictions only where the
|
3939
|
+
# detection confidence is between 50% - 100%. If you specify a value
|
3940
|
+
# that is less than 50%, the results are the same specifying a value
|
3941
|
+
# of 50%.
|
3942
|
+
# @return [Float]
|
3943
|
+
#
|
3944
|
+
# @!attribute [rw] required_equipment_types
|
3945
|
+
# An array of personal protective equipment types for which you want
|
3946
|
+
# summary information. If a person is detected wearing a required
|
3947
|
+
# requipment type, the person's ID is added to the
|
3948
|
+
# `PersonsWithRequiredEquipment` array field returned in
|
3949
|
+
# ProtectiveEquipmentSummary by `DetectProtectiveEquipment`.
|
3950
|
+
# @return [Array<String>]
|
3951
|
+
#
|
3952
|
+
class ProtectiveEquipmentSummarizationAttributes < Struct.new(
|
3953
|
+
:min_confidence,
|
3954
|
+
:required_equipment_types)
|
3955
|
+
SENSITIVE = []
|
3956
|
+
include Aws::Structure
|
3957
|
+
end
|
3958
|
+
|
3959
|
+
# Summary information for required items of personal protective
|
3960
|
+
# equipment (PPE) detected on persons by a call to
|
3961
|
+
# DetectProtectiveEquipment. You specify the required type of PPE in the
|
3962
|
+
# `SummarizationAttributes` (ProtectiveEquipmentSummarizationAttributes)
|
3963
|
+
# input parameter. The summary includes which persons were detected
|
3964
|
+
# wearing the required personal protective equipment
|
3965
|
+
# (`PersonsWithRequiredEquipment`), which persons were detected as not
|
3966
|
+
# wearing the required PPE (`PersonsWithoutRequiredEquipment`), and the
|
3967
|
+
# persons in which a determination could not be made
|
3968
|
+
# (`PersonsIndeterminate`).
|
3969
|
+
#
|
3970
|
+
# To get a total for each category, use the size of the field array. For
|
3971
|
+
# example, to find out how many people were detected as wearing the
|
3972
|
+
# specified PPE, use the size of the `PersonsWithRequiredEquipment`
|
3973
|
+
# array. If you want to find out more about a person, such as the
|
3974
|
+
# location (BoundingBox) of the person on the image, use the person ID
|
3975
|
+
# in each array element. Each person ID matches the ID field of a
|
3976
|
+
# ProtectiveEquipmentPerson object returned in the `Persons` array by
|
3977
|
+
# `DetectProtectiveEquipment`.
|
3978
|
+
#
|
3979
|
+
# @!attribute [rw] persons_with_required_equipment
|
3980
|
+
# An array of IDs for persons who are wearing detected personal
|
3981
|
+
# protective equipment.
|
3982
|
+
# @return [Array<Integer>]
|
3983
|
+
#
|
3984
|
+
# @!attribute [rw] persons_without_required_equipment
|
3985
|
+
# An array of IDs for persons who are not wearing all of the types of
|
3986
|
+
# PPE specified in the RequiredEquipmentTypes field of the detected
|
3987
|
+
# personal protective equipment.
|
3988
|
+
# @return [Array<Integer>]
|
3989
|
+
#
|
3990
|
+
# @!attribute [rw] persons_indeterminate
|
3991
|
+
# An array of IDs for persons where it was not possible to determine
|
3992
|
+
# if they are wearing personal protective equipment.
|
3993
|
+
# @return [Array<Integer>]
|
3994
|
+
#
|
3995
|
+
class ProtectiveEquipmentSummary < Struct.new(
|
3996
|
+
:persons_with_required_equipment,
|
3997
|
+
:persons_without_required_equipment,
|
3998
|
+
:persons_indeterminate)
|
3729
3999
|
SENSITIVE = []
|
3730
4000
|
include Aws::Structure
|
3731
4001
|
end
|
@@ -3768,7 +4038,7 @@ module Aws::Rekognition
|
|
3768
4038
|
|
3769
4039
|
# @!attribute [rw] celebrity_faces
|
3770
4040
|
# Details about each celebrity found in the image. Amazon Rekognition
|
3771
|
-
# can detect a maximum of
|
4041
|
+
# can detect a maximum of 64 celebrities in an image.
|
3772
4042
|
# @return [Array<Types::Celebrity>]
|
3773
4043
|
#
|
3774
4044
|
# @!attribute [rw] unrecognized_faces
|
@@ -4059,12 +4329,14 @@ module Aws::Rekognition
|
|
4059
4329
|
#
|
4060
4330
|
# @!attribute [rw] start_timestamp_millis
|
4061
4331
|
# The start time of the detected segment in milliseconds from the
|
4062
|
-
# start of the video.
|
4332
|
+
# start of the video. This value is rounded down. For example, if the
|
4333
|
+
# actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video
|
4334
|
+
# returns a value of 100 millis.
|
4063
4335
|
# @return [Integer]
|
4064
4336
|
#
|
4065
4337
|
# @!attribute [rw] end_timestamp_millis
|
4066
4338
|
# The end time of the detected segment, in milliseconds, from the
|
4067
|
-
# start of the video.
|
4339
|
+
# start of the video. This value is rounded down.
|
4068
4340
|
# @return [Integer]
|
4069
4341
|
#
|
4070
4342
|
# @!attribute [rw] duration_millis
|
@@ -4131,11 +4403,17 @@ module Aws::Rekognition
|
|
4131
4403
|
include Aws::Structure
|
4132
4404
|
end
|
4133
4405
|
|
4406
|
+
# The size of the collection exceeds the allowed limit. For more
|
4407
|
+
# information, see Limits in Amazon Rekognition in the Amazon
|
4408
|
+
# Rekognition Developer Guide.
|
4409
|
+
#
|
4410
|
+
class ServiceQuotaExceededException < Aws::EmptyStructure; end
|
4411
|
+
|
4134
4412
|
# Information about a shot detection segment detected in a video. For
|
4135
4413
|
# more information, see SegmentDetection.
|
4136
4414
|
#
|
4137
4415
|
# @!attribute [rw] index
|
4138
|
-
# An Identifier for a shot detection segment detected in a video
|
4416
|
+
# An Identifier for a shot detection segment detected in a video.
|
4139
4417
|
# @return [Integer]
|
4140
4418
|
#
|
4141
4419
|
# @!attribute [rw] confidence
|
@@ -5207,8 +5485,8 @@ module Aws::Rekognition
|
|
5207
5485
|
include Aws::Structure
|
5208
5486
|
end
|
5209
5487
|
|
5210
|
-
#
|
5211
|
-
# used
|
5488
|
+
# Sagemaker Groundtruth format manifest files for the input, output and
|
5489
|
+
# validation datasets that are used and created during testing.
|
5212
5490
|
#
|
5213
5491
|
# @!attribute [rw] input
|
5214
5492
|
# The testing dataset that was supplied for training.
|
@@ -5220,9 +5498,15 @@ module Aws::Rekognition
|
|
5220
5498
|
# issues.
|
5221
5499
|
# @return [Types::TestingData]
|
5222
5500
|
#
|
5501
|
+
# @!attribute [rw] validation
|
5502
|
+
# The location of the data validation manifest. The data validation
|
5503
|
+
# manifest is created for the test dataset during model training.
|
5504
|
+
# @return [Types::ValidationData]
|
5505
|
+
#
|
5223
5506
|
class TestingDataResult < Struct.new(
|
5224
5507
|
:input,
|
5225
|
-
:output
|
5508
|
+
:output,
|
5509
|
+
:validation)
|
5226
5510
|
SENSITIVE = []
|
5227
5511
|
include Aws::Structure
|
5228
5512
|
end
|
@@ -5337,8 +5621,8 @@ module Aws::Rekognition
|
|
5337
5621
|
include Aws::Structure
|
5338
5622
|
end
|
5339
5623
|
|
5340
|
-
#
|
5341
|
-
#
|
5624
|
+
# Sagemaker Groundtruth format manifest files for the input, output and
|
5625
|
+
# validation datasets that are used and created during testing.
|
5342
5626
|
#
|
5343
5627
|
# @!attribute [rw] input
|
5344
5628
|
# The training assets that you supplied for training.
|
@@ -5349,9 +5633,15 @@ module Aws::Rekognition
|
|
5349
5633
|
# Custom Labels.
|
5350
5634
|
# @return [Types::TrainingData]
|
5351
5635
|
#
|
5636
|
+
# @!attribute [rw] validation
|
5637
|
+
# The location of the data validation manifest. The data validation
|
5638
|
+
# manifest is created for the training dataset during model training.
|
5639
|
+
# @return [Types::ValidationData]
|
5640
|
+
#
|
5352
5641
|
class TrainingDataResult < Struct.new(
|
5353
5642
|
:input,
|
5354
|
-
:output
|
5643
|
+
:output,
|
5644
|
+
:validation)
|
5355
5645
|
SENSITIVE = []
|
5356
5646
|
include Aws::Structure
|
5357
5647
|
end
|
@@ -5391,6 +5681,32 @@ module Aws::Rekognition
|
|
5391
5681
|
include Aws::Structure
|
5392
5682
|
end
|
5393
5683
|
|
5684
|
+
# Contains the Amazon S3 bucket location of the validation data for a
|
5685
|
+
# model training job.
|
5686
|
+
#
|
5687
|
+
# The validation data includes error information for individual JSON
|
5688
|
+
# lines in the dataset. For more information, see Debugging a Failed
|
5689
|
+
# Model Training in the Amazon Rekognition Custom Labels Developer
|
5690
|
+
# Guide.
|
5691
|
+
#
|
5692
|
+
# You get the `ValidationData` object for the training dataset
|
5693
|
+
# (TrainingDataResult) and the test dataset (TestingDataResult) by
|
5694
|
+
# calling DescribeProjectVersions.
|
5695
|
+
#
|
5696
|
+
# The assets array contains a single Asset object. The
|
5697
|
+
# GroundTruthManifest field of the Asset object contains the S3 bucket
|
5698
|
+
# location of the validation data.
|
5699
|
+
#
|
5700
|
+
# @!attribute [rw] assets
|
5701
|
+
# The assets that comprise the validation data.
|
5702
|
+
# @return [Array<Types::Asset>]
|
5703
|
+
#
|
5704
|
+
class ValidationData < Struct.new(
|
5705
|
+
:assets)
|
5706
|
+
SENSITIVE = []
|
5707
|
+
include Aws::Structure
|
5708
|
+
end
|
5709
|
+
|
5394
5710
|
# Video file stored in an Amazon S3 bucket. Amazon Rekognition video
|
5395
5711
|
# start operations such as StartLabelDetection use `Video` to specify a
|
5396
5712
|
# video for analysis. The supported file formats are .mp4, .mov and
|