aws-sdk-rekognition 1.63.0 → 1.64.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +9 -4
- data/lib/aws-sdk-rekognition/client_api.rb +2 -0
- data/lib/aws-sdk-rekognition/types.rb +46 -15
- data/lib/aws-sdk-rekognition.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ca46a33566055a71bea9339881fffa6412bed2f32a33bec7183f763f33f82d9
|
4
|
+
data.tar.gz: 0e972e4f58cab69555bf0bf2fdc9e9199c1f18d339868a84cd78de1a8b850417
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c9ac8506716b223a5c931300f5ccf4cfdbdf0878d9e967c97f55c16dc4b2d14f2c4d13df2ba4f68e1923d361f6801293fdbc2658da14822c24bf83922ccb311
|
7
|
+
data.tar.gz: 13c9829fc3fc3e6ed19fd1fa8a6413a7d938b89cb740ae3776429c9f2b7fad46f597e1c15b99ec19d5e78a375124e3be038f2e21fda33b1e65c2e36ea1198a62
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2022-01-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces a new field IndexFacesModelVersion, which is the version of the face detect and storage model that was used when indexing the face vector.
|
8
|
+
|
4
9
|
1.63.0 (2021-12-21)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -2945,6 +2945,7 @@ module Aws::Rekognition
|
|
2945
2945
|
# resp.persons[0].face_matches[0].face.image_id #=> String
|
2946
2946
|
# resp.persons[0].face_matches[0].face.external_image_id #=> String
|
2947
2947
|
# resp.persons[0].face_matches[0].face.confidence #=> Float
|
2948
|
+
# resp.persons[0].face_matches[0].face.index_faces_model_version #=> String
|
2948
2949
|
#
|
2949
2950
|
# @overload get_face_search(params = {})
|
2950
2951
|
# @param [Hash] params ({})
|
@@ -3512,9 +3513,9 @@ module Aws::Rekognition
|
|
3512
3513
|
# `detectionAttributes` parameter), Amazon Rekognition returns detailed
|
3513
3514
|
# facial attributes, such as facial landmarks (for example, location of
|
3514
3515
|
# eye and mouth) and other facial attributes. If you provide the same
|
3515
|
-
# image, specify the same collection,
|
3516
|
-
# the `IndexFaces` operation, Amazon
|
3517
|
-
# face metadata.
|
3516
|
+
# image, specify the same collection, use the same external ID, and use
|
3517
|
+
# the same model version in the `IndexFaces` operation, Amazon
|
3518
|
+
# Rekognition doesn't save duplicate face metadata.
|
3518
3519
|
#
|
3519
3520
|
#
|
3520
3521
|
#
|
@@ -3767,6 +3768,7 @@ module Aws::Rekognition
|
|
3767
3768
|
# resp.face_records[0].face.image_id #=> String
|
3768
3769
|
# resp.face_records[0].face.external_image_id #=> String
|
3769
3770
|
# resp.face_records[0].face.confidence #=> Float
|
3771
|
+
# resp.face_records[0].face.index_faces_model_version #=> String
|
3770
3772
|
# resp.face_records[0].face_detail.bounding_box.width #=> Float
|
3771
3773
|
# resp.face_records[0].face_detail.bounding_box.height #=> Float
|
3772
3774
|
# resp.face_records[0].face_detail.bounding_box.left #=> Float
|
@@ -4245,6 +4247,7 @@ module Aws::Rekognition
|
|
4245
4247
|
# resp.faces[0].image_id #=> String
|
4246
4248
|
# resp.faces[0].external_image_id #=> String
|
4247
4249
|
# resp.faces[0].confidence #=> Float
|
4250
|
+
# resp.faces[0].index_faces_model_version #=> String
|
4248
4251
|
# resp.next_token #=> String
|
4249
4252
|
# resp.face_model_version #=> String
|
4250
4253
|
#
|
@@ -4577,6 +4580,7 @@ module Aws::Rekognition
|
|
4577
4580
|
# resp.face_matches[0].face.image_id #=> String
|
4578
4581
|
# resp.face_matches[0].face.external_image_id #=> String
|
4579
4582
|
# resp.face_matches[0].face.confidence #=> Float
|
4583
|
+
# resp.face_matches[0].face.index_faces_model_version #=> String
|
4580
4584
|
# resp.face_model_version #=> String
|
4581
4585
|
#
|
4582
4586
|
# @overload search_faces(params = {})
|
@@ -4759,6 +4763,7 @@ module Aws::Rekognition
|
|
4759
4763
|
# resp.face_matches[0].face.image_id #=> String
|
4760
4764
|
# resp.face_matches[0].face.external_image_id #=> String
|
4761
4765
|
# resp.face_matches[0].face.confidence #=> Float
|
4766
|
+
# resp.face_matches[0].face.index_faces_model_version #=> String
|
4762
4767
|
# resp.face_model_version #=> String
|
4763
4768
|
#
|
4764
4769
|
# @overload search_faces_by_image(params = {})
|
@@ -5713,7 +5718,7 @@ module Aws::Rekognition
|
|
5713
5718
|
params: params,
|
5714
5719
|
config: config)
|
5715
5720
|
context[:gem_name] = 'aws-sdk-rekognition'
|
5716
|
-
context[:gem_version] = '1.
|
5721
|
+
context[:gem_version] = '1.64.0'
|
5717
5722
|
Seahorse::Client::Request.new(handlers, context)
|
5718
5723
|
end
|
5719
5724
|
|
@@ -190,6 +190,7 @@ module Aws::Rekognition
|
|
190
190
|
ImageId = Shapes::StringShape.new(name: 'ImageId')
|
191
191
|
ImageQuality = Shapes::StructureShape.new(name: 'ImageQuality')
|
192
192
|
ImageTooLargeException = Shapes::StructureShape.new(name: 'ImageTooLargeException')
|
193
|
+
IndexFacesModelVersion = Shapes::StringShape.new(name: 'IndexFacesModelVersion')
|
193
194
|
IndexFacesRequest = Shapes::StructureShape.new(name: 'IndexFacesRequest')
|
194
195
|
IndexFacesResponse = Shapes::StructureShape.new(name: 'IndexFacesResponse')
|
195
196
|
InferenceUnits = Shapes::IntegerShape.new(name: 'InferenceUnits')
|
@@ -794,6 +795,7 @@ module Aws::Rekognition
|
|
794
795
|
Face.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
|
795
796
|
Face.add_member(:external_image_id, Shapes::ShapeRef.new(shape: ExternalImageId, location_name: "ExternalImageId"))
|
796
797
|
Face.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
798
|
+
Face.add_member(:index_faces_model_version, Shapes::ShapeRef.new(shape: IndexFacesModelVersion, location_name: "IndexFacesModelVersion"))
|
797
799
|
Face.struct_class = Types::Face
|
798
800
|
|
799
801
|
FaceDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
|
@@ -632,8 +632,12 @@ module Aws::Rekognition
|
|
632
632
|
# @return [String]
|
633
633
|
#
|
634
634
|
# @!attribute [rw] face_model_version
|
635
|
-
#
|
636
|
-
#
|
635
|
+
# Latest face model being used with the collection. For more
|
636
|
+
# information, see [Model versioning][1].
|
637
|
+
#
|
638
|
+
#
|
639
|
+
#
|
640
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
|
637
641
|
# @return [String]
|
638
642
|
#
|
639
643
|
class CreateCollectionResponse < Struct.new(
|
@@ -2332,12 +2336,18 @@ module Aws::Rekognition
|
|
2332
2336
|
# different object such as a tree).
|
2333
2337
|
# @return [Float]
|
2334
2338
|
#
|
2339
|
+
# @!attribute [rw] index_faces_model_version
|
2340
|
+
# The version of the face detect and storage model that was used when
|
2341
|
+
# indexing the face vector.
|
2342
|
+
# @return [String]
|
2343
|
+
#
|
2335
2344
|
class Face < Struct.new(
|
2336
2345
|
:face_id,
|
2337
2346
|
:bounding_box,
|
2338
2347
|
:image_id,
|
2339
2348
|
:external_image_id,
|
2340
|
-
:confidence
|
2349
|
+
:confidence,
|
2350
|
+
:index_faces_model_version)
|
2341
2351
|
SENSITIVE = []
|
2342
2352
|
include Aws::Structure
|
2343
2353
|
end
|
@@ -3684,8 +3694,12 @@ module Aws::Rekognition
|
|
3684
3694
|
# @return [String]
|
3685
3695
|
#
|
3686
3696
|
# @!attribute [rw] face_model_version
|
3687
|
-
#
|
3688
|
-
#
|
3697
|
+
# Latest face model being used with the collection. For more
|
3698
|
+
# information, see [Model versioning][1].
|
3699
|
+
#
|
3700
|
+
#
|
3701
|
+
#
|
3702
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
|
3689
3703
|
# @return [String]
|
3690
3704
|
#
|
3691
3705
|
# @!attribute [rw] unindexed_faces
|
@@ -3926,10 +3940,15 @@ module Aws::Rekognition
|
|
3926
3940
|
# @return [String]
|
3927
3941
|
#
|
3928
3942
|
# @!attribute [rw] face_model_versions
|
3929
|
-
#
|
3930
|
-
#
|
3931
|
-
# `FaceModelVersions[2]` is the version number
|
3932
|
-
# model used by the collection in
|
3943
|
+
# Latest face models being used with the corresponding collections in
|
3944
|
+
# the array. For more information, see [Model versioning][1]. For
|
3945
|
+
# example, the value of `FaceModelVersions[2]` is the version number
|
3946
|
+
# for the face detection model used by the collection in
|
3947
|
+
# `CollectionId[2]`.
|
3948
|
+
#
|
3949
|
+
#
|
3950
|
+
#
|
3951
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
|
3933
3952
|
# @return [Array<String>]
|
3934
3953
|
#
|
3935
3954
|
class ListCollectionsResponse < Struct.new(
|
@@ -4125,8 +4144,12 @@ module Aws::Rekognition
|
|
4125
4144
|
# @return [String]
|
4126
4145
|
#
|
4127
4146
|
# @!attribute [rw] face_model_version
|
4128
|
-
#
|
4129
|
-
#
|
4147
|
+
# Latest face model being used with the collection. For more
|
4148
|
+
# information, see [Model versioning][1].
|
4149
|
+
#
|
4150
|
+
#
|
4151
|
+
#
|
4152
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
|
4130
4153
|
# @return [String]
|
4131
4154
|
#
|
4132
4155
|
class ListFacesResponse < Struct.new(
|
@@ -4991,8 +5014,12 @@ module Aws::Rekognition
|
|
4991
5014
|
# @return [Array<Types::FaceMatch>]
|
4992
5015
|
#
|
4993
5016
|
# @!attribute [rw] face_model_version
|
4994
|
-
#
|
4995
|
-
#
|
5017
|
+
# Latest face model being used with the collection. For more
|
5018
|
+
# information, see [Model versioning][1].
|
5019
|
+
#
|
5020
|
+
#
|
5021
|
+
#
|
5022
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
|
4996
5023
|
# @return [String]
|
4997
5024
|
#
|
4998
5025
|
class SearchFacesByImageResponse < Struct.new(
|
@@ -5052,8 +5079,12 @@ module Aws::Rekognition
|
|
5052
5079
|
# @return [Array<Types::FaceMatch>]
|
5053
5080
|
#
|
5054
5081
|
# @!attribute [rw] face_model_version
|
5055
|
-
#
|
5056
|
-
#
|
5082
|
+
# Latest face model being used with the collection. For more
|
5083
|
+
# information, see [Model versioning][1].
|
5084
|
+
#
|
5085
|
+
#
|
5086
|
+
#
|
5087
|
+
# [1]: https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html
|
5057
5088
|
# @return [String]
|
5058
5089
|
#
|
5059
5090
|
class SearchFacesResponse < Struct.new(
|
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.64.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:
|
11
|
+
date: 2022-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|