Skip to content

A bug in python api getImgIds when the input parameters catIds is a list  #114

Open
@xuchao1688

Description

@xuchao1688

at line 197, the function try to travel around all the category in catIds and collect the results of every category avoiding repeating results in imgIds. However you use a '&=' operation instead of '|=' operation, which causes the result to be null or less than expected regardless of imgIds when the length of catIds list is more than 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions