Skip to content

>512 masks cv2 limitation on resize #10272

@fanweiya

Description

@fanweiya

masks = cv2.resize(masks, (im0_shape[1], im0_shape[0]))

System information (version):

     opencv-python == 4.1.0.25

Detailed description:

     cv2 resize channel limited
     This bug is triggered when the number of masks exceeds 512, and the skimage resize function is recommended.  

refer to:opencv/opencv#14770

Metadata

Metadata

Assignees

No one assigned

    Labels

    TODOHigh priority items

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions