my project is about facial expression recognition.
for the classification of the emotions i want to train a neural network having an input 20 points taken from the whole face by the vision.CornerDetector function. so each point feature is represented by its X and its Y.
my database contain 110 smiling photos and 95 neutral ones. so that, the whole matrix of smiling faces, for example, has a size of 20x220.
any ideas about how to train my neural network using these features?

댓글 수: 1

Saud Alramzi
Saud Alramzi 2016년 4월 20일
Hello,
I am working on the same project, did it work for you by chance?
Thanks, Saud

댓글을 달려면 로그인하십시오.

 채택된 답변

Greg Heath
Greg Heath 2013년 5월 31일

0 개 추천

Use patternnet
Ns = 110, Nn = 95, N=Ns+Nn = 205 (NOT 220), I = 20, O = 2
[ I N ] = size(input)
[ O N ] = size(target)
with
target = [ targets targetn ]
targets = repmat([1;0],1,Ns)
targetn = repmat([0;1],1,Nn)
Hope this helps.
Thank you for formally accepting my answer
Greg

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2013년 5월 21일

댓글:

2016년 4월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by