A survey of crowd counting and density estimation based on convolutional neural network