def process(self, im):
greyscaled = im.prep(self.transform)
fd = hog(greyscaled, orientations=self.orientations, pixels_per_cell=self.pixels_per_cell,
cells_per_block=self.cells_per_block, visualise=False)
return fd
评论列表
文章目录