aws-sdk-rekognition 1.57.0 → 1.58.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rekognition/client.rb +14 -8
- data/lib/aws-sdk-rekognition/client_api.rb +1 -0
- data/lib/aws-sdk-rekognition/types.rb +6 -1
- 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: 5395daa6b911cb40032e296cc16732e6cffbc91fd5eeca08482dbaffd15070e1
|
|
4
|
+
data.tar.gz: c4e324fbef583b11798cb73eea599de9b1ada0467f429cd4a903bc7adaae3f01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58fa55942c6a533b00e7bb8b8cbf668b128a8f260efbea8d49a70683bcbf9052d00e5b25d805a8c21e83f2b4b9945eb67c07e6f6fed036dcd2dcf8be127a133e
|
|
7
|
+
data.tar.gz: 8aadb7658aecad63c5e2e536859820d0b865893027f6e7c2ea203b56402a2ca8716ba25c0f88ee3a77b3511c259a328d49b442d6dfff29442038a61eb2b210c5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.58.0
|
|
@@ -2165,12 +2165,14 @@ module Aws::Rekognition
|
|
|
2165
2165
|
#
|
|
2166
2166
|
# Celebrity recognition in a video is an asynchronous operation.
|
|
2167
2167
|
# Analysis is started by a call to StartCelebrityRecognition which
|
|
2168
|
-
# returns a job identifier (`JobId`).
|
|
2169
|
-
#
|
|
2170
|
-
#
|
|
2171
|
-
#
|
|
2172
|
-
#
|
|
2173
|
-
#
|
|
2168
|
+
# returns a job identifier (`JobId`).
|
|
2169
|
+
#
|
|
2170
|
+
# When the celebrity recognition operation finishes, Amazon Rekognition
|
|
2171
|
+
# Video publishes a completion status to the Amazon Simple Notification
|
|
2172
|
+
# Service topic registered in the initial call to
|
|
2173
|
+
# `StartCelebrityRecognition`. To get the results of the celebrity
|
|
2174
|
+
# recognition analysis, first check that the status value published to
|
|
2175
|
+
# the Amazon SNS topic is `SUCCEEDED`. If so, call
|
|
2174
2176
|
# `GetCelebrityDetection` and pass the job identifier (`JobId`) from the
|
|
2175
2177
|
# initial call to `StartCelebrityDetection`.
|
|
2176
2178
|
#
|
|
@@ -2181,10 +2183,13 @@ module Aws::Rekognition
|
|
|
2181
2183
|
# they are detected in an array (`Celebrities`) of CelebrityRecognition
|
|
2182
2184
|
# objects. Each `CelebrityRecognition` contains information about the
|
|
2183
2185
|
# celebrity in a CelebrityDetail object and the time, `Timestamp`, the
|
|
2184
|
-
# celebrity was detected.
|
|
2186
|
+
# celebrity was detected. This CelebrityDetail object stores information
|
|
2187
|
+
# about the detected celebrity's face attributes, a face bounding box,
|
|
2188
|
+
# known gender, the celebrity's name, and a confidence estimate.
|
|
2185
2189
|
#
|
|
2186
2190
|
# <note markdown="1"> `GetCelebrityRecognition` only returns the default facial attributes
|
|
2187
2191
|
# (`BoundingBox`, `Confidence`, `Landmarks`, `Pose`, and `Quality`). The
|
|
2192
|
+
# `BoundingBox` field only applies to the detected face instance. The
|
|
2188
2193
|
# other facial attributes listed in the `Face` object of the following
|
|
2189
2194
|
# response syntax are not returned. For more information, see FaceDetail
|
|
2190
2195
|
# in the Amazon Rekognition Developer Guide.
|
|
@@ -2308,6 +2313,7 @@ module Aws::Rekognition
|
|
|
2308
2313
|
# resp.celebrities[0].celebrity.face.quality.brightness #=> Float
|
|
2309
2314
|
# resp.celebrities[0].celebrity.face.quality.sharpness #=> Float
|
|
2310
2315
|
# resp.celebrities[0].celebrity.face.confidence #=> Float
|
|
2316
|
+
# resp.celebrities[0].celebrity.known_gender.type #=> String, one of "Male", "Female"
|
|
2311
2317
|
#
|
|
2312
2318
|
# @overload get_celebrity_recognition(params = {})
|
|
2313
2319
|
# @param [Hash] params ({})
|
|
@@ -5249,7 +5255,7 @@ module Aws::Rekognition
|
|
|
5249
5255
|
params: params,
|
|
5250
5256
|
config: config)
|
|
5251
5257
|
context[:gem_name] = 'aws-sdk-rekognition'
|
|
5252
|
-
context[:gem_version] = '1.
|
|
5258
|
+
context[:gem_version] = '1.58.0'
|
|
5253
5259
|
Seahorse::Client::Request.new(handlers, context)
|
|
5254
5260
|
end
|
|
5255
5261
|
|
|
@@ -407,6 +407,7 @@ module Aws::Rekognition
|
|
|
407
407
|
CelebrityDetail.add_member(:confidence, Shapes::ShapeRef.new(shape: Percent, location_name: "Confidence"))
|
|
408
408
|
CelebrityDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
|
|
409
409
|
CelebrityDetail.add_member(:face, Shapes::ShapeRef.new(shape: FaceDetail, location_name: "Face"))
|
|
410
|
+
CelebrityDetail.add_member(:known_gender, Shapes::ShapeRef.new(shape: KnownGender, location_name: "KnownGender"))
|
|
410
411
|
CelebrityDetail.struct_class = Types::CelebrityDetail
|
|
411
412
|
|
|
412
413
|
CelebrityList.member = Shapes::ShapeRef.new(shape: Celebrity)
|
|
@@ -293,13 +293,18 @@ module Aws::Rekognition
|
|
|
293
293
|
# Face details for the recognized celebrity.
|
|
294
294
|
# @return [Types::FaceDetail]
|
|
295
295
|
#
|
|
296
|
+
# @!attribute [rw] known_gender
|
|
297
|
+
# Retrieves the known gender for the celebrity.
|
|
298
|
+
# @return [Types::KnownGender]
|
|
299
|
+
#
|
|
296
300
|
class CelebrityDetail < Struct.new(
|
|
297
301
|
:urls,
|
|
298
302
|
:name,
|
|
299
303
|
:id,
|
|
300
304
|
:confidence,
|
|
301
305
|
:bounding_box,
|
|
302
|
-
:face
|
|
306
|
+
:face,
|
|
307
|
+
:known_gender)
|
|
303
308
|
SENSITIVE = []
|
|
304
309
|
include Aws::Structure
|
|
305
310
|
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.58.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: 2021-10-
|
|
11
|
+
date: 2021-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|