imotiondetector.cs

来自「WIFI-Robot Basic」· CS 代码 · 共 38 行

CS
38
字号
// Motion Detector
//
// Copyright ?Andrew Kirillov, 2005
// andrew.kirillov@gmail.com
//

namespace motion
{
	using System;
	using System.Drawing;

	/// <summary>
	/// IMotionDetector interface
	/// </summary>
	public interface IMotionDetector
	{
		/// <summary>
		/// Motion level calculation - calculate or not motion level
		/// </summary>
		bool MotionLevelCalculation{ set; get; }

		/// <summary>
		/// Motion level - amount of changes in percents
		/// </summary>
		double MotionLevel{ get; }

		/// <summary>
		/// Process new frame
		/// </summary>
		void ProcessFrame( ref Bitmap image );

		/// <summary>
		/// Reset detector to initial state
		/// </summary>
		void Reset( );
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?