In order to obtain deep features, we used the fully connected layer (FC6) and fully connected layer (FC7) of the VGG19 model. Algorithm REF  illustrates the steps of extracting these deep features to identify persons, and recognize gender, age and facial expression. Figure REF  shows a visual diagram of the proposed framework. VGGNet is one of the most preferred choices for extracting features from images [1]}. Typically, VGGNet consists of 16 layers or 19 layers. Since VGG19 is deeper, we have used it to extract our features after resizing the images to \(224 \times 224\)  to fit the input layer.
