From 8531e6d9fcb2c93ecd3a830f7d7bc579ee4946f4 Mon Sep 17 00:00:00 2001 From: LaurentBerger Date: Sat, 2 Jan 2016 21:06:51 +0100 Subject: [PATCH] May be it can solve issue 5908 --- modules/imgproc/src/convhull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/src/convhull.cpp b/modules/imgproc/src/convhull.cpp index df50dde..b870ee4 100644 --- a/modules/imgproc/src/convhull.cpp +++ b/modules/imgproc/src/convhull.cpp @@ -302,7 +302,7 @@ void convexityDefects( InputArray _points, InputArray _hull, OutputArray _defect int defect_deepest_point = -1; double defect_depth = 0; bool is_defect = false; - + j=hcurr; for(;;) { // go through points to achieve next hull point -- 2.7.4