DetectedFace.translate Method¶
Module: DetectedFace
Definition¶
Translates the face object.
translate(self, tx: int, ty: int) -> None
Parameters
tx
intin Translation to apply to the face object alongside the x-axis.ty
intin 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
intin Translation to apply to the face object alongside the x-axis.ty
intin 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
intin Translation to apply to the face object alongside the x-axis.ty
intin 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
intin Translation to apply to the face object alongside the x-axis.ty
intin 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
Int32in Translation to apply to the face object alongside the x-axis.ty
Int32in 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_FACEin Handle to the DetectedFace object.tx
intin Translation to apply to the face object alongside the x-axis.ty
intin Translation to apply to the face object alongside the y-axis.
Returns