-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
Description
This is a huge bug... When the coordinate accumulator are filled, the bounding boxes are added one by one. However, each time the accumulator is blurred again! This part of code is the problem:
...
// Because I don't want to take care of the plotting of the circle myself, I use the OpenCV function and
// then replace the values - first create a circle with a dummy value
cv::circle(acc, cv::Point(x_acc, y_acc), radius-1, cv::Scalar(DUMMY), -1);
cv::GaussianBlur(acc, acc, cv::Size(3, 3), 100);
...
This is what it does with the accumulator (xmin coordinate):

The coordinate entries added earlier are being blurred again and again, which results in completely wrong values in those positions!