First time here? Check out the FAQ!
answered 2014-06-06 08:31:03 -0600
I suggest minAreaRect which gives you the smalles rotated rectangle that contains all given points. The result cv::RotatedRect has a member angle.