streamlit-image-coordinates

Get the coordinates of clicks on an image in your streamlit app

MIT License

Downloads
214.6K
Stars
75
Committers
4

Streamlit-Image-Coordinates

Author: @blackary

Code: https://github.com/blackary/streamlit-image-coordinates

Streamlit component that displays an image and returns the coordinates when you click on it

Installation instructions

pip install streamlit-image-coordinates

Usage instructions

import streamlit as st

from streamlit_image_coordinates import streamlit_image_coordinates

value = streamlit_image_coordinates("https://placekitten.com/200/300")

st.write(value)
Package Rankings
Top 5.51% on Pypi.org
Badges
Extracted from project README
Releases Black Streamlit App
Related Projects