basic HOG feature extraction imple-d