Skip to content

Line 327 __init__.py #22

@Murivan

Description

@Murivan

Hello,
I am using MTM but I have a problem,
Line 327 of init.py seems to be the culprit.
outImage = cv2.cvtColor(image, cv2.COLOR_GRAY2RGB) if image.ndim == 2 else image.copy
copy is a function, so it should be image.copy()
Changing this solves my issue.

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