ProcessImage scans the frames to see what has changed in the frame over time.

Below is the image processing algorithm

Image Processing Algorithm