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.4.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_image_coordinates-0.4.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for streamlit_image_coordinates-0.4.0.tar.gz
Algorithm Hash digest
SHA256 3c6657df55ad48ba0bc62db4ca4374f762ada6595f390f4ca6fecf18e0a350b4
MD5 2f1791cbf0b080aff2d359373b73608f
BLAKE2b-256 77deeaa06642d53c7d35d3759da9cc4640323afb7dcd0283e6424be1a392fbe8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_image_coordinates-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20d482384edf2d5442b43bc738ecc52bd27c081de28b825986802b5dc6789223
MD5 01c22fa8e227dcdc03ac4adc29948142
BLAKE2b-256 1f0c29d4ddfde865ce480b8aacbb9a764e872dfd2e141c7e6c15f075436ea807

See more details on using hashes here.

Supported by

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