ProcessImage scans the frames to see what has changed in the frame over time.
ProcessImage
Below is the image processing algorithm