Metadata-Version: 2.1
Name: st_image_cropper
Version: 0.0.9
Summary: Streamlit Component to display an image and a cropper inside the image, returning the crop info
Home-page: 
Author: broccoloff
Author-email: 
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: streamlit>=0.63
Provides-Extra: devel
Requires-Dist: wheel; extra == "devel"
Requires-Dist: pytest==7.4.0; extra == "devel"
Requires-Dist: playwright==1.39.0; extra == "devel"
Requires-Dist: requests==2.31.0; extra == "devel"
Requires-Dist: pytest-playwright-snapshot==1.0; extra == "devel"
Requires-Dist: pytest-rerunfailures==12.0; extra == "devel"

# 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

```sh
pip install st-image-cropper
```

## Usage instructions

```python
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)
```
