File Exchange

image thumbnail

Real-Time Facial Recognition Using HOG Features

version 1.1 (758 KB) by Kevin Chng
This example is basically to demonstrate how to register a new face, label new face, extract features and recognise the face in real time.


Updated 07 Dec 2020

From GitHub

View Version History

View license on GitHub

Overview :

This example demonstrates how to register a new face, label new face, extract features and recognise the face in real time.It is a very interesting topic. However, in this example, we are not particular in the accuracy, instead of that, i'm demonstrating the workflow. In order to increase the accuracy, we might need to extract more features for machine learning.
There are many examples available online, some links are provided below, you may take a look at their example.

Example 1: How to activate your webcam
Example 2 : Face Detection and Tracking Using Live Video Acquisition
Example 3: Code for Face Recognition with MATLAB Webinar
video :
Example 4 : Detecting Faces in Image
Example 5 : Facial Recognition using Kekre transform
Example 6 : Real-time Face Recogn
Example 7 : Creating a Cloud Based People Counter Using MATLAB (ThingSpeak)

Highlights :
Registration of New Face in Webcam through Image Acquisition Toolbox
Label of New Face captured by Webcam
Extract Features for Machine Learning
Machine Learning and Prediction
Performs Real-Time Facial Recognition

Product Focus :
Image Acquisition Toolbox
Image Processing Toolbox
Computer Vision System Toolbox
Machine Learning and Statistic Toolbox

Written at 1 October 2018

Cite As

Kevin Chng (2021). Real-Time Facial Recognition Using HOG Features (, GitHub. Retrieved .

Comments and Ratings (2)

mohammed aamir

hey can you please send me the updated source code

Eric Bott

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!