Skip to content

Overload of createAABB2D() with signed int arguments #104

@ugol-1

Description

@ugol-1

If the upper left corner of the bounding box has negative coordinates, the createAABB2D() with unsigned arguments will return an invalid result, because negative values will be converted to unsigned int. This can happen, for example, when data from cv::Rect returned by an OpenCV tracking algorithm is passed to createAABB2D().

Adding an overload with signed arguments would solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions