Get user input as image coordinates

Summary

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:
https://extras.streamlit.app/Streamlit%20Image%20Coordinates

thank you so much

1 Like