Skip to content

Native component to draw lines, bounding boxes, polygons, and keypoints #875

@avn3r-dn

Description

@avn3r-dn

Problem

The self-driving car it's a nice tutorial that compares a model vs labeling data. This is a powerful tool to visualize how your model is doing and where it can improve. However, a more powerful statement of how Streamlit could be used for all Data related projects will be if I can create the labels directly on the app. In this case, the input is the model bounding boxes, then we can easily go over every box and fix any issues. This will allow Streamlit to serve both a platform for creating the Datasets and later visualizing how these datasets are doing. Making closer to end-to-end front-end solutions. I can already use Streamlit for prototyping classification labeling, adding drawing on top of images will allow it to do all type of CV problems.

Solution

  1. Allow drawing on images
  2. Draw Line, Bounding Boxes, Polygons and Keypoints
  3. Return coordinates based on image location clicks based on image dimensions

Let me know if this something of interest for Streamlit.

Regards.

Views

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:widgetsRelated to widget elementstype:enhancementRequests for feature enhancements or new featurestype:possible-componentCould be implemented as a custom component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions