First time here? Check out the FAQ!
answered 2017-08-30 05:38:33 -0600
You'are looking for minAreaRect
(Java) RotatedRect box = Imgproc.minAreaRect(LargestContourPoints);
Then get your points coordinates from "box".