Skip to content

Overlap filter doesn't work on segmented models, converts masks to bounding boxes #1987

@jkaretsky

Description

@jkaretsky

Search before asking

  • I have searched the Inference issues and found no similar bug report.

Bug

The code here implicitly converts segmented/masked Dectections to its xy-xy defined bounding box, which causes incorrect overlap detection in the case of irregularly shaped segments without any warning to the user

https://github.com/roboflow/inference/blob/main/inference/core/workflows/core_steps/analytics/overlap/v1.py

Environment

No response

Minimal Reproducible Example

No response

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions