protected virtual void OnFaceLeave(EventArgs args)
{
IsTracking = false;
IsDetecting = true;
if (FaceLeave != null)
{
if (SynchronizingObject != null &&
SynchronizingObject.InvokeRequired)
{
SynchronizingObject.BeginInvoke(
FaceLeave, new object[] { this, args });
}
else
{
FaceLeave(this, args);
}
}
}