FAST corners
Look for a contiguous arc of brighter or darker pixels around a candidate centre.
Corners change intensity in more than one direction; a long straight edge is less distinctive.
Sample a small circle around each pixel.
Test whether a long contiguous arc differs enough from the centre.
Only well-separated strong corners survive. These detector APIs do not produce descriptors.
Optionally keep only local maxima of the corner response.
Illustrative example. The stages explain the method; they are not a live OpenCV execution.
Try it on an image
Experiment at pixel level
Detect FAST corners. These locations have no descriptor or scale estimate.
The engine loads on your first run. Your images stay in this browser.
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
Select a pixel
Select a pixel
When to use it
Detect many corners quickly before tracking or descriptor computation.
How it works
- 01Sample a small circle around each pixel.
- 02Test whether a long contiguous arc differs enough from the centre.
- 03Optionally keep only local maxima of the corner response.
corner: contiguous ring arc differs from centre by more than T
What to tune
threshold controls required contrast; nonmaxSuppression reduces clusters of adjacent detections.
Where it breaks down
FAST alone supplies no descriptor and no scale normalization. Noise affects the intensity test.
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.
Related methods
ORB features
Detect oriented corners across an image pyramid and describe them with compact binary tests.
SIFT features
Detect scale-space extrema and describe local gradient distributions around them.
AKAZE features
Find and describe features in a nonlinear scale space that preserves important boundaries.
BRISK features
Describe scale-space keypoints using intensity comparisons on concentric sampling rings.