datumaro icon indicating copy to clipboard operation
datumaro copied to clipboard

Drawing bbox and polygons on image

Open sizov-kirill opened this issue 4 years ago • 1 comments

Drawing bbox and polygons on image can be useful feature for Datumaro. That will allow users of Datumaro to clearly see how their annotation change during transformations. It can also be helpful for getting demonstration image for some research paper or article.

I think it could be implemented as CLI command, maybe:

datum visualize -o <path>

After that command images with drawing bboxes and polygons will be exported. Maybe it's also would be useful to provide some arguments for such command:

datum visualize -n 10 -o <path>  # for export random 10 annotated images from dataset

datum visualize -l 'item01, item12' -o <path>  # for export annotated images for concrete dataset items

sizov-kirill avatar Nov 08 '21 10:11 sizov-kirill

  • I guess, users typically would want more interactivity in such things, so maybe using TensorBoard is a good idea for this.
  • Consider using bits of the diff command for implementation.
  • Not sure if we should limit this by boxes and polygons, but it can be a reasonable starting point
  • I suggest using show and display command names
  • Maybe, combine with filtering options

zhiltsov-max avatar Nov 08 '21 12:11 zhiltsov-max