Hi I'm trying to find the arbitrarily oriented bounding box of a binary image. This seems like a pretty trivial problem but I've spent 2 days trying to find the correct way to use minAreaRect() and to use it to create a simple binary mask.
Can anyone please help, in java please?
Thank you to all.