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