ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This question is probably more appropriate for http://answers.opencv.org/questions/, but as I recently needed this too, here's a quick hint: minAreaRect should fit very well for your use case. Just feed it a few points from the detected contours and you should get the rotated rectangle you seek.