Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part 1: Implementation Background: Through lectures, you learned about how to represent images and how to transform images. In this lab, you will gain some
Part 1: Implementation Background: Through lectures, you learned about how to represent images and how to transform images. In this lab, you will gain some hands-on experience working with images by changing image background and flipping a certain region in the image. Task 1: Change Image Background (points) - To further develop your understanding of how to manipulate images in python, now it's your turn to implement changing the image background. - First of all, you need to find a place of a solid color wall and take a photo of yourself or together with your friends in front of the green screen. Feel free to look at the camera and do any pose you want. Feel free to refer to the one below as an example, but please do NOT use the following image. You should take your owns, and be creative :) - Then you need to pick a background image that you like to replace the green screen in the original image. The background image is supposed to be bigger than the source image. Again, this is just an example and you shouldn't simply use this one for the PA. - After you change the background, the new image will look something like the one below, albeit it isn't a perfect one. Feel free to play around with your functions a bit to eliminate as much green background as possible
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started