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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b64a5b2ec20bd57a8187f908d11976b495cb7838070480486c7e94d36845e154 |
|
MD5 | a1a44d87daf96ec85ef9dcf7c8b24486 |
|
BLAKE2b-256 | 798746d4dbebbf4477cd98e8051836393de0a517e11130cd9d17fade3f2785ad |
Close
Hashes for streamlit_image_coordinates-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f638fafb2c45ddf6c75265bdd63401cb9dcee19354c5c45d2cf3f4dcc0f8cc8 |
|
MD5 | 055b33958d94835c9866cfdd63e0ab8d |
|
BLAKE2b-256 | 91952bf89d94c87118b1d44b6ad3349a04e7efa4bb76d3896418f2c474b3ad85 |