json Azure计算机视觉API OpenAPI

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json Azure计算机视觉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

以上是关于json Azure计算机视觉API OpenAPI的主要内容,如果未能解决你的问题,请参考以下文章

Azure 计算机视觉 API - PDF 文件上的 OCR 到文本

Azure 认知服务 计算机视觉API - 读取图片中的文字 (OCR)

这些计算机视觉 API 可以检测到多少物体?

Azure / Videoindexer AI API / 视觉识别类列表

从零开始玩人工智能—机器视觉API—01

如何使用 React 将本地图像而不是 URL 发送到计算机视觉 API