Skip to main content
. 2020 Jan 7;20(2):328. doi: 10.3390/s20020328
Algorithm 1 proposed RAG-MCFP-DCNNs algorithm
Input:Mtrain = {(Ii,Ti)}i=1j, Mtest
where the DCNNs model is trained through training data represented as Mtrain and tested through Mtest. The input training image is represented as I and the ground truth data is T(i,j)∈ {1,2,3,4,5,6,7}.
a: Face parsing part:
Step a.1: Training a face parsing model DCNNs through training images and class labels.
Step a.2: Using the probabilistic classification strategy and producing PMAPs for each semantic class, represented as:
PMAPskin, PMAPmouth, PMAPeyes, PMAPnose, PMAPhair, PMAPback, and PMAPeyebrow
b. race, age and gender classification part:
Training a second DCNNs for each demographic class (race, age, and gender) by extracting infomration from PMAPs of the corresponding classes such that;
if race classification:
  f=PMAPskin + PMAPmouth + PMAPeyes + PMAPnose + PMAPhair + PMAPbrows
Else if age classification:
  f=PMAPskin + PMAPmouth + PMAPeyes + PMAPnose + PMAPbrows
Else if gender recognition:
  f=PMAPskin + PMAPeyes + PMAPbrows + PMAPnose + PMAPmouth
where f is the feature vector.
Output: estimated race, age and gender.