DetectedFace.translate Method

Module: DetectedFace

Definition

Translates the face object.

translate(self, tx: int, ty: int) -> None

Parameters

tx int
in Translation to apply to the face object alongside the x-axis.

ty int
in Translation to apply to the face object alongside the y-axis.

Exceptions

An error has occurred during Face Library execution.
void translate(int tx, int ty)

Parameters

tx int
in Translation to apply to the face object alongside the x-axis.

ty int
in Translation to apply to the face object alongside the y-axis.

Exceptions

An error has occurred during Face Library execution.
public void Translate(int tx, int ty)

Parameters

tx int
in Translation to apply to the face object alongside the x-axis.

ty int
in Translation to apply to the face object alongside the y-axis.

Exceptions

An error has occurred during Face Library execution.
public void translate(int tx, int ty) throws FaceException

Parameters

tx int
in Translation to apply to the face object alongside the x-axis.

ty int
in Translation to apply to the face object alongside the y-axis.

Exceptions

An error has occurred during Face Library execution.
public func translate(tx: Int32, ty: Int32) throws

Parameters

tx Int32
in Translation to apply to the face object alongside the x-axis.

ty Int32
in Translation to apply to the face object alongside the y-axis.

Exceptions

An error has occurred during Face Library execution.
int id3DetectedFace_Translate (
    ID3_DETECTED_FACE hDetectedFace,
    int tx,
    int ty)

Parameters

hDetectedFace ID3_DETECTED_FACE
in Handle to the DetectedFace object.

tx int
in Translation to apply to the face object alongside the x-axis.

ty int
in Translation to apply to the face object alongside the y-axis.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.