I am trying to teach myself some pattern recognition skills from different tutorials. I know we can use ROI for a cascade detector, and prepare data of original images for Classification learner APP. But, can I extract features (HOG or bag of features) from a ROI table, and rebuild a table for the Classification Learner APP to read and build a classifier?
For the ROI table, it is a two-column table. First column is the original images' file name, second column is the location of the ROI.
I am now stuck at the first step, which is exact features from ROI. I can exact HOG features from a single image, but "extractHOGFeatures()" seems does not like an array of ROI. And "bagOfFeature()" seems need an imageset of original images, instead of ROI.
So, is there a way that I can keep use the ROI exports, beside for cascade?