aws-sdk-rekognition 1.78.0 → 1.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92fdb88e568540ca97efe52954c59a0e67b3cfedcd162ef96f8d5983a4942ca0
4
- data.tar.gz: a0372d1b1246e81cf6700ed793c2a7d65d9037a09982d419be0f4ee152610572
3
+ metadata.gz: 8ca106c3ebfde5866e03cc3c3b1c2905252fede45baccf13e5e9e830241c1585
4
+ data.tar.gz: a6a83b0fddc8cc7d7620b409dc8b2ddde55c269a8ae360d5e84b02aa766208a7
5
5
  SHA512:
6
- metadata.gz: 8c09938c4a35cabab9304c8ce6d86e6b48512531053bcc8c303a804202c33e5cbb7f3fa7fd5bb18ba24db19802034abaa0edca28d6d78e23f36cfdcfb9576ad3
7
- data.tar.gz: dd3b85fa26ea01b6149f8e728d08addc2de2693c001af0576e91abc5d4a7919bac9633a24981e35f0915e92c56cf126793b95ad423be3c12235b367e4dea4dc8
6
+ metadata.gz: 38bbc6b5c72b3d98e1c849d37330649f1b50fea6776ff9e068d5855f620f36e343f031ea4ab8866617c0a313324d3cfccb0259f141ab9ac0b4a6a3950f4bb94e
7
+ data.tar.gz: 272275e9bc393328c700f3918b8ec1ac7d1d4d2d701aeafbaeec5a12a6f1a040d84e85b8fb4cb810366bbacb1eac616c995829f33afc66131bc819dd5e9aab8b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2023-05-15)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new EyeDirection attribute in Amazon Rekognition DetectFaces and IndexFaces APIs which predicts the yaw and pitch angles of a person's eye gaze direction for each face detected in the image.
8
+
4
9
  1.78.0 (2023-05-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.78.0
1
+ 1.79.0
@@ -2181,7 +2181,7 @@ module Aws::Rekognition
2181
2181
  # version: "S3ObjectVersion",
2182
2182
  # },
2183
2183
  # },
2184
- # attributes: ["DEFAULT"], # accepts DEFAULT, ALL, AGE_RANGE, BEARD, EMOTIONS, EYEGLASSES, EYES_OPEN, GENDER, MOUTH_OPEN, MUSTACHE, FACE_OCCLUDED, SMILE, SUNGLASSES
2184
+ # attributes: ["DEFAULT"], # accepts DEFAULT, ALL, AGE_RANGE, BEARD, EMOTIONS, EYE_DIRECTION, EYEGLASSES, EYES_OPEN, GENDER, MOUTH_OPEN, MUSTACHE, FACE_OCCLUDED, SMILE, SUNGLASSES
2185
2185
  # })
2186
2186
  #
2187
2187
  # @example Response structure
@@ -2224,6 +2224,9 @@ module Aws::Rekognition
2224
2224
  # resp.face_details[0].confidence #=> Float
2225
2225
  # resp.face_details[0].face_occluded.value #=> Boolean
2226
2226
  # resp.face_details[0].face_occluded.confidence #=> Float
2227
+ # resp.face_details[0].eye_direction.yaw #=> Float
2228
+ # resp.face_details[0].eye_direction.pitch #=> Float
2229
+ # resp.face_details[0].eye_direction.confidence #=> Float
2227
2230
  # resp.orientation_correction #=> String, one of "ROTATE_0", "ROTATE_90", "ROTATE_180", "ROTATE_270"
2228
2231
  #
2229
2232
  # @overload detect_faces(params = {})
@@ -3081,6 +3084,9 @@ module Aws::Rekognition
3081
3084
  # resp.celebrities[0].celebrity.face.confidence #=> Float
3082
3085
  # resp.celebrities[0].celebrity.face.face_occluded.value #=> Boolean
3083
3086
  # resp.celebrities[0].celebrity.face.face_occluded.confidence #=> Float
3087
+ # resp.celebrities[0].celebrity.face.eye_direction.yaw #=> Float
3088
+ # resp.celebrities[0].celebrity.face.eye_direction.pitch #=> Float
3089
+ # resp.celebrities[0].celebrity.face.eye_direction.confidence #=> Float
3084
3090
  # resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
3085
3091
  # resp.job_id #=> String
3086
3092
  # resp.video.s3_object.bucket #=> String
@@ -3341,6 +3347,9 @@ module Aws::Rekognition
3341
3347
  # resp.faces[0].face.confidence #=> Float
3342
3348
  # resp.faces[0].face.face_occluded.value #=> Boolean
3343
3349
  # resp.faces[0].face.face_occluded.confidence #=> Float
3350
+ # resp.faces[0].face.eye_direction.yaw #=> Float
3351
+ # resp.faces[0].face.eye_direction.pitch #=> Float
3352
+ # resp.faces[0].face.eye_direction.confidence #=> Float
3344
3353
  # resp.job_id #=> String
3345
3354
  # resp.video.s3_object.bucket #=> String
3346
3355
  # resp.video.s3_object.name #=> String
@@ -3546,6 +3555,9 @@ module Aws::Rekognition
3546
3555
  # resp.persons[0].person.face.confidence #=> Float
3547
3556
  # resp.persons[0].person.face.face_occluded.value #=> Boolean
3548
3557
  # resp.persons[0].person.face.face_occluded.confidence #=> Float
3558
+ # resp.persons[0].person.face.eye_direction.yaw #=> Float
3559
+ # resp.persons[0].person.face.eye_direction.pitch #=> Float
3560
+ # resp.persons[0].person.face.eye_direction.confidence #=> Float
3549
3561
  # resp.persons[0].face_matches #=> Array
3550
3562
  # resp.persons[0].face_matches[0].similarity #=> Float
3551
3563
  # resp.persons[0].face_matches[0].face.face_id #=> String
@@ -3895,6 +3907,9 @@ module Aws::Rekognition
3895
3907
  # resp.persons[0].person.face.confidence #=> Float
3896
3908
  # resp.persons[0].person.face.face_occluded.value #=> Boolean
3897
3909
  # resp.persons[0].person.face.face_occluded.confidence #=> Float
3910
+ # resp.persons[0].person.face.eye_direction.yaw #=> Float
3911
+ # resp.persons[0].person.face.eye_direction.pitch #=> Float
3912
+ # resp.persons[0].person.face.eye_direction.confidence #=> Float
3898
3913
  # resp.job_id #=> String
3899
3914
  # resp.video.s3_object.bucket #=> String
3900
3915
  # resp.video.s3_object.name #=> String
@@ -4471,7 +4486,7 @@ module Aws::Rekognition
4471
4486
  # },
4472
4487
  # },
4473
4488
  # external_image_id: "ExternalImageId",
4474
- # detection_attributes: ["DEFAULT"], # accepts DEFAULT, ALL, AGE_RANGE, BEARD, EMOTIONS, EYEGLASSES, EYES_OPEN, GENDER, MOUTH_OPEN, MUSTACHE, FACE_OCCLUDED, SMILE, SUNGLASSES
4489
+ # detection_attributes: ["DEFAULT"], # accepts DEFAULT, ALL, AGE_RANGE, BEARD, EMOTIONS, EYE_DIRECTION, EYEGLASSES, EYES_OPEN, GENDER, MOUTH_OPEN, MUSTACHE, FACE_OCCLUDED, SMILE, SUNGLASSES
4475
4490
  # max_faces: 1,
4476
4491
  # quality_filter: "NONE", # accepts NONE, AUTO, LOW, MEDIUM, HIGH
4477
4492
  # })
@@ -4525,6 +4540,9 @@ module Aws::Rekognition
4525
4540
  # resp.face_records[0].face_detail.confidence #=> Float
4526
4541
  # resp.face_records[0].face_detail.face_occluded.value #=> Boolean
4527
4542
  # resp.face_records[0].face_detail.face_occluded.confidence #=> Float
4543
+ # resp.face_records[0].face_detail.eye_direction.yaw #=> Float
4544
+ # resp.face_records[0].face_detail.eye_direction.pitch #=> Float
4545
+ # resp.face_records[0].face_detail.eye_direction.confidence #=> Float
4528
4546
  # resp.orientation_correction #=> String, one of "ROTATE_0", "ROTATE_90", "ROTATE_180", "ROTATE_270"
4529
4547
  # resp.face_model_version #=> String
4530
4548
  # resp.unindexed_faces #=> Array
@@ -4567,6 +4585,9 @@ module Aws::Rekognition
4567
4585
  # resp.unindexed_faces[0].face_detail.confidence #=> Float
4568
4586
  # resp.unindexed_faces[0].face_detail.face_occluded.value #=> Boolean
4569
4587
  # resp.unindexed_faces[0].face_detail.face_occluded.confidence #=> Float
4588
+ # resp.unindexed_faces[0].face_detail.eye_direction.yaw #=> Float
4589
+ # resp.unindexed_faces[0].face_detail.eye_direction.pitch #=> Float
4590
+ # resp.unindexed_faces[0].face_detail.eye_direction.confidence #=> Float
4570
4591
  #
4571
4592
  # @overload index_faces(params = {})
4572
4593
  # @param [Hash] params ({})
@@ -6782,7 +6803,7 @@ module Aws::Rekognition
6782
6803
  params: params,
6783
6804
  config: config)
