# How can I find minimum area rectangle in binary image?

**URL:** https://forums.openmv.io/t/how-can-i-find-minimum-area-rectangle-in-binary-image/1033
**Category:** OpenMV Boards
**Created:** [December 8, 2018, 4:02am UTC](https://forums.openmv.io/t/how-can-i-find-minimum-area-rectangle-in-binary-image/1033 "2018-12-08T04:02:31Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![Jeffproj](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Jeffproj](https://forums.openmv.io/u/Jeffproj)
#### Post date: [February 24, 2019, 8:03pm UTC](https://forums.openmv.io/t/how-can-i-find-minimum-area-rectangle-in-binary-image/1033/21 "2019-02-24T20:03:14Z")

</div>

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

---

<div class="post-metadata">

### Author: ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)
#### Post date: [February 25, 2019, 12:09am UTC](https://forums.openmv.io/t/how-can-i-find-minimum-area-rectangle-in-binary-image/1033/22 "2019-02-25T00:09:04Z")

</div>

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.

[Previous page](https://forums.openmv.io/t/how-can-i-find-minimum-area-rectangle-in-binary-image/1033.md?page=1)
