This question was asked in Misc 4
How to find corner points ?

Deva Dharshini's image