Skip to main content
The predictions field gives you detailed control over what is calculated in an analysis and how results are presented to you. If you omit it entirely, EyeQuant runs an attention analysis with its default outputs. When you include it, you can select one or more prediction types and, optionally, specify exactly which outputs you want back.

Available Predictions

EyeQuant currently supports three prediction types:

Attention

The attention prediction models which parts of the image are most likely to capture a viewer’s gaze. It produces up to three visual outputs:

Clarity

The clarity prediction measures how clear or cluttered your image is perceived to be. It produces the following outputs:

Excitingness

The excitingness prediction estimates how exciting your image is perceived to be. It produces one output:

Configuring Predictions

You configure predictions by passing a predictions object where each key is a prediction name and its value is a configuration object. To use a prediction’s default outputs, pass an empty object {}. To request specific outputs, include an outputs array. Default attention analysis (returns attentionMap only):
Multiple predictions with specific outputs — clarity with both score and map, plus excitingness with its default:
Currently, all available outputs are returned regardless of which specific outputs you request in the outputs array. This behavior may change to returning only the requested outputs without notice in a future version. Build your integration to handle all possible output fields defensively.