Face Matching Using the Manhattan Distance Algorithm
Let’s match face signatures using the Manhattan distance algorithm.
Introduction
Face recognition identifies human faces based on visual appearance. Facial recognition systems mostly make their decisions based on distance measures. Distance metrics play a key role in matching images.
What is the Manhattan distance metric?
In short, the Manhattan distance, also known as city block distance or L1 distance, represents the distance necessary to get from one data point to another. The Manhattan distance between two points represents the sum of the absolute differences between their Cartesian coordinates.
The following figure is a visual illustration of the Manhattan distance metric:
Get hands-on with 1400+ tech skills courses.