How to detect glasses on the face ?

2 Ansichten (letzte 30 Tage)
Varun Raghavendra
Varun Raghavendra am 26 Feb. 2015
Beantwortet: Dima Lisin am 6 Mär. 2015
I am doing a project just to detect if the person is wearing glasses or not. I have a training database. I want to use a neural network for this. I want to train the neural network with features of the image near the eye.
Does anyone know how to extract features near the eye using Matlab ?
I tried the vision.cascadedetector in Matlab but it gave [0,4] as the value for the bounding box.
Is there any other way to get the features of the eye. Please help me.
Thank you for the help.

Akzeptierte Antwort

Dima Lisin
Dima Lisin am 6 Mär. 2015
Hi Varun,
I would try using vision.CascadeObjectDetector to detect the face first. Then, I would try to detect the eyes inside the detected face regions.
To determine whether the person is wearing glasses you would need to train your own glasses vs. no glasses classifier. There is a variety of methods for doing that. For example, you can try using HOG features and the SVM classifier.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by