Vision Analyze

Analyse images with Apple Vision for saliency, classification, horizon, aesthetics, and feature print.

What it does

Vision Analyze runs an image through Apple's on-device Vision engine and reports a saliency heatmap of where attention lands, scene and object classification labels, horizon angle, an aesthetic quality score, and a perceptual feature vector for comparing images. Each analysis is its own toggle, so only what is switched on is computed.

It has no visual output of its own, feeding numbers, labels and a heatmap image forward instead.

When to use it

ParameterTypeDefaultWhat it does
imageRaster—Image to analyze
saliencyBooleantrueEnable saliency heatmap
saliency_modeString"attention"Saliency mode: attention (where eyes look) or objectness (distinct objects). One of: attention, objectness.
classifyBooleantrueEnable scene/object classification
max_labelsNumber5Maximum number of classification labels to return
horizonBooleanfalseEnable horizon angle detection
aestheticsBooleanfalseEnable aesthetic quality scoring
feature_printBooleanfalseEnable perceptual feature vector (for image similarity)
enabledBooleantrueEnable analysis

Gotchas

This node is built on Apple's Vision framework and runs on macOS only. It produces no results on other platforms.

Worked example

  1. Add a Vision Analyze node and wire an image into Image.

  2. Leave Saliency and Classify on. Look at saliency_map for the attention heatmap and top_label for the leading classification.

  3. Turn on Horizon for the tilt angle for auto-levelling, or Aesthetics for a quality score.

  4. Turn on Feature Print on two Vision Analyze nodes fed by different images, then compare their features outputs downstream to measure similarity.

See also

Object Detect · Vision Pose · Vision Text · Rasters (images)