Get user input as image coordinates


I use the st.image to display annotated images. For a case I want to edit the annotations I would like to find if there’s an option to get points on the image to drow a bounding box (in matlab I know there’s “ginput” function)

Thank you

You can get coordinates of point at which the user clicks on the image. Check this out:

thank you so much

1 Like