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 your wants to keep
- maxTimeDelta (Double)
- In second, parameter for cvCalcMotionGradient
- minTimeDelta (Double)
- In second, parameter for cvCalcMotionGradient