Skip to content

WRONG target accumulator filling for coordinates #45

@libornovax

Description

@libornovax

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):
loss_x4_xmin_0_0 loss_x4_xmin_0_1 loss_x4_xmin_0_2 loss_x4_xmin_0_3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions