How can I find minimum area rectangle in binary image?

Thank you so much. I will try to figure out the effect of changing each parameters.
I would also want to know about the new function img.find_edge() and blob.min_corners().
For img.draw_edges, what necessary parameters does it take to draw the edge of rotated rectangle?
For blob.min_corners(), what data does it return and can I independently use it to retrieve some data for other operation?
Thank you

Draw edges just takes a list of 4 point tuples and draws lines between them. It saves a bunch of calls.

Min corners returns a list of 4 point tuples.