Share via


FaceDetectionEffectDefinition.SynchronousDetectionEnabled Property

Definition

Gets or sets a value indicating whether synchronous face detection is enabled.

public:
 property bool SynchronousDetectionEnabled { bool get(); void set(bool value); };
bool SynchronousDetectionEnabled();

void SynchronousDetectionEnabled(bool value);
public bool SynchronousDetectionEnabled { get; set; }
var boolean = faceDetectionEffectDefinition.synchronousDetectionEnabled;
faceDetectionEffectDefinition.synchronousDetectionEnabled = boolean;
Public Property SynchronousDetectionEnabled As Boolean

Property Value

Boolean

bool

True if synchronous face detection is enabled; otherwise, false.

Remarks

When synchronous detection is enabled, the system will delay the return of a video frame until the face detection operation for the frame is complete. When the frames do arrive, the timestamp of the FaceDetectionEffectFrame will match the timestamp of the associated VideoFrame. When synchronous detection is disabled, the timestamp of the FaceDetectionEffectFrame will typically be slightly later than the associatedVideoFrame.

Applies to