imgproc: fix minAreaRect()

This commit is contained in:
Alexander Alekhin
2020-12-10 08:07:50 +00:00
parent 8286d84fb1
commit 3e5d7e1718
4 changed files with 82 additions and 4 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class Hackathon244Tests(NewOpenCVTests):
mc, mr = cv.minEnclosingCircle(a)
be0 = ((150.2511749267578, 150.77322387695312), (158.024658203125, 197.57696533203125), 37.57804489135742)
br0 = ((161.2974090576172, 154.41793823242188), (199.2301483154297, 207.7177734375), -9.164555549621582)
br0 = ((161.2974090576172, 154.41793823242188), (207.7177734375, 199.2301483154297), 80.83544921875)
mc0, mr0 = (160.41790771484375, 144.55152893066406), 136.713500977
self.check_close_boxes(be, be0, 5, 15)