aws-sdk-rekognition 1.0.0.rc3 → 1.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f09db9c79146687943e0a31adc2fe709d40a8cde
4
- data.tar.gz: e952dadf75d712a3612a0fec3e89e0c074a6d19e
3
+ metadata.gz: 3251495c163fec46733542c5afa712c300446873
4
+ data.tar.gz: b94bc747235917f87a110243dabd7ee692b8c9bd
5
5
  SHA512:
6
- metadata.gz: e786c5f8cb95277f36c1886a6566968499dfd206247add6684683cfe690b5f48993e5124264e46b4fff2bafb40104ca11b9032970a4481a5b19461a985e1571a
7
- data.tar.gz: 7f6f5a5515787b4399a5b3d1d07f2ba526d6d0578e8106f67746f8090c4bb3dbbeceb53dcf276d8e0ed47ef61c9ff4f8fcfa216b4dbfab7c1f84dcf5266c996f
6
+ metadata.gz: a7839b56adaa603cc0b796460ca099a63b59aa81efd133604d076fb09f9a5fca3b26bd847b7472eaf45543113b7a91f3b0d3728ebb38787e41d4e02b01a1705e
7
+ data.tar.gz: 2a7c0a5ea99298f578ed235a6fb9e97482ca685d3fc6f4fc54cd7259d752cfb6f87a693c67acc8bd4de43825d1abdb0cff133389079bfe5a54e6e863a925cbd4
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-rekognition/customizations'
42
42
  # @service
43
43
  module Aws::Rekognition
44
44
 
45
- GEM_VERSION = '1.0.0.rc2'
45
+ GEM_VERSION = '1.0.0.rc4'
46
46
 
47
47
  end
@@ -413,6 +413,8 @@ module Aws::Rekognition
413
413
  # resp.face_details[0].bounding_box.height #=> Float
414
414
  # resp.face_details[0].bounding_box.left #=> Float
415
415
  # resp.face_details[0].bounding_box.top #=> Float
416
+ # resp.face_details[0].age_range.low #=> Integer
417
+ # resp.face_details[0].age_range.high #=> Integer
416
418
  # resp.face_details[0].smile.value #=> Boolean
417
419
  # resp.face_details[0].smile.confidence #=> Float
418
420
  # resp.face_details[0].eyeglasses.value #=> Boolean
@@ -660,6 +662,8 @@ module Aws::Rekognition
660
662
  # resp.face_records[0].face_detail.bounding_box.height #=> Float
661
663
  # resp.face_records[0].face_detail.bounding_box.left #=> Float
662
664
  # resp.face_records[0].face_detail.bounding_box.top #=> Float
665
+ # resp.face_records[0].face_detail.age_range.low #=> Integer
666
+ # resp.face_records[0].face_detail.age_range.high #=> Integer
663
667
  # resp.face_records[0].face_detail.smile.value #=> Boolean
664
668
  # resp.face_records[0].face_detail.smile.confidence #=> Float
665
669
  # resp.face_records[0].face_detail.eyeglasses.value #=> Boolean
@@ -984,7 +988,7 @@ module Aws::Rekognition
984
988
  params: params,
985
989
  config: config)
986
990
  context[:gem_name] = 'aws-sdk-rekognition'
987
- context[:gem_version] = '1.0.0.rc2'
991
+ context[:gem_version] = '1.0.0.rc4'
988
992
  Seahorse::Client::Request.new(handlers, context)
989
993
  end
990
994
 
@@ -12,6 +12,7 @@ module Aws::Rekognition
12
12
  include Seahorse::Model
13
13
 
14
14
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ AgeRange = Shapes::StructureShape.new(name: 'AgeRange')
15
16
  Attribute = Shapes::StringShape.new(name: 'Attribute')
16
17
  Attributes = Shapes::ListShape.new(name: 'Attributes')
17
18
  Beard = Shapes::StructureShape.new(name: 'Beard')
@@ -101,6 +102,10 @@ module Aws::Rekognition
101
102
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
102
103
  UInteger = Shapes::IntegerShape.new(name: 'UInteger')
103
104
 
105
+ AgeRange.add_member(:low, Shapes::ShapeRef.new(shape: UInteger, location_name: "Low"))
106
+ AgeRange.add_member(:high, Shapes::ShapeRef.new(shape: UInteger, location_name: "High"))
107
+ AgeRange.struct_class = Types::AgeRange
108
+
104
109
  Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
105
110
 
106
111
  Beard.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
@@ -197,6 +202,7 @@ module Aws::Rekognition
197
202
  Face.struct_class = Types::Face
198
203
 
199
204
  FaceDetail.add_member(:bounding_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "BoundingBox"))
205
+ FaceDetail.add_member(:age_range, Shapes::ShapeRef.new(shape: AgeRange, location_name: "AgeRange"))
200
206
  FaceDetail.add_member(:smile, Shapes::ShapeRef.new(shape: Smile, location_name: "Smile"))
201
207
  FaceDetail.add_member(:eyeglasses, Shapes::ShapeRef.new(shape: Eyeglasses, location_name: "Eyeglasses"))
202
208
  FaceDetail.add_member(:sunglasses, Shapes::ShapeRef.new(shape: Sunglasses, location_name: "Sunglasses"))
@@ -8,6 +8,27 @@
8
8
  module Aws::Rekognition
9
9
  module Types
10
10
 
11
+ # Structure containing the estimated age range, in years, for a face.
12
+ #
13
+ # Rekognition estimates an age-range for faces detected in the input
14
+ # image. Estimated age ranges can overlap; a face of a 5 year old may
15
+ # have an estimated range of 4-6 whilst the face of a 6 year old may
16
+ # have an estimated range of 4-8.
17
+ #
18
+ # @!attribute [rw] low
19
+ # The lowest estimated age.
20
+ # @return [Integer]
21
+ #
22
+ # @!attribute [rw] high
23
+ # The highest estimated age.
24
+ # @return [Integer]
25
+ #
26
+ class AgeRange < Struct.new(
27
+ :low,
28
+ :high)
29
+ include Aws::Structure
30
+ end
31
+
11
32
  # Indicates whether or not the face has a beard, and the confidence
12
33
  # level in the determination.
13
34
  #
@@ -574,6 +595,11 @@ module Aws::Rekognition
574
595
  # Bounding box of the face.
575
596
  # @return [Types::BoundingBox]
576
597
  #
598
+ # @!attribute [rw] age_range
599
+ # The estimated age range, in years, for the face. Low represents the
600
+ # lowest estimated age and High represents the highest estimated age.
601
+ # @return [Types::AgeRange]
602
+ #
577
603
  # @!attribute [rw] smile
578
604
  # Indicates whether or not the face is smiling, and the confidence
579
605
  # level in the determination.
@@ -638,6 +664,7 @@ module Aws::Rekognition
638
664
  #
639
665
  class FaceDetail < Struct.new(
640
666
  :bounding_box,
667
+ :age_range,
641
668
  :smile,
642
669
  :eyeglasses,
643
670
  :sunglasses,
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.0.0.rc3
4
+ version: 1.0.0.rc4
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: 2017-01-24 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core