6784
6805
  context[:gem_name] = 'aws-sdk-rekognition'
6785
- context[:gem_version] = '1.78.0'
6806
+ context[:gem_version] = '1.79.0'
6786
6807
  Seahorse::Client::Request.new(handlers, context)
6787
6808
  end
6788
6809
 
@@ -157,6 +157,7 @@ module Aws::Rekognition
157
157
  EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
158
158
  ExtendedPaginationToken = Shapes::StringShape.new(name: 'ExtendedPaginationToken')
159
159
  ExternalImageId = Shapes::StringShape.new(name: 'ExternalImageId')
160
+ EyeDirection = Shapes::StructureShape.new(name: 'EyeDirection')
160
161
  EyeOpen = Shapes::StructureShape.new(name: 'EyeOpen')
161
162
  Eyeglasses = Shapes::StructureShape.new(name: 'Eyeglasses')
162
163
  Face = Shapes::StructureShape.new(name: 'Face')
@@ -957,6 +958,11 @@ module Aws::Rekognition
957
958
  EvaluationResult.add_member(:summary, Shapes::ShapeRef.new(shape: Summary, location_name: "Summary"))
958
959
  EvaluationResult.struct_class = Types::EvaluationResult
959
960
 
961
+ EyeDirection.add_member(:yaw, Shapes::ShapeRef.new(shape: Degree, location_name: "Yaw"))
962
+ EyeDirection.add_member(:pitch, Shapes::ShapeRef.new(shape: Degree, location_name: "Pitch"))
963
+ EyeDirection.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
964
+ EyeDirection.struct_class = Types::EyeDirection
965
+
960
966
  EyeOpen.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
