Streamlit component that displays an image and returns the coordinates when you click on it
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for streamlit_image_coordinates-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac61d3734fb24fc4528dfe856db894b2184aea532b1d5c8939fc440c18ec37e1 |
|
MD5 | a03dd3f69df5f6e0146e8dd1da88c7e8 |
|
BLAKE2b-256 | 764a6429432a928185a8dc9fff8a78204dd794100953c5202f91752c0a81d7c0 |
Close
Hashes for streamlit_image_coordinates-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dff4c12b0d28900d035379d33baf55bd2a961acfb50ad4aa7b120b79743dcdd9 |
|
MD5 | 3aabcee761e713039f4a2e54af5c94e0 |
|
BLAKE2b-256 | 1fc76f288d9c52ffc32e76ce6c7198bce300f3f456da53595b110cb7fa20294c |