An Implementation of the Histogram of Oriented Gradients (HOG) algorithm on a recon gurable system on chip