Skip to content

OBB support for ConfusionMatrix #1760

@patel-zeel

Description

@patel-zeel

Search before asking

  • I have searched the Supervision issues and found no similar feature requests.

Description

#1562 discusses the OBB support for Metrics in detail, and #1593 added OBB support for mAP, Precision, Recall, and F1 Score. I see that ConfusionMatrix still lacks this support.

Why is it important?

Currently, anyone using ConfusionMatrix with OBB may assume that IoU is computed for the OBBs, but actually, IoU is being computed for the derived axis-aligned bounding boxes.

iou_batch = box_iou_batch(

Use case

It will help anyone working with OBBs to compute ConfusionMatrix correctly.

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions