PortraitProcessor.threadCount Property¶
Module: PortraitProcessor
Type: int
Definition¶
Number of threads to be used for portrait processing.
Hint
Default value is 1. Allocating more than one thread can increase the speed of the process.
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 id3FacePortraitProcessor_GetThreadCount (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * threadCount)
int id3FacePortraitProcessor_SetThreadCount (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int threadCount)
Returns