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.
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 tounsigned int. This can happen, for example, when data fromcv::Rectreturned by an OpenCV tracking algorithm is passed tocreateAABB2D().Adding an overload with signed arguments would solve the problem.