Ask Your Question
0

Find max shape to fit in my contour

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

ilia gravatar image

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

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

Comments

you probably should take a tour through the tutorials

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

1 answer

Sort by ยป oldest newest most voted
0

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

LBerger gravatar image

you can try estimateTransformation and full example is here

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 195 times

Last updated: Dec 02 '18