I’m new to image processing and got to do corner detection for this image:

In this image, I need to extract the starting and end points of each line segment or the coordinates of the corners. This is just a small part in my project and I’m stuck on this because I’ve no experience in image processing.
Here’s a solution, using scikit-image: