Create a motion history object

C# | Visual Basic | Visual C++ |
public MotionHistory( int bufferCount, int diffThresh, double mhiDuration, double maxTimeDelta, double minTimeDelta, DateTime startTime )

- bufferCount (Int32)
- number of images to store in buffer, adjust it to fit your camera's frame rate
- diffThresh (Int32)
- 0-255, the amount of pixel intensity change to consider it as motion pixel
- mhiDuration (Double)
- In second, the duration of motion history you wants to keep
- maxTimeDelta (Double)
- In second. Any change happens between a time interval larger than this will not be considerred
- minTimeDelta (Double)
- In second. Any change happens between a time interval smaller than this will not be considerred.
- startTime (DateTime)
- The start time of the motion history