Skip to content

Why not replace drawings_object.writeImage with flag color mapping? #7

Description

@dogod621

The code of drawings_object.writeImage is weird...

why not use:

def writeImage(image):
    """ store label data to colored image """
    plt.imshow(image, cmap=plt.get_cmap('flag'))
    

it is much simpler and without a fixed class types.
It works fine to me.
out_0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions