Task 1

Fimiliarize yourself with openCV functions cv2.HoughLines(), cv2.HoughLinesP(), and cv2.HoughCircles().

A demonstration of line detection can be found here and for circle detection, see here.

Use this to detect lines in ‘corridor.png’ and circles in ‘coins.png’, both which can be found in the image folder.

Task 2

Implement your own randomized Hough transform, and use it to detect some straight lines. If you want, feel free to also extend it to other shapes like circles and ellipses.