image processing - OpenCV - Find skewed rectangle -


i want draw "bounding box" around skewed rectangle. thought use cvminarearect2() function handles rotation, see image:

enter image description here

is there function solve this? if not, ideas how implement it?

compute both minarearect , convexhull. then, each of 4 points found minarearect, find corresponding nearest point in convex hull.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -