Crop

Block Category: Operations

Input Image Format

Input Image Requirements: None

Description: The Crop block removes unwanted area from an image by cropping to the specified coordinates.

X1, Y1: Specifies the upper left x and y coordinates of the image to be retained. Specify the values in pixels.

X2, Y2: Specifies the lower right x and y coordinates of the image to be retained. Specify the values in pixels.

Example

In this example, the image of the dog is cropped to zoom in on its right eye.

CropExample