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

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 id3TrackedFace_GetInterocularDistance (
    ID3_TRACKED_FACE hTrackedFace,
    int * iod)

Parameters

hTrackedFace ID3_TRACKED_FACE
in Handle to the TrackedFace object.

iod int *
out The computed interocular distance (IOD) in pixels.

Returns

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