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
File details
Details for the file streamlit_image_coordinates-0.1.8.tar.gz
.
File metadata
- Download URL: streamlit_image_coordinates-0.1.8.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af9ff2e89c42826d5110689c6a2e3e6524942cbe5ca487da132781cd0a10f11 |
|
MD5 | 0fde9ca151bde56a69449f8317e1bcaa |
|
BLAKE2b-256 | 56ec4726e9ce32a6bc2a3c1b95d195660224f7c62c28581278455be7cc0df76b |
File details
Details for the file streamlit_image_coordinates-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: streamlit_image_coordinates-0.1.8-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 375647748e40213e9f711668cfea6b963de5129d439fe6ee51b22d7740baa841 |
|
MD5 | 167944943feae211937a5e1afdca7208 |
|
BLAKE2b-256 | c7d045f28354cc95bf5cab40ef774953d99f0981c357d1913d4c9e1e956e17f6 |