Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.09 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.09 KB

Streamlit-Image-Coordinates

Releases Python Versions License Black

Streamlit App

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. Also returns click event time in unix format.

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)