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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af9ff2e89c42826d5110689c6a2e3e6524942cbe5ca487da132781cd0a10f11 |
|
MD5 | 0fde9ca151bde56a69449f8317e1bcaa |
|
BLAKE2b-256 | 56ec4726e9ce32a6bc2a3c1b95d195660224f7c62c28581278455be7cc0df76b |
Close
Hashes for streamlit_image_coordinates-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 375647748e40213e9f711668cfea6b963de5129d439fe6ee51b22d7740baa841 |
|
MD5 | 167944943feae211937a5e1afdca7208 |
|
BLAKE2b-256 | c7d045f28354cc95bf5cab40ef774953d99f0981c357d1913d4c9e1e956e17f6 |