Improving the Performance of Object Counting Using Training Images in the Frequency Domain