kinlane
8/4/2017 - 5:44 AM

Azure Computer Vision API OpenAPI

Azure Computer Vision API OpenAPI

Swagger: "2.0"
info:
  title: Azure Computer Vision
  description: The cloud-based Computer Vision API provides developers with access to advanced algorithms for processing images and returning information.
  version: 1.0.0
host: westcentralus.api.cognitive.microsoft.com
basePath: /vision/v1.0
schemes:
  - https
produces:
  - application/json
consumes:
  - application/json
paths:
  /analyze:
    post:
      summary: Run Image Detection
      description: Run image detection and annotation for a batch of images.
      parameters:
        - in: query
          type: string
          name: visualFeatures
        - in: query
          type: string
          name: details
        - in: query
          type: string
          name: language
        - in: body
          type: string
          required: true
          schema:
            $ref: "#/definitions/image"
      responses:
        200:
          description: Successful Response
          schema:
            type: array
            items:
              $ref: '#/definitions/image'
      tags:
        - Machine Learning
        - Facial Recognition
        - Image Cropping
        - Image Moderation
        - Optical Character Recognition
        - Image Tagging
        - Image Categorization
      x-hype-tags:
        - Crop
        - Flag
        - Adult Content
        - Color Schemes
        - Optical Character Recognition
        - Handwritten Text
        - Text
        - Domain-Specific content
        - Descriptions
        - Facial Recognition
        - Categorize
        - Tag
        - Advanced Algorithms
        - Type
        - Quality
        - Analyze
definitions:
  image:
    properties:
      url:
        description: A letter to sort in the UI.
        type: string
  annotation:
    properties:
      tags:
        description: The tags.
        type: array
        schema:
          $ref: "#/definitions/tag"
      description:
        description: The
        type: object
        schema:
          $ref: "#/definitions/description"
  tag:
    properties:
      name:
        description: Name of tag.
        type: string
      name:
        description: Score of tag.
        score: string
  description:
    properties:
      tags:
        description: Tags
        type: array
      captions:
        description: The captions
        type: array
        schema:
          $ref: "#/definitions/caption"
  caption:
    properties:
      text:
        description: The tet of the captions
        type: string
      confidence:
        description: The tet of the captions
        type: integer