commit before adding HOG descriptors