18.03.2014 Views

Recognition of facial expressions - Knowledge Based Systems ...

Recognition of facial expressions - Knowledge Based Systems ...

Recognition of facial expressions - Knowledge Based Systems ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

483: 138 004 5+25+27 3 3 3 6 4 2 2 6 6 2<br />

484: 138 005 6+7+12+25 3 3 2 2 1 1 2 1 2 6<br />

485: 138 006 6+7+12Y 3 3 2 4 1 1 2 1 2 6<br />

//----------------------------------------------------------------------------------------------<br />

Listing 4. The parameter discretization result<br />

The more classes for the discretization process are, the higher the final emotion<br />

recognition rate was achieved. It was also found that after a certain value, the additional<br />

recognition percent obtained as result <strong>of</strong> increasing the number <strong>of</strong> the classes decreases.<br />

The discretization process on parameters was mainly implied by the presence <strong>of</strong> Bayesian<br />

Belief Network reasoning. There was no need for discretization <strong>of</strong> parameters in the case<br />

only neural network computations are run. In that case, for instance, it would have<br />

determined a certain number <strong>of</strong> bits any value <strong>of</strong> the parameters could be represented and<br />

the values could directly be encoded on the neurons in the input layer. Another option<br />

would have been to work directly with values <strong>of</strong> the neurons in a given interval. Any<br />

value taken by the parameters could be scaled to the correspondent in the interval and<br />

encoded in the proper input neuron.<br />

In the case <strong>of</strong> Bayesian Belief Networks, the number <strong>of</strong> classes determines the number <strong>of</strong><br />

states <strong>of</strong> each parameter.<br />

In the testing stage <strong>of</strong> the system, a new set <strong>of</strong> Facial Characteristic Points is provided by<br />

the FCP detection module. <strong>Based</strong> on the values, a set <strong>of</strong> parameter values is obtained<br />

following the computations. In case there is any value exceeding the limits <strong>of</strong> the interval,<br />

for one <strong>of</strong> the parameters, the number according to the nearest class is used instead.<br />

The BBN based reasoning is done by setting the class values <strong>of</strong> the parameters as<br />

evidence in the network and by computing the anterior probabilities <strong>of</strong> the parameters.<br />

Finally, the probabilities according to each emotional class are read from the proper<br />

parameter.<br />

Facial Expression Assignment Application<br />

Once the FCPs were specified in the set <strong>of</strong> 485 images and the 10 parameter values were<br />

computed, a s<strong>of</strong>tware application processed each sequence <strong>of</strong> FACS for assigning the<br />

correct emotion to each face.<br />

- 72 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!