Streamlit Component to display an image and a cropper inside the image, returning the crop info
Project description
st-image-cropper
Streamlit component that allows you to show an image with a cropper to select a subpart of the image for further usage
Installation instructions
pip install st-image-cropper
Usage instructions
import streamlit as st
from st_image_cropper import st_image_cropper
crop = st_image_cropper(image_url="https://catoftheday.com/archive/2024/June/05.jpg")
st.write(crop)
crop = st_image_cropper(image_path="path/to/image")
st.write(crop)
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
st_image_cropper-0.0.9.tar.gz
(408.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file st_image_cropper-0.0.9.tar.gz.
File metadata
- Download URL: st_image_cropper-0.0.9.tar.gz
- Upload date:
- Size: 408.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
710875b1d128d861b2d8fdfd31925a5bd354dc47aefeef1057544fd0164becf1
|
|
| MD5 |
ba5ee2a7c088ee868af68bbb78d2e83a
|
|
| BLAKE2b-256 |
4a0c372a9f49f345743e9ea44376ef2ae0bc9b1180b6f816e9437a51c92119a8
|
File details
Details for the file st_image_cropper-0.0.9-py3-none-any.whl.
File metadata
- Download URL: st_image_cropper-0.0.9-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04537fe5f9bffc12f60a5254ce59ac8eeb33c8d8783061a280692876657d0f48
|
|
| MD5 |
4924721eb7d9b78503250ddf6789ecaa
|
|
| BLAKE2b-256 |
1fcd2103ad97b06b66a34fcda79fd3e2e918662b8dfaef0cb93b82dbe33c6711
|