Skip to main content

Streamlit component that displays an image and returns the coordinates when you click on it

Project description

Streamlit-Image-Coordinates

Releases Python Versions License Black

Streamlit App

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. Also returns click event time in unix format.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit_image_coordinates-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file streamlit_image_coordinates-0.2.0.tar.gz.

File metadata

File hashes

Hashes for streamlit_image_coordinates-0.2.0.tar.gz
Algorithm Hash digest
SHA256 87d8de33c6b5a7baa99659a738080ee30b4f107ca8421f0c4204f17626d88c16
MD5 b3235d64195a3ec5deb4b2204c7b329d
BLAKE2b-256 e2cdf85d0a8c0a0d067bdc743365d5f2efd6f9d3af048253d46a0306cbf465dc

See more details on using hashes here.

File details

Details for the file streamlit_image_coordinates-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_image_coordinates-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96e0120facf524acb2a25031e07226d7fe1a04a1735fbd779c785ab4a7a08b87
MD5 b9da8367c8ea7a36f5c0d47076e8e3bb
BLAKE2b-256 cc289be034a3706f4454e56bbf961c4c4120a6d6b4d2f314a53e8f91f19ab686

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page