Detect corner points of rectangle

Sounds like a job for HuskyLens
See the video from this page:-