Similarity is an angle
Two vectors on a plane, with their cosine similarity read out live. Length does not matter and direction does — the property that makes cosine the default for comparing descriptors and embeddings.
Try this
Stretch the draggable vector without turning it. The similarity does not move.
Drag the blue dot.
More in edges and features
- An edge, and its two derivatives — One row of pixels, with the first and second derivative stacked underneath.
- Canny, one stage per panel — Smoothing and the two hysteresis thresholds, on a real photo.
- Flat, edge, or corner — Drag a window over a photo; two eigenvalues deliver the verdict.