Decoding Facial Recognition: Analyzing Standalone Euclidean and KNN Distance Metrics

This study compares the performance of K-Nearest Neighbors (KNN) using different distance metrics—Euclidean, Manhattan, and Minkowski—as well as the standalone Euclidean distance metric in facial recognition tasks. Our objective was to compare these methods in terms of accuracy and computational efficiency across diverse datasets, including Celebrity Faces, Color FERET, Family Faces with and without occlusions, and Yale Faces. Utilizing Dlib’s face detection tools, we performed a thorough analysis of each metric’s effectiveness. The evaluation involved multiple iterations to ensure robust results. Our results reveal that the Manhattan distance metric generally offers superior computational efficiency, with the lowest average computation time of 0.588 milliseconds, compared to Euclidean and Minkowski metrics. While the Euclidean metric provides high accuracy, particularly in controlled Environments like the Yale Faces dataset the Manhattan metric offers a more balanced tradeoff between accuracy and computational time. The Minkowski distance metric, while versatile, generally falls between the Euclidean and Manhattan metrics in terms of efficiency and accuracy. In scenarios with occlusions, such as those found in the Family Faces dataset, the Manhattan distance metric maintains a competitive edge in both accuracy and efficiency compared to other metrics. For applications that demand both high accuracy and minimal computational overhead, especially in real-world environments with potential occlusions, the Manhattan distance metric is particularly recommended. Conversely, when computational efficiency is less of a concern, the Euclidean metric remains a reliable choice. These insights provide valuable guidance for optimizing facial recognition systems to meet diverse application requirements and computational constraints.

Authors

Publication Details

Journal
Journal of Science and Technology.
Published
2024-12-31
DOI
https://doi.org/10.3126/jost.v4i2.78952
Primary Topic
Face recognition and analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Decoding Facial Recognition: Analyzing Standalone Euclidean and KNN Distance Metrics

Prajwol Chhetri, Sunil Raut Kshetri
Journal of Science and Technology.
Face recognition and analysis
article

Decoding Facial Recognition: Analyzing Standalone Euclidean and KNN Distance Metrics

Prajwol Chhetri, Sunil Raut Kshetri
article en

Abstract

This study compares the performance of K-Nearest Neighbors (KNN) using different distance metrics—Euclidean, Manhattan, and Minkowski—as well as the standalone Euclidean distance metric in facial recognition tasks. Our objective was to compare these methods in terms of accuracy and computational efficiency across diverse datasets, including Celebrity Faces, Color FERET, Family Faces with and without occlusions, and Yale Faces. Utilizing Dlib’s face detection tools, we performed a thorough analysis of each metric’s effectiveness. The evaluation involved multiple iterations to ensure robust results. Our results reveal that the Manhattan distance metric generally offers superior computational efficiency, with the lowest average computation time of 0.588 milliseconds, compared to Euclidean and Minkowski metrics. While the Euclidean metric provides high accuracy, particularly in controlled Environments like the Yale Faces dataset the Manhattan metric offers a more balanced tradeoff between accuracy and computational time. The Minkowski distance metric, while versatile, generally falls between the Euclidean and Manhattan metrics in terms of efficiency and accuracy. In scenarios with occlusions, such as those found in the Family Faces dataset, the Manhattan distance metric maintains a competitive edge in both accuracy and efficiency compared to other metrics. For applications that demand both high accuracy and minimal computational overhead, especially in real-world environments with potential occlusions, the Manhattan distance metric is particularly recommended. Conversely, when computational efficiency is less of a concern, the Euclidean metric remains a reliable choice. These insights provide valuable guidance for optimizing facial recognition systems to meet diverse application requirements and computational constraints.

Journal of Science and Technology.Vol. 4(2)
Openalex Percentile: Top 70%
Face recognition and analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Decoding Facial Recognition: Analyzing Standalone Euclidean and KNN Distance Metrics — Prajwol Chhetri, Sunil Raut Kshetri · Journal of Science and Technology. (2024) | TGRS Research Map | TGRS