TrackedFace.getInterocularDistance Method¶
Module: TrackedFace
Definition¶
Gets the distance between the eyes (IOD) of the detected face in pixels.
get_interocular_distance(self) -> int
Returns
intThe computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
int getInterocularDistance()
Returns
intThe computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
public int GetInterocularDistance()
Returns
intThe computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
public int getInterocularDistance() throws FaceException
Returns
intThe computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
public func getInterocularDistance() throws -> Int32
Returns
IntThe computed interocular distance (IOD) in pixels.
Exceptions
An error has occurred during Face Library execution.
int id3TrackedFace_GetInterocularDistance (
ID3_TRACKED_FACE hTrackedFace,
int * iod)
Parameters
hTrackedFaceID3_TRACKED_FACEin Handle to the TrackedFace object.iodint *out The computed interocular distance (IOD) in pixels.
Returns