Skip to content

Visual saliency

Estimate conspicuous regions or candidate object windows from appearance or motion.

Try it on your image ↓

VISUAL WALKTHROUGHDetection
REFERENCE INPUTObjects with different contrast

The same scene stays here while the working view changes.

RESULTSelect a prominent candidate region

Thresholding or ranking the saliency response can propose regions for later processing. Saliency itself does not assign object identities.

STEP 03 / 03

Return a saliency map or candidate windows for downstream use.

Illustrative example. The stages explain the method; they are not a live OpenCV execution.

Try it on an image

YOUR IMAGE · REAL OPENCV

Experiment at pixel level

Open full lab ↗

Compute a static saliency map. Bright values suggest visually distinctive regions, not necessarily recognized objects.

The engine loads on your first run. Your images stay in this browser.

Input448 × 320
OutputWaiting for a result

Scroll over either image to zoom at the pointer. Use the scrollbars to pan both views over the same relative area. Zoom is relative to the input; pixel coordinates belong to each image. Warps can change scene correspondence.

Pixel inspector RGBA · native values · matched scale · 9 × 9 output pixels
Hover to inspect. Click to pin a pixel.
Input
Select a pixel

Output
Select a pixel

Sample models and licenses

When to use it

Prioritize candidate regions for later processing or explore image attention cues.

How it works

  1. 01Extract the method’s spectral, local-contrast, motion or gradient features.
  2. 02Score locations that differ from their surrounding regularities.
  3. 03Return a saliency map or candidate windows for downstream use.

visual regularity → local exception → candidate attention

What to tune

Select a static, motion or objectness method to match the task. Interpret each output on its own documented scale.

Where it breaks down

Saliency is not an object label, and attractive texture can score more highly than the intended subject. BING needs trained model data.

TypeScript API

Open an entry for its exact overloads, parameter descriptions, result ownership and pinned upstream source.

All of these calls execute on the CPU. Native objects need explicit disposal. See matrices and ownership and build compatibility.