Create a motion history object


- 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 greater than this will not be considerred
- minTimeDelta (Double)
- In second. Any change happens between a time interval smaller than this will not be considerred.