Rectangle.clipInsideImage Method¶
Module: Rectangle
Definition¶
Clip a rectangle to be fully inside an image.
clip_inside_image(self, image_width: int, image_height: int) -> None
Parameters
image_widthintin Width of the image.image_heightintin Height of the image.
Exceptions
An error has occurred during Face Library execution.
void clipInsideImage(int imageWidth, int imageHeight)
Parameters
imageWidthintin Width of the image.imageHeightintin Height of the image.
Exceptions
An error has occurred during Face Library execution.
public void ClipInsideImage(int imageWidth, int imageHeight)
Parameters
imageWidthintin Width of the image.imageHeightintin Height of the image.
Exceptions
An error has occurred during Face Library execution.
public void clipInsideImage(int imageWidth, int imageHeight) throws FaceException
Parameters
imageWidthintin Width of the image.imageHeightintin Height of the image.
Exceptions
An error has occurred during Face Library execution.
public func clipInsideImage(imageWidth: Int32, imageHeight: Int32) throws
Parameters
imageWidthInt32in Width of the image.imageHeightInt32in Height of the image.
Exceptions
An error has occurred during Face Library execution.
int id3FaceRectangle_ClipInsideImage (
ID3_FACE_RECTANGLE hRectangle,
int imageWidth,
int imageHeight)
Parameters
hRectangleID3_FACE_RECTANGLEin Handle to the Rectangle object.imageWidthintin Width of the image.imageHeightintin Height of the image.
Returns