Skip to content

🎯  Streamlit Image Coordinates

Submitted by Zachary Blackwood

Summary

Allows you to add an image to your app, and get the coordinates of where the user last clicked on the image.

Docstring

Visit the PyPI page for more information.

Examples

example

def example():
    "# Click on the image"
    last_coordinates = streamlit_image_coordinates("https://placekitten.com/200/300")

    st.write(last_coordinates)