Pixels from a face photograph enter the input layer and get processed across three hidden layers of a deep neural network.
The first hidden layer isolates edges. The second hidden layer forms combinations of edges. The third hidden layer constructs object models such as faces. Four nodes in the output layer generate the network response.
Security systems at border control use this hierarchical feature extraction to identify travelers from passport photos against database matches.