From e5cce9c048738a904f7fc4fb042dd24ce60901ec Mon Sep 17 00:00:00 2001 From: rlagneau Date: Tue, 3 Oct 2023 09:36:18 +0200 Subject: [PATCH] [FIX] Forgot to clean the votes vector --- modules/imgproc/src/vpCircleHoughTransform.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/imgproc/src/vpCircleHoughTransform.cpp b/modules/imgproc/src/vpCircleHoughTransform.cpp index f97bee2b8c..a5e3d5b198 100644 --- a/modules/imgproc/src/vpCircleHoughTransform.cpp +++ b/modules/imgproc/src/vpCircleHoughTransform.cpp @@ -175,6 +175,7 @@ vpCircleHoughTransform::detect(const vpImage &I) m_centerVotes.clear(); m_edgePointsList.clear(); m_circleCandidates.clear(); + m_circleCandidatesVotes.clear(); m_circleCandidatesProbabilities.clear(); m_finalCircles.clear(); m_finalCircleVotes.clear();