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

ParameterTypeDefault
imageOneOf([FieldOf(Raster)])
saliencyBooleantrue
saliency_modeString"attention"
classifyBooleantrue
max_labelsNumber5
horizonBooleanfalse
aestheticsBooleanfalse
feature_printBooleanfalse
enabledBooleantrue

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)