Ask Your Question

Find max shape to fit in my contour

asked 2018-12-02 08:59:36 -0500

ilia gravatar image

updated 2018-12-02 13:56:29 -0500

C:\fakepath\111.jpg Hello I want to find a way to find predefined shape that will include as much as possible of my contour In this example it will be a rotated rect but in the future would like to find as shapes as possible (rectangle,ellipse etc...) thanks in advanced

edit retag flag offensive close merge delete


you probably should take a tour through the tutorials

berak gravatar imageberak ( 2018-12-02 09:21:11 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-12-02 09:10:45 -0500

LBerger gravatar image

you can try estimateTransformation and full example is here

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-12-02 08:59:36 -0500

Seen: 91 times

Last updated: Dec 02 '18