Accord.Controls.Vision.FaceController.OnFaceMove C# (CSharp) Method

OnFaceMove() protected method

Called when a head movement is detected.
protected OnFaceMove ( Accord.Controls.Vision.FaceEventArgs args ) : void
args Accord.Controls.Vision.FaceEventArgs
return void
        protected virtual void OnFaceMove(FaceEventArgs args)
        {
            if (FaceMove != null)
            {
                if (SynchronizingObject != null &&
                    SynchronizingObject.InvokeRequired)
                {
                    SynchronizingObject.BeginInvoke(
                        FaceMove, new object[] { this, args });
                }
                else
                {
                    FaceMove(this, args);
                }
            }
        }
        #endregion