Image.crop Method

Module: Image

Definition

Crop a rectangular region of interest in the image according to the given bounds.

Image crop(int left, int top, int width, int height)

Parameters

left int
in Left bound of the crop to extract.

top int
in Top bound of the crop to extract.

width int
in Width of the crop to extract.

height int
in Height of the crop to extract.

Returns

The extracted region of interest.

Exceptions

An error has occurred during Face Library execution.