No commit activity in last 3 years
No release in over 3 years
Azure Computer Vision Api
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.10.6
>= 0.8.16
>= 10.0

Runtime

 Project Readme

Azure Computer Vision Api filter plugin for Embulk

Gem Version

Overview

  • Plugin type: filter

Configuration

  • api_type: api_type(string, required)
  • out_key_name: out_key_name(string, required)
  • image_path_key_name: image_path_key_name(string, required)
  • params: params(hash, default: {})
  • delay: delay(integer, default: 0)
  • retry_wait: retry_wait(integer, default: 10)
  • subscription_key: subscription_key(string, required)

Example

OCR(text recognition)

  - type: azure_computer_vision_api
    api_type: ocr
    image_path_key_name: {{ image_path_key_name }}
    out_key_name: azure_text
    params:
      language: "ja"
      detectOrientation: true
    subscription_key: {{ env.AZURE_COMPUTER_VISION_SUBSCRIPTION_KEY }}

analyze(Categories,Tags,Description,Faces,ImageType,Color,Adult)

  - type: azure_computer_vision_api
    api_type: analyze
    image_path_key_name: {{ image_path_key_name }}
    out_key_name: azure_analyze
    params:
      visualFeatures: "Categories,Tags,Description,Faces,ImageType,Color,Adult"
      language: en
    subscription_key: {{ env.AZURE_COMPUTER_VISION_SUBSCRIPTION_KEY }}

tag

  - type: azure_computer_vision_api
    api_type: tag
    image_path_key_name: {{ image_path_key_name }}
    out_key_name: azure_tag
    subscription_key: {{ env.AZURE_COMPUTER_VISION_SUBSCRIPTION_KEY }}

describe

  - type: azure_computer_vision_api
    api_type: describe
    image_path_key_name: {{ image_path_key_name }}
    out_key_name: azure_describe
    subscription_key: {{ env.AZURE_COMPUTER_VISION_SUBSCRIPTION_KEY }}

Reference

Computer Vision—Image Processing and Analytics | Microsoft Azure

Microsoft Cognitive Services - Documentation

Cognitive Services APIs Reference

Build

$ rake