aws-sdk-rekognition 1.78.0 → 1.80.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +29 -3
- data/lib/aws-sdk-rekognition/client_api.rb +7 -0
- data/lib/aws-sdk-rekognition/types.rb +30 -1
- data/lib/aws-sdk-rekognition.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44b28873b3ec3e3152a2dcb41957e28c1f23263cfd2e864b3de00330aa004a9a
|
4
|
+
data.tar.gz: 94a9701e6952401cbd35b42d6befc6e2a480419259d608e7c740c1e09b865475
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4f3daff3758946678bd07d59a028dfcca4ca3890c9c2925873557dc455ad291b6318d22ef48280fd6107efee4b4f2b58b85ba746b7c38b35a06a65c6d1d534e
|
7
|
+
data.tar.gz: 8329c5995c22f24c4bf2570b7cabdd9082c68742d7d182ee43178c4f7d23ac48110c4dbbd60a66b314159d65b1b515359d9510a9158252460f2b3ee6dc095c04
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.79.0 (2023-05-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.78.0 (2023-05-04)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -275,6 +275,11 @@ module Aws::Rekognition
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -2181,7 +2186,7 @@ module Aws::Rekognition
|
|
2181
2186
|
# version: "S3ObjectVersion",
|
2182
2187
|
# },
|
2183
2188
|
# },
|
2184
|
-
# attributes: ["DEFAULT"], # accepts DEFAULT, ALL, AGE_RANGE, BEARD, EMOTIONS, EYEGLASSES, EYES_OPEN, GENDER, MOUTH_OPEN, MUSTACHE, FACE_OCCLUDED, SMILE, SUNGLASSES
|
2189
|
+
# attributes: ["DEFAULT"], # accepts DEFAULT, ALL, AGE_RANGE, BEARD, EMOTIONS, EYE_DIRECTION, EYEGLASSES, EYES_OPEN, GENDER, MOUTH_OPEN, MUSTACHE, FACE_OCCLUDED, SMILE, SUNGLASSES
|
2185
2190
|
# })
|
2186
2191
|
#
|
2187
2192
|
# @example Response structure
|
@@ -2224,6 +2229,9 @@ module Aws::Rekognition
|
|
2224
2229
|
# resp.face_details[0].confidence #=> Float
|
2225
2230
|
# resp.face_details[0].face_occluded.value #=> Boolean
|
2226
2231
|
# resp.face_details[0].face_occluded.confidence #=> Float
|
2232
|
+
# resp.face_details[0].eye_direction.yaw #=> Float
|
2233
|
+
# resp.face_details[0].eye_direction.pitch #=> Float
|
2234
|
+
# resp.face_details[0].eye_direction.confidence #=> Float
|
2227
2235
|
# resp.orientation_correction #=> String, one of "ROTATE_0", "ROTATE_90", "ROTATE_180", "ROTATE_270"
|
2228
2236
|
#
|
2229
2237
|
# @overload detect_faces(params = {})
|
@@ -3081,6 +3089,9 @@ module Aws::Rekognition
|
|
3081
3089
|
# resp.celebrities[0].celebrity.face.confidence #=> Float
|
3082
3090
|
# resp.celebrities[0].celebrity.face.face_occluded.value #=> Boolean
|
3083
3091
|
# resp.celebrities[0].celebrity.face.face_occluded.confidence #=> Float
|
3092
|
+
# resp.celebrities[0].celebrity.face.eye_direction.yaw #=> Float
|
3093
|
+
# resp.celebrities[0].celebrity.face.eye_direction.pitch #=> Float
|
3094
|
+
# resp.celebrities[0].celebrity.face.eye_direction.confidence #=> Float
|
3084
3095
|
# resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female", "Nonbinary", "Unlisted"
|
3085
3096
|
# resp.job_id #=> String
|
3086
3097
|
# resp.video.s3_object.bucket #=> String
|
@@ -3341,6 +3352,9 @@ module Aws::Rekognition
|
|
3341
3352
|
# resp.faces[0].face.confidence #=> Float
|
3342
3353
|
# resp.faces[0].face.face_occluded.value #=> Boolean
|
3343
3354
|
# resp.faces[0].face.face_occluded.confidence #=> Float
|
3355
|
+
# resp.faces[0].face.eye_direction.yaw #=> Float
|
3356
|
+
# resp.faces[0].face.eye_direction.pitch #=> Float
|
3357
|
+
# resp.faces[0].face.eye_direction.confidence #=> Float
|
3344
3358
|
# resp.job_id #=> String
|
3345
3359
|
# resp.video.s3_object.bucket #=> String
|
3346
3360
|
# resp.video.s3_object.name #=> String
|
@@ -3546,6 +3560,9 @@ module Aws::Rekognition
|
|
3546
3560
|
# resp.persons[0].person.face.confidence #=> Float
|
3547
3561
|
# resp.persons[0].person.face.face_occluded.value #=> Boolean
|
3548
3562
|
# resp.persons[0].person.face.face_occluded.confidence #=> Float
|
3563
|
+
# resp.persons[0].person.face.eye_direction.yaw #=> Float
|
3564
|
+
# resp.persons[0].person.face.eye_direction.pitch #=> Float
|
3565
|
+
# resp.persons[0].person.face.eye_direction.confidence #=> Float
|
3549
3566
|
# resp.persons[0].face_matches #=> Array
|
3550
3567
|
# resp.persons[0].face_matches[0].similarity #=> Float
|
3551
3568
|
# resp.persons[0].face_matches[0].face.face_id #=> String
|
@@ -3895,6 +3912,9 @@ module Aws::Rekognition
|
|
3895
3912
|
# resp.persons[0].person.face.confidence #=> Float
|
3896
3913
|
# resp.persons[0].person.face.face_occluded.value #=> Boolean
|
3897
3914
|
# resp.persons[0].person.face.face_occluded.confidence #=> Float
|
3915
|
+
# resp.persons[0].person.face.eye_direction.yaw #=> Float
|
3916
|
+
# resp.persons[0].person.face.eye_direction.pitch #=> Float
|
3917
|
+
# resp.persons[0].person.face.eye_direction.confidence #=> Float
|
3898
3918
|
# resp.job_id #=> String
|
3899
3919
|
# resp.video.s3_object.bucket #=> String
|
3900
3920
|
# resp.video.s3_object.name #=> String
|
@@ -4471,7 +4491,7 @@ module Aws::Rekognition
|
|
4471
4491
|
# },
|
4472
4492
|
# },
|
4473
4493
|
# 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
|
4494
|
+
# detection_attributes: ["DEFAULT"], # accepts DEFAULT, ALL, AGE_RANGE, BEARD, EMOTIONS, EYE_DIRECTION, EYEGLASSES, EYES_OPEN, GENDER, MOUTH_OPEN, MUSTACHE, FACE_OCCLUDED, SMILE, SUNGLASSES
|
4475
4495
|
# max_faces: 1,
|
4476
4496
|
# quality_filter: "NONE", # accepts NONE, AUTO, LOW, MEDIUM, HIGH
|
4477
4497
|
# })
|
@@ -4525,6 +4545,9 @@ module Aws::Rekognition
|
|
4525
4545
|
# resp.face_records[0].face_detail.confidence #=> Float
|
4526
4546
|
# resp.face_records[0].face_detail.face_occluded.value #=> Boolean
|
4527
4547
|
# resp.face_records[0].face_detail.face_occluded.confidence #=> Float
|
4548
|
+
# resp.face_records[0].face_detail.eye_direction.yaw #=> Float
|
4549
|
+
# resp.face_records[0].face_detail.eye_direction.pitch #=> Float
|
4550
|
+
# resp.face_records[0].face_detail.eye_direction.confidence #=> Float
|
4528
4551
|
# resp.orientation_correction #=> String, one of "ROTATE_0", "ROTATE_90", "ROTATE_180", "ROTATE_270"
|
4529
4552
|
# resp.face_model_version #=> String
|
4530
4553
|
# resp.unindexed_faces #=> Array
|
@@ -4567,6 +4590,9 @@ module Aws::Rekognition
|
|
4567
4590
|
# resp.unindexed_faces[0].face_detail.confidence #=> Float
|
4568
4591
|
# resp.unindexed_faces[0].face_detail.face_occluded.value #=> Boolean
|
4569
4592
|
# resp.unindexed_faces[0].face_detail.face_occluded.confidence #=> Float
|
4593
|
+
# resp.unindexed_faces[0].face_detail.eye_direction.yaw #=> Float
|
4594
|
+
# resp.unindexed_faces[0].face_detail.eye_direction.pitch #=> Float
|
4595
|
+
# resp.unindexed_faces[0].face_detail.eye_direction.confidence #=> Float
|
4570
4596
|
#
|
4571
4597
|
# @overload index_faces(params = {})
|
4572
4598
|
# @param [Hash] params ({})
|
@@ -6782,7 +6808,7 @@ module Aws::Rekognition
|
|
6782
6808
|
params: params,
|
6783
6809
|
config: config)
|
6784
6810
|
context[:gem_name] = 'aws-sdk-rekognition'
|
6785
|
-
context[:gem_version] = '1.
|
6811
|
+
context[:gem_version] = '1.80.0'
|
6786
6812
|
Seahorse::Client::Request.new(handlers, context)
|
6787
6813
|
end
|
6788
6814
|
|
@@ -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
|
data/lib/aws-sdk-rekognition.rb
CHANGED
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.
|
4
|
+
version: 1.80.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-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|