Using openCV to realize hog feature