kinlane
8/4/2017 - 5:44 AM

Amazon Rekognition API OpenAPI

Amazon Rekognition API OpenAPI

Swagger: "2.0"
info:
  title: Amazon Rekognition
  description: Amazon Rekognition is a service that makes it easy to add image analysis to your applications.
  version: 1.0.0
host: rekognition.us-west-2.amazonaws.com
basePath: /
schemes:
  - https
produces:
  - application/json
consumes:
  - application/json
paths:
  /:
    post:
      summary: Detects faces
      description: Detects faces within an image (JPEG or PNG) that is provided as input.
      parameters:
        - in: header
          name: X-Amz-Target
          type: string
          required: true
          default: RekognitionService.DetectFaces
        - in: body
          type: string
          required: true
          schema:
            $ref: "#/definitions/definitions"
      responses:
        200:
          description: Successful Response
          schema:
            type: array
            items:
              $ref: '#/definitions/ImageProcess'
      tags:
        - Machine Learning
        - Facial Recognition
        - Image Recognition
      x-hype-tags:
        - analysis
        - detect objects
        - detect scenes
        - detect faces
        - recognize celebrities
        - sophisticated
        - deep learning
        - image classification
        - proven
        - highly scalable
        - scientists
        - deep neural network models
        - facial recognition
definitions:
  Image:
    properties:
      view_sort:
        description: The image to be processed.
        type: object
        schema:
          $ref: "#/definitions/S3Object"
  S3Object:
    properties:
      Bucket:
        description: The bucket.
        type: string
      Name:
        description: The name of image.
        type: string
  ImageProcess:
    properties:
      FaceDetails:
        description: The bucket.
        type: string
        type: array
        schema:
          $ref: "#/definitions/FaceDetails"
      OrientationCorrection:
        description: The bucket.
        type: string
  FaceDetails:
    properties:
      BoundingBox:
        description: The bounding box.
        type: object
        schema:
          $ref: "#/definitions/BoundingBox"
      Confidence:
        description: Confidence score.
        type: integer
      Landmarks:
        description: The bucket.
        type: object
        schema:
          $ref: "#/definitions/Landmarks"
      Pose:
        description: The pose.
        type: object
        schema:
          $ref: "#/definitions/Pose"
      Quality:
        description: The quality.
        type: object
        schema:
          $ref: "#/definitions/Quality"
  BoundingBox:
    properties:
      Height:
        description: The height.
        type: integer
      Left:
        description: The left.
        type: integer
      Top:
        description: The top.
        type: integer
      Width:
        description: The width.
        type: integer
  Landmarks:
    properties:
      Type:
        description: The bucket.
        type: string
      X:
        description: The bucket.
        type: integer
      Y:
        description: The bucket.
        type: integer
  Pose:
    properties:
      Pitch:
        description: The pitch.
        type: integer
      Roll:
        description: The pitch.
        type: integer
      Yaw:
        description: The pitch.
        type: integer
  Quality:
    properties:
      Brightness:
        description: The brightness.
        type: string
      Sharpness:
        description: The sharpness.
        type: string