Question: USING PYTHON PLEASE For this assignment, you will create a program that uses only pygame to perform a simple chroma-keying (also known as green screening)
USING PYTHON PLEASE




For this assignment, you will create a program that uses only pygame to perform a simple chroma-keying (also known as green screening) operation, to merge two images. The first image will be a background image and the second image will be the image of a ghost against a green background (i.e., pixels where the red and blue values are 0 and the green value is 255). Your task will be to overlay a semi-transparent image of the ghost on top of the background, centered at a point defined by the user. The result will be an image where the monster appears as a ghost, as depicted in the example below. For this assignment, you will create a program that uses only pygame to perform a simple chroma-keying (also known as green screening) operation, to merge two images. The first image will be a background image and the second image will be the image of a ghost against a green background (i.e., pixels where the red and blue values are 0 and the green value is 255). Your task will be to overlay a semi-transparent image of the ghost on top of the background, centered at a point defined by the user. The result will be an image where the monster appears as a ghost, as depicted in the example below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
