Commit ddfaa41f authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #14452 from alalek:issue_14432

parents 77fa59c3 1c180f4c
......@@ -1355,6 +1355,8 @@ static void GetCircleCenters(const std::vector<int> &centers, std::vector<Vec4f>
template<typename T>
static void RemoveOverlaps(std::vector<T>& circles, float minDist)
{
if (circles.size() <= 1u)
return;
float minDist2 = minDist * minDist;
size_t endIdx = 1;
for (size_t i = 1; i < circles.size(); ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment