h2oai / wave

Realtime Web Apps and Dashboards for Python and R
https://wave.h2o.ai
Apache License 2.0
3.9k stars 327 forks source link

Image annotator - catch click events for single point coordinates of the image #2010

Closed lafink closed 1 year ago

lafink commented 1 year ago

Requested solution

To catch click events and to have a smooth experience with the ui.image annotator, we would like to have something like a point selector that reacts on click events and acts like a trigger. This way we can prompt models given an image point coordinate to obtain the polygon vertices which we would like to use to draw the new polygon shape with the ui.image_annotator.

Describe alternatives you've considered

It's also possible to prompt models of interest with a box but this would slow down the data labeling process and would not be as smart and efficient as using the point coordinate.

mturoci commented 1 year ago

Implementation notes: