andfanilo / streamlit-drawable-canvas

Do you like Quick, Draw? Well what if you could train/predict doodles drawn inside Streamlit? Also draws lines, circles and boxes over background images for annotation.
https://drawable-canvas.streamlit.app/
MIT License
541 stars 83 forks source link

Corresponding relation & color representation #123

Open CrystalSusie opened 1 year ago

CrystalSusie commented 1 year ago

Thanks for your great component:)

  1. How can I figure out the correspondence between track in image and label in table after labelling? For example, I wish that when I select a track in image, corresponding label in table appears in bold type. Alternatively, each track in image appears with id, which is also listed in the table below.
  2. How can I represent different track with different color, even using same drawing tool and label name? I want all the tracks show in different colors automatically. Looking forward to your reply.