private void ProcessOldFrame(FaceProcessingWrapper.MotionDetectionResult result) { if (IsStaticFrame(result.MotionRect)) { this.manager.DisposeFrame(result.FrameGuid); } else { this.manager.MoveToMotionFrames(result); } }
private bool ProcessNewFrame(Frame frame, out FaceProcessingWrapper.MotionDetectionResult detectionResult) { detectionResult = new FaceProcessingWrapper.MotionDetectionResult(); return(this.DetectMethod(frame, detectionResult)); }
private bool ProcessNewFrame(Frame frame, out FaceProcessingWrapper.MotionDetectionResult detectionResult) { detectionResult = new FaceProcessingWrapper.MotionDetectionResult(); return this.DetectMethod(frame, detectionResult); }