#462·ByteTrack

Is this applicable for OBB testing?

Author: makanov001Created May 25, 2026Updated May 25, 2026

In the file "ByteTrack/deploy/ncnn/cpp/include/BYTETracker.h", I saw the following code:

cpp
struct Object
{
    cv::Rect_<float> rect;
    int label;
    float prob;
};

If I want to detect obb, then cv::Rect is not suitable. I need to use cv::RotatedRect instead. Could you please tell me what needs to be done for the adaptation?

Source: FoundationVision/ByteTrack