View-invariant gait recognition method by three-dimensional convolutional neural network