Tagged articles
5 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Dec 16, 2021 · Artificial Intelligence

How to Build a Real-Time Face Recognition System with Dlib and OpenCV in Python

This guide walks through constructing a Python‑based real‑time face recognition pipeline using Dlib and OpenCV, covering dataset creation, feature extraction, Euclidean distance matching, and live video stream identification, complete with code snippets, parameter tuning tips, and troubleshooting advice.

Real-Timedlibeuclidean distance
0 likes · 20 min read
How to Build a Real-Time Face Recognition System with Dlib and OpenCV in Python
Python Programming Learning Circle
Python Programming Learning Circle
May 7, 2020 · Artificial Intelligence

Understanding the k-Nearest Neighbor (kNN) Classification Algorithm and Its Python Implementation

This article introduces the concept and intuition behind the k-Nearest Neighbor (kNN) classification algorithm, explains its simple and full forms, discusses feature engineering and Euclidean distance calculations, and provides a complete Python implementation with example code.

classificationeuclidean distancefeature engineering
0 likes · 10 min read
Understanding the k-Nearest Neighbor (kNN) Classification Algorithm and Its Python Implementation
Python Programming Learning Circle
Python Programming Learning Circle
Mar 7, 2020 · Artificial Intelligence

k-Nearest Neighbors (kNN) Algorithm: Overview, Pros/Cons, Data Preparation, Implementation, and Handwritten Digit Recognition

This article explains the k‑Nearest Neighbors classification method, discusses its advantages and drawbacks, describes data preparation and normalization, presents Python code for the algorithm and a full handwritten digit recognition project, and reports an error rate of about 1.2%.

classificationeuclidean distancehandwritten digit recognition
0 likes · 9 min read
k-Nearest Neighbors (kNN) Algorithm: Overview, Pros/Cons, Data Preparation, Implementation, and Handwritten Digit Recognition
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 22, 2019 · Artificial Intelligence

How Alibaba Engineers Shrank Image Features from 120KB to 13KB and Cut Euclidean Distance to 9µs

This article details how Alibaba's engineers reduced per‑image feature size from 120 KB to an average of 13 KB and accelerated Euclidean distance calculations from 50 µs to 9 µs through bitmap, offset, and duplicate‑value compression techniques, enabling efficient large‑scale image retrieval.

euclidean distancefeature vectorsimage compression
0 likes · 15 min read
How Alibaba Engineers Shrank Image Features from 120KB to 13KB and Cut Euclidean Distance to 9µs