DetectedFace.getInterocularDistance Method¶
Module: DetectedFace
Definition¶
Gets the distance between the eyes (IOD) of the detected face in pixels.
get_interocular_distance(self) -> int
Returns
int
The computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
int getInterocularDistance()
Returns
int
The computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
public int GetInterocularDistance()
Returns
int
The computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
public int getInterocularDistance() throws FaceException
Returns
int
The computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
public func getInterocularDistance() throws -> Int32
Returns
Int
The computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
int id3DetectedFace_GetInterocularDistance (
ID3_DETECTED_FACE hDetectedFace,
int * iod)
Parameters
hDetectedFace
ID3_DETECTED_FACEin Handle to the DetectedFace object.iod
int *out The computed interocular distance (IOD) in pixels.
Returns