Algorithm 1 proposed RAG-MCFP-DCNNs algorithm |
Input:M = {(I,T)}, M where the DCNNs model is trained through training data represented as M and tested through M. 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: PMAP, PMAP, PMAP, PMAP, PMAP, PMAP, and PMAP 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: PMAP + PMAP + PMAP + PMAP + PMAP + PMAP Else if age classification: PMAP + PMAP + PMAP + PMAP + PMAP Else if gender recognition: PMAP + PMAP + PMAP + PMAP + PMAP where f is the feature vector. Output: estimated race, age and gender. |