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 intin Left bound of the crop to extract.
top intin Top bound of the crop to extract.
width intin Width of the crop to extract.
height intin Height of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Face Library execution.