displayarray.effects.crop

class Crop(output_size=(64, 64, 3), center=None)[source]

A callback class that will return the input array cropped to the output size. N-dimensional.

property center

Get the center.

enable_mouse_control()[source]

Move the mouse to move where the crop is from on the original image.

property output_size

Get the output size.