1. Learn
  2. /
  3. Courses
  4. /
  5. Image Processing in Python

Exercise

Perspective

In this exercise, you will detect the corners of a building using the Harris corner detector. The threshold_rel parameter will specify the minimum intensity of peaks.

Building from a bottom perspective
Image preloaded as building_image.

The functions show_image() and show_image_with_corners() have already been preloaded for you. As well as the color module for converting images to grayscale.

Instructions

100 XP
  • Import the corner_harris() function from the feature module.
  • Convert the building_image to grayscale.
  • Apply the harris detector to obtain the measure response image with the possible corners.
  • Find the peaks of the corners.