It takes two videos (of the same size) as parameters and removes the green screen of the foreground video to include the background video.
The code is avaliable on 'background_blending.py'. The video files in the root of the project are videos that illustrate the foreground video without the green screen and the final video, respectively. Since the script uses the cv2.addWeighted method, both videos must have the same size (width * height).
You can use the CLI passing as parameters -r to indicate the foreground video (this video must have a green screen background) and -b to provide the path of the background video.