961
967
  EyeOpen.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
962
968
  EyeOpen.struct_class = Types::EyeOpen
@@ -989,6 +995,7 @@ module Aws::Rekognition
989
995
  FaceDetail.add_member(:quality, Shapes::ShapeRef.new(shape: ImageQuality, location_name: "Quality"))
990
996
  FaceDetail.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
991
997
  FaceDetail.add_member(:face_occluded, Shapes::ShapeRef.new(shape: FaceOccluded, location_name: "FaceOccluded"))
998
+ FaceDetail.add_member(:eye_direction, Shapes::ShapeRef.new(shape: EyeDirection, location_name: "EyeDirection"))
992
999
  FaceDetail.struct_class = Types::FaceDetail
993
1000
 
994
1001
  FaceDetailList.member = Shapes::ShapeRef.new(shape: FaceDetail)
@@ -2432,6 +2432,29 @@ module Aws::Rekognition
2432
2432
  include Aws::Structure
2433
2433
  end
2434
2434
 
2435
+ # Indicates the direction the eyes are gazing in (independent of the
2436
+ # head pose) as determined by its pitch and yaw.
2437
+ #
2438
+ # @!attribute [rw] yaw
2439
+ # Value representing eye direction on the yaw axis.
2440
+ # @return [Float]
2441
+ #
2442
+ # @!attribute [rw] pitch
2443
+ # Value representing eye direction on the pitch axis.
2444
+ # @return [Float]
2445
+ #
2446
+ # @!attribute [rw] confidence
2447
+ # The confidence that the service has in its predicted eye direction.
2448
+ # @return [Float]
2449
+ #
2450
+ class EyeDirection < Struct.new(
2451
+ :yaw,
2452
+ :pitch,
2453
+ :confidence)
2454
+ SENSITIVE = []
2455
+ include Aws::Structure
2456
+ end
2457
+
2435
2458
  # Indicates whether or not the eyes on the face are open, and the
2436
2459
  # confidence level in the determination.
2437
2460
  #
@@ -2620,6 +2643,11 @@ module Aws::Rekognition
2620
2643
  # sunglasses, strands of hair, and others.
2621
2644
  # @return [Types::FaceOccluded]
2622
2645
  #
2646
+ # @!attribute [rw] eye_direction
2647
+ # Indicates the direction the eyes are gazing in, as defined by pitch
2648
+ # and yaw.
2649
+ # @return [Types::EyeDirection]
2650
+ #
2623
2651
  class FaceDetail < Struct.new(
2624
2652
  :bounding_box,
2625
2653
  :age_range,
@@ -2636,7 +2664,8 @@ module Aws::Rekognition
2636
2664
  :pose,
2637
2665
  :quality,
2638
2666
  :confidence,
2639
- :face_occluded)
2667
+ :face_occluded,
2668
+ :eye_direction)
2640
2669
  SENSITIVE = []
2641
2670
  include Aws::Structure
2642
2671
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-rekognition/customizations'
53
53
  # @!group service
54
54
  module Aws::Rekognition
55
55
 
56
- GEM_VERSION = '1.78.0'
56
+ GEM_VERSION = '1.79.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rekognition
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.78.0
4
+ version: 1.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-04 00:00:00.000000000 Z
11
+ date: 2023-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core