Image.extractRoiWithColor Method¶
Module: Image
Definition¶
Extracts a region of interest in the image according to the given bounds.
Image extractRoiWithColor(Rectangle bounds, int colorRed, int colorGreen, int colorBlue)
Parameters
bounds Rectanglein Bounds of the crop to extract.
colorRed intin Background color red (from 0 to 255)
colorGreen intin Background color green (from 0 to 255)
colorBlue intin Background color blue (from 0 to 255)
Returns
The extracted region of interest.
Exceptions
An error has occurred during Face Library execution.