From f01cc380d9617efe728b16cc2dd1cd4e20e9f1b1 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sun, 20 Dec 2020 02:50:22 +0000 Subject: [PATCH] fix(aruco): add check to avoid infinite loop --- modules/aruco/src/aruco.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/aruco/src/aruco.cpp b/modules/aruco/src/aruco.cpp index 41b137d3c5b..0667e337555 100644 --- a/modules/aruco/src/aruco.cpp +++ b/modules/aruco/src/aruco.cpp @@ -914,6 +914,7 @@ static void _refineCandidateLines(std::vector& nContours, std::vector