Question: In this assignment you will use the Python OpenCV package to find penguins in images using template matching. You will be provided with a small

In this assignment you will use the Python OpenCV package to find penguins in images using template matching. You will be provided with a small set of images for training, and your program will be evaluated based on its ability to find penguins in novel images. The steps are:
1. Create a template from one of the images in the training set. This should be an image that contains only the penguin that you're looking for.
2. Verify that the code provided in class is able to find the penguin in its native environment (the image it was taken from). Which methods for evaluating similarity work best? Which color channel gives the best results?
3. Alter your method so that it can locate penguins in other images. Note that the penguins may differ in total size, horizontal flipping, and color. You may want to generate multiple penguin templates and match them all to each image, identifying the best match.
You should bring your working code to the next office hour, where you will compare algorithms and results using a test set of images. I will coordinate with Bogdan and Aaron whoever prefer to coordinate this.
All the hidden penguin images and the notebook from lecture are in the template_matching directory.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!