macaroni

analyze

Description:
The analyze executor is used to analyze an image (from clipboard or file) using the Azure Computer Vision service.

Parent: execute, then, else

Value (simple form): string specifying the image to be analyzed
Value (key/value form):

# simple form
- analyze: (string)

# simple example
- analyze: {clipboard.image}

# key/value form
- analyze: (string, required)
  feature: (string, optional)
  language: (string, optional)
  endpoint: (string, optional)
  key: (string, optional)

# key/value example
- analyze: '{folders.desktop}\image.png'
  feature: 'Text'

EXAMPLE

# describe image on clipboard using image analysis service
commands:
- name: describe image on clipboard using image analysis service
  triggers:
  - phrase: describe that
  - phrase: tell me about that
  execute:
  - analyze: '{clipboard.image}'
    feature: Description
  - display: '{analyze.text}'
  - clipboard: '{analyze.text}'
  - speak: '{analyze.text}'

Additional information:

Status: ✅ IMPLEMENTED