Face recognition with neural network