Overlap filter doesn't work on segmented models, converts masks to bounding boxes
bug
### Search before asking
- [x] I have searched the Inference [issues](https://github.com/roboflow/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!
0 条评论