Abstract
Facial expression classification is widely used in various research fields. This paper putts forward to an algorithm based on deep learning to solve the problem. Firstly, it segments the facial region and transforms it to gray image, then constructs a convolutional neural network which includes convolution layers and max-pooling layers and full connection layers. The network can classify the facial expression to two categories which are happiness and sadness. Experiments are used to test and verify the network. And it has achieved good results