imagetagger
imagetagger copied to clipboard
Drawing all annotations into the image and annotation type colors
When no annotation type is selected, all the existing annotations should be drawn into the image. To clarify which annotation type they are, each annotation type should be drawn in its customizable color. There should be a standard and a highlight color for each type, to highlight selected or currently edited annotations. The color can be defined in the administration view in which other annotation type related options are set.
we are also interested in this feature. if we somehow can help, please let us now :)
Seems to be called at
- after annotation type change -> setTool
- https://github.com/bit-bots/imagetagger/blob/463ff71fb201b6e5e3047ce13342774a5610368a/imagetagger/imagetagger/annotations/static/annotations/js/annotations.js#L147
- calls
tool.drawExistingAnnotations - for polygon here: https://github.com/bit-bots/imagetagger/blob/463ff71fb201b6e5e3047ce13342774a5610368a/imagetagger/imagetagger/annotations/static/annotations/js/canvas.js#L427