how to get facial features particularly for eyes using kinect v1 sensor in matlab?

I have installed all the packages related to kinect and my system is able to detect the sensor and now i want to use it to detect facial features mainly to get the point on the eyes. how do i do that ? please help
Thanks shorav

Answers (1)

Hi Shorav,
You can feed the bounding box of the detected eyes to any one of the feature detectors in the Computer Vision System Toolbox. Here is an example of how to do this:
%Read the input image
I = imread('extract1.png');
%To detect Eyes
EyeDetect = vision.CascadeObjectDetector('EyePairBig');
BB=step(EyeDetect,I);
%Plot result
figure
imshow(I);
hold on;
rectangle('Position',BB,'LineWidth',4,'LineStyle','-','EdgeColor','b');

1 Comment

I want to do with the help of kinect sensor for windows and it should look like this in the attached image

This question is closed.

Asked:

on 28 Aug 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!