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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0218bf2f575ce8553f24f6bc286f347f85f6dd2f36c96dc04b10dd6b74e27ca |
|
MD5 | 54c1f651596321e917138804be14560f |
|
BLAKE2b-256 | 0badab1d295285364a9259fea0b2ef6ece8bb36583ec07807b7bb3f1e5d7ae37 |
Close
Hashes for streamlit_image_coordinates-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3933b60e48e8e3a9c08c02b38bdf7bc1cf4895856e45733f00f3045ef852b332 |
|
MD5 | d822d81f3e763940c17d6fb3c1788fde |
|
BLAKE2b-256 | bede46978099e69ca00a1477d783100e254cecd232cb532bcab5a02694bc29fe |