aws-sdk-rekognition 1.2.0 → 1.3.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/lib/aws-sdk-rekognition.rb +1 -1
- data/lib/aws-sdk-rekognition/client.rb +48 -12
- data/lib/aws-sdk-rekognition/types.rb +52 -16
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ac8d435bb1b247165c67d9a2028fb961fcd9086
|
4
|
+
data.tar.gz: 57c60fa8d273ec92bcdf8fbed114c78e7cf8d352
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a34bc891ef85c474dd7d282260cbfb91f773ab00ba7624a2be85e4c524ef117a6c1b4993b61c5caaa976f74eb49c339589e36e16586272302e74bd72cf41114
|
7
|
+
data.tar.gz: 4ad1790e61ddf6f3f0f4f3ebaa0c11110042a3648639a5f36c8eeddb745e5fb4112efe194c5b326d461a06d48a3c92dab0d22431e1ec3465476fee4a91c973a6
|
data/lib/aws-sdk-rekognition.rb
CHANGED
@@ -1172,6 +1172,13 @@ module Aws::Rekognition
|
|
1172
1172
|
# `CelebrityRecognition` contains information about the celebrity in a
|
1173
1173
|
# object and the time, `Timestamp`, the celebrity was detected.
|
1174
1174
|
#
|
1175
|
+
# <note markdown="1"> `GetCelebrityRecognition` only returns the default facial attributes
|
1176
|
+
# (`BoundingBox`, `Confidence`, `Landmarks`, `Pose`, and `Quality`). The
|
1177
|
+
# other facial attributes listed in the `Face` object of the following
|
1178
|
+
# response syntax are not returned. For more information, see .
|
1179
|
+
#
|
1180
|
+
# </note>
|
1181
|
+
#
|
1175
1182
|
# By default, the `Celebrities` array is sorted by time (milliseconds
|
1176
1183
|
# from the start of the video). You can also sort the array by celebrity
|
1177
1184
|
# by specifying the value `ID` in the `SortBy` input parameter.
|
@@ -1196,8 +1203,10 @@ module Aws::Rekognition
|
|
1196
1203
|
# can get the job identifer from a call to `StartCelebrityRecognition`.
|
1197
1204
|
#
|
1198
1205
|
# @option params [Integer] :max_results
|
1199
|
-
# Maximum number of
|
1200
|
-
#
|
1206
|
+
# Maximum number of results to return per paginated call. The largest
|
1207
|
+
# value you can specify is 1000. If you specify a value greater than
|
1208
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1209
|
+
# 1000.
|
1201
1210
|
#
|
1202
1211
|
# @option params [String] :next_token
|
1203
1212
|
# If the previous response was incomplete (because there is more
|
@@ -1330,7 +1339,9 @@ module Aws::Rekognition
|
|
1330
1339
|
# the job in a subsequent call to `GetContentModeration`.
|
1331
1340
|
#
|
1332
1341
|
# @option params [Integer] :max_results
|
1333
|
-
# Maximum number of
|
1342
|
+
# Maximum number of results to return per paginated call. The largest
|
1343
|
+
# value you can specify is 1000. If you specify a value greater than
|
1344
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1334
1345
|
# 1000.
|
1335
1346
|
#
|
1336
1347
|
# @option params [String] :next_token
|
@@ -1415,7 +1426,10 @@ module Aws::Rekognition
|
|
1415
1426
|
# from `StartFaceDetection`.
|
1416
1427
|
#
|
1417
1428
|
# @option params [Integer] :max_results
|
1418
|
-
# Maximum number of
|
1429
|
+
# Maximum number of results to return per paginated call. The largest
|
1430
|
+
# value you can specify is 1000. If you specify a value greater than
|
1431
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1432
|
+
# 1000.
|
1419
1433
|
#
|
1420
1434
|
# @option params [String] :next_token
|
1421
1435
|
# If the previous response was incomplete (because there are more faces
|
@@ -1512,8 +1526,16 @@ module Aws::Rekognition
|
|
1512
1526
|
#
|
1513
1527
|
# The search results are retured in an array, `Persons`, of objects.
|
1514
1528
|
# Each`PersonMatch` element contains details about the matching faces in
|
1515
|
-
# the input collection, person information
|
1516
|
-
#
|
1529
|
+
# the input collection, person information (facial attributes, bounding
|
1530
|
+
# boxes, and person identifer) for the matched person, and the time the
|
1531
|
+
# person was matched in the video.
|
1532
|
+
#
|
1533
|
+
# <note markdown="1"> `GetFaceSearch` only returns the default facial attributes
|
1534
|
+
# (`BoundingBox`, `Confidence`, `Landmarks`, `Pose`, and `Quality`). The
|
1535
|
+
# other facial attributes listed in the `Face` object of the following
|
1536
|
+
# response syntax are not returned. For more information, see .
|
1537
|
+
#
|
1538
|
+
# </note>
|
1517
1539
|
#
|
1518
1540
|
# By default, the `Persons` array is sorted by the time, in milliseconds
|
1519
1541
|
# from the start of the video, persons are matched. You can also sort by
|
@@ -1524,8 +1546,10 @@ module Aws::Rekognition
|
|
1524
1546
|
# from an initial call to `StartFaceSearch`.
|
1525
1547
|
#
|
1526
1548
|
# @option params [Integer] :max_results
|
1527
|
-
# Maximum number of
|
1528
|
-
#
|
1549
|
+
# Maximum number of results to return per paginated call. The largest
|
1550
|
+
# value you can specify is 1000. If you specify a value greater than
|
1551
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1552
|
+
# 1000.
|
1529
1553
|
#
|
1530
1554
|
# @option params [String] :next_token
|
1531
1555
|
# If the previous response was incomplete (because there is more search
|
@@ -1660,8 +1684,10 @@ module Aws::Rekognition
|
|
1660
1684
|
# `StartlabelDetection`.
|
1661
1685
|
#
|
1662
1686
|
# @option params [Integer] :max_results
|
1663
|
-
# Maximum number of
|
1664
|
-
#
|
1687
|
+
# Maximum number of results to return per paginated call. The largest
|
1688
|
+
# value you can specify is 1000. If you specify a value greater than
|
1689
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1690
|
+
# 1000.
|
1665
1691
|
#
|
1666
1692
|
# @option params [String] :next_token
|
1667
1693
|
# If the previous response was incomplete (because there are more labels
|
@@ -1733,6 +1759,13 @@ module Aws::Rekognition
|
|
1733
1759
|
# `GetPersonTracking` returns an array, `Persons`, of tracked persons
|
1734
1760
|
# and the time(s) they were tracked in the video.
|
1735
1761
|
#
|
1762
|
+
# <note markdown="1"> `GetPersonTracking` only returns the default facial attributes
|
1763
|
+
# (`BoundingBox`, `Confidence`, `Landmarks`, `Pose`, and `Quality`). The
|
1764
|
+
# other facial attributes listed in the `Face` object of the following
|
1765
|
+
# response syntax are not returned. For more information, see .
|
1766
|
+
#
|
1767
|
+
# </note>
|
1768
|
+
#
|
1736
1769
|
# By default, the array is sorted by the time(s) a person is tracked in
|
1737
1770
|
# the video. You can sort by tracked persons by specifying `INDEX` for
|
1738
1771
|
# the `SortBy` input parameter.
|
@@ -1750,7 +1783,10 @@ module Aws::Rekognition
|
|
1750
1783
|
# `JobId` from a call to `StartPersonTracking`.
|
1751
1784
|
#
|
1752
1785
|
# @option params [Integer] :max_results
|
1753
|
-
# Maximum number of
|
1786
|
+
# Maximum number of results to return per paginated call. The largest
|
1787
|
+
# value you can specify is 1000. If you specify a value greater than
|
1788
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1789
|
+
# 1000.
|
1754
1790
|
#
|
1755
1791
|
# @option params [String] :next_token
|
1756
1792
|
# If the previous response was incomplete (because there are more
|
@@ -3297,7 +3333,7 @@ module Aws::Rekognition
|
|
3297
3333
|
params: params,
|
3298
3334
|
config: config)
|
3299
3335
|
context[:gem_name] = 'aws-sdk-rekognition'
|
3300
|
-
context[:gem_version] = '1.
|
3336
|
+
context[:gem_version] = '1.3.0'
|
3301
3337
|
Seahorse::Client::Request.new(handlers, context)
|
3302
3338
|
end
|
3303
3339
|
|
@@ -949,8 +949,30 @@ module Aws::Rekognition
|
|
949
949
|
# Structure containing attributes of the face that the algorithm
|
950
950
|
# detected.
|
951
951
|
#
|
952
|
+
# A `FaceDetail` object contains either the default facial attributes or
|
953
|
+
# all facial attributes. The default attributes are `BoundingBox`,
|
954
|
+
# `Confidence`, `Landmarks`, `Pose`, and `Quality`.
|
955
|
+
#
|
956
|
+
# is the only Rekognition Video stored video operation that can return a
|
957
|
+
# `FaceDetail` object with all attributes. To specify which attributes
|
958
|
+
# to return, use the `FaceAttributes` input parameter for . The
|
959
|
+
# following Rekognition Video operations return only the default
|
960
|
+
# attributes. The corresponding Start operations don't have a
|
961
|
+
# `FaceAttributes` input parameter.
|
962
|
+
#
|
963
|
+
# * GetCelebrityRecognition
|
964
|
+
#
|
965
|
+
# * GetPersonTracking
|
966
|
+
#
|
967
|
+
# * GetFaceSearch
|
968
|
+
#
|
969
|
+
# The Rekognition Image and operations can return all facial attributes.
|
970
|
+
# To specify which attributes to return, use the `Attributes` input
|
971
|
+
# parameter for `DetectFaces`. For `IndexFaces`, use the
|
972
|
+
# `DetectAttributes` input parameter.
|
973
|
+
#
|
952
974
|
# @!attribute [rw] bounding_box
|
953
|
-
# Bounding box of the face.
|
975
|
+
# Bounding box of the face. Default attribute.
|
954
976
|
# @return [Types::BoundingBox]
|
955
977
|
#
|
956
978
|
# @!attribute [rw] age_range
|
@@ -1003,21 +1025,21 @@ module Aws::Rekognition
|
|
1003
1025
|
# @return [Array<Types::Emotion>]
|
1004
1026
|
#
|
1005
1027
|
# @!attribute [rw] landmarks
|
1006
|
-
# Indicates the location of landmarks on the face.
|
1028
|
+
# Indicates the location of landmarks on the face. Default attribute.
|
1007
1029
|
# @return [Array<Types::Landmark>]
|
1008
1030
|
#
|
1009
1031
|
# @!attribute [rw] pose
|
1010
1032
|
# Indicates the pose of the face as determined by its pitch, roll, and
|
1011
|
-
# yaw.
|
1033
|
+
# yaw. Default attribute.
|
1012
1034
|
# @return [Types::Pose]
|
1013
1035
|
#
|
1014
1036
|
# @!attribute [rw] quality
|
1015
|
-
# Identifies image brightness and sharpness.
|
1037
|
+
# Identifies image brightness and sharpness. Default attribute.
|
1016
1038
|
# @return [Types::ImageQuality]
|
1017
1039
|
#
|
1018
1040
|
# @!attribute [rw] confidence
|
1019
1041
|
# Confidence level that the bounding box contains a face (and not a
|
1020
|
-
# different object such as a tree).
|
1042
|
+
# different object such as a tree). Default attribute.
|
1021
1043
|
# @return [Float]
|
1022
1044
|
#
|
1023
1045
|
class FaceDetail < Struct.new(
|
@@ -1207,8 +1229,10 @@ module Aws::Rekognition
|
|
1207
1229
|
# @return [String]
|
1208
1230
|
#
|
1209
1231
|
# @!attribute [rw] max_results
|
1210
|
-
# Maximum number of
|
1211
|
-
#
|
1232
|
+
# Maximum number of results to return per paginated call. The largest
|
1233
|
+
# value you can specify is 1000. If you specify a value greater than
|
1234
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1235
|
+
# 1000.
|
1212
1236
|
# @return [Integer]
|
1213
1237
|
#
|
1214
1238
|
# @!attribute [rw] next_token
|
@@ -1282,8 +1306,10 @@ module Aws::Rekognition
|
|
1282
1306
|
# @return [String]
|
1283
1307
|
#
|
1284
1308
|
# @!attribute [rw] max_results
|
1285
|
-
# Maximum number of
|
1286
|
-
# is 1000.
|
1309
|
+
# Maximum number of results to return per paginated call. The largest
|
1310
|
+
# value you can specify is 1000. If you specify a value greater than
|
1311
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1312
|
+
# 1000.
|
1287
1313
|
# @return [Integer]
|
1288
1314
|
#
|
1289
1315
|
# @!attribute [rw] next_token
|
@@ -1358,7 +1384,10 @@ module Aws::Rekognition
|
|
1358
1384
|
# @return [String]
|
1359
1385
|
#
|
1360
1386
|
# @!attribute [rw] max_results
|
1361
|
-
# Maximum number of
|
1387
|
+
# Maximum number of results to return per paginated call. The largest
|
1388
|
+
# value you can specify is 1000. If you specify a value greater than
|
1389
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1390
|
+
# 1000.
|
1362
1391
|
# @return [Integer]
|
1363
1392
|
#
|
1364
1393
|
# @!attribute [rw] next_token
|
@@ -1427,8 +1456,10 @@ module Aws::Rekognition
|
|
1427
1456
|
# @return [String]
|
1428
1457
|
#
|
1429
1458
|
# @!attribute [rw] max_results
|
1430
|
-
# Maximum number of
|
1431
|
-
#
|
1459
|
+
# Maximum number of results to return per paginated call. The largest
|
1460
|
+
# value you can specify is 1000. If you specify a value greater than
|
1461
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1462
|
+
# 1000.
|
1432
1463
|
# @return [Integer]
|
1433
1464
|
#
|
1434
1465
|
# @!attribute [rw] next_token
|
@@ -1509,8 +1540,10 @@ module Aws::Rekognition
|
|
1509
1540
|
# @return [String]
|
1510
1541
|
#
|
1511
1542
|
# @!attribute [rw] max_results
|
1512
|
-
# Maximum number of
|
1513
|
-
#
|
1543
|
+
# Maximum number of results to return per paginated call. The largest
|
1544
|
+
# value you can specify is 1000. If you specify a value greater than
|
1545
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1546
|
+
# 1000.
|
1514
1547
|
# @return [Integer]
|
1515
1548
|
#
|
1516
1549
|
# @!attribute [rw] next_token
|
@@ -1588,7 +1621,10 @@ module Aws::Rekognition
|
|
1588
1621
|
# @return [String]
|
1589
1622
|
#
|
1590
1623
|
# @!attribute [rw] max_results
|
1591
|
-
# Maximum number of
|
1624
|
+
# Maximum number of results to return per paginated call. The largest
|
1625
|
+
# value you can specify is 1000. If you specify a value greater than
|
1626
|
+
# 1000, a maximum of 1000 results is returned. The default value is
|
1627
|
+
# 1000.
|
1592
1628
|
# @return [Integer]
|
1593
1629
|
#
|
1594
1630
|
# @!attribute [rw] next_token
|
@@ -2189,7 +2225,7 @@ module Aws::Rekognition
|
|
2189
2225
|
|
2190
2226
|
# Information about a person whose face matches a face(s) in a Amazon
|
2191
2227
|
# Rekognition collection. Includes information about the faces in the
|
2192
|
-
# Amazon Rekognition collection (,information about the person
|
2228
|
+
# Amazon Rekognition collection (, information about the person
|
2193
2229
|
# (PersonDetail) and the timestamp for when the person was detected in a
|
2194
2230
|
# video. An array of `PersonMatch` objects is returned by .
|
2195
2231
|
#
|
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.3.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: 2018-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.
|
78
|
+
rubygems_version: 2.5.2.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - Amazon Rekognition
|