Fast and efficient implementation of image filtering using a side window convolutional neural network Learning multi-level density maps for crowd counting