FaceAnalyser.threadCount Property

Module: FaceAnalyser

Type: int

Definition

Number of threads to be used for face analysis.

Hint

Default value is 1. Allocating more than one thread can increase the speed of the process.

thread_count: int

Exceptions

An error has occurred during Face Library execution.
int get threadCount => getThreadCount();
set threadCount(int value) => setThreadCount(value);

Exceptions

An error has occurred during Face Library execution.
public int threadCount
{
    get => GetthreadCount();
    set => SetthreadCount(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getThreadCount() throws FaceException
public void setThreadCount(int threadCount) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var threadCount: Int
    get {
        return Int(try! getThreadCount())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FaceAnalyser_GetThreadCount (ID3_FACE_ANALYSER hFaceAnalyser, int * threadCount)
int id3FaceAnalyser_SetThreadCount (ID3_FACE_ANALYSER hFaceAnalyser, int threadCount)

Returns

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