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
boundsRectanglein 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
boundsRectanglein 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
boundsRectanglein 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
boundsRectanglein 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
boundsRectanglein 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
hImageID3_FACE_IMAGEin Handle to the Image object.sBoundsconst id3FaceRectangle *in Bounds of the crop to extract.hImageRoiID3_FACE_IMAGEout The extracted region of interest.
Returns