A deep neural network (DNN) is an artificial neural network (ANN) with multiple layers between the input and output layers. Each mathematical manipulation as such is considered a layer, and complex DNN have many layers, hence the name "deep" networks.
In python , we can opencv library , to recognize the faces using a DNN trained file.