----- TO DETECT MOTION IN A VIDEO, WE WILL USE THE DIFFERENCE OF TWO VIDEO FRAMES -----
- The video is segmented into frames, (conider each frame as an image)
- Consider 2 images / frames (A & B) that were taken back-to-back.
- Convert the image A & B into gray scale.
- Compute a difference between these two gray scale images, and assign it to image C.
- If, significant differece is detected between these two frames, we can conclude that some motion has occoured.
- An loop function will thus produce an new C image every time there is a frame change in the video.
----- TO RUN THE PROJECT -----
- Using a terminal: python detect_difference_in_frames.py
- Using pycharm : Right click, and select Run detect_difference_in_frames.py