Skip to content

merging detections prints "hm" #1963

@matthew-fall-apl

Description

@matthew-fall-apl

Search before asking

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

Bug

When using Detections.merge() on detections that have information in their metadata, "hm" gets printed.

Environment

  • supervision >= 0.25.1
  • python == 3.10.9
  • OS: Windows 11 or Linux Ubuntu 22.04

Minimal Reproducible Example

from supervision import Detections
import numpy as np

detections1 = Detections(xyxy=np.array([[10,10,50,50]]),
                         metadata={'frame':1})

detections2 = Detections(xyxy=np.array([[20,20,70,70]]),
                         metadata={'frame':1})

merged_detections = Detections.merge([detections1, detections2])

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