Image.extractRoi Method¶
Module: Image
Definition¶
Extracts a region of interest in the image according to the given bounds.
extract_roi(self, bounds: Rectangle) -> Image
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Face Library execution.
Image extractRoi(Rectangle bounds)
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Face Library execution.
public Image ExtractRoi(Rectangle bounds)
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Face Library execution.
public Image extractRoi(Rectangle bounds) throws FaceException
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Face Library execution.
public func extractRoi(bounds: Rectangle) throws -> Image
Parameters
bounds
Rectanglein Bounds of the crop to extract.
Returns
The extracted region of interest.
Exceptions
An error has occurred during Face Library execution.
int id3FaceImage_ExtractRoi (
ID3_FACE_IMAGE hImage,
const id3FaceRectangle * sBounds,
ID3_FACE_IMAGE hImageRoi)
Parameters
hImage
ID3_FACE_IMAGEin Handle to the Image object.sBounds
const id3FaceRectangle *in Bounds of the crop to extract.hImageRoi
ID3_FACE_IMAGEout The extracted region of interest.
Returns