Skip to content

Shape drawing: Draw closed path by clicking #4928

Description

@HTenkanen

Relates to #4775 and #4374

Hi guys!

I have a following situation where I basically would like to draw bounding boxes around objects in images such as following:
image

Currently, this can be done by using the 'drawclosedpath', but as you can see this seems to be working only with "freehand" style that does not produce very good results (at least on my shaky hands 🙂 ). What I would like to do is to have a possibility to draw closed polyline by clicking the image (corners) and finishing the shape for example by double clicking. Is this somehow possible currently? Other good option would be, if it would be possible to rotate the rectangle after it has been drawn. Now the direction of the shape is only allowed to two directions which is very limiting in many cases.

Any help or ideas how I could manage to do these things would be very welcomed! 🙂

@emmanuelle @archmoj

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions