AI engineering glossary · Computer vision

What is RANSAC?

RANSAC: Random Sample Consensus, an algorithm that fits a model to data containing many wrong points by repeatedly fitting to random small samples and keeping the model that most points agree with. In vision it removes bad feature matches when estimating a homography.

Level: advancedTopic: Computer vision

RANSAC: an example

Of 500 matches, 150 are wrong; RANSAC finds the homography supported by the other 350 and ignores the outliers.

Related terms

More Computer vision terms

Where you learn it

RANSAC is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.