spyrit.misc.statistics.CenterCrop

class spyrit.misc.statistics.CenterCrop(img_size)[source]

Bases: object

Args:

img_size=int, image size

Center crop if image not square in order to ensure that all images have same size