I am extracting HogFeatures to extract information from images. These numerical values i.e Hog features are used to train SVM for object classification. Is it the correct way to make a classifier for object recognition ? Also, how do I go about having the SVM trained.