https://github.com/mitsuse/streamlit-image-crop
A Streamlit component based on React Image Crop.
https://github.com/mitsuse/streamlit-image-crop
Last synced: 12 months ago
JSON representation
A Streamlit component based on React Image Crop.
- Host: GitHub
- URL: https://github.com/mitsuse/streamlit-image-crop
- Owner: mitsuse
- License: isc
- Created: 2021-02-17T11:06:28.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-01T14:14:06.000Z (about 4 years ago)
- Last Synced: 2025-05-23T22:18:36.787Z (about 1 year ago)
- Language: Python
- Size: 1.26 MB
- Stars: 21
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Streamlit Image Crop
A [Streamlit](https://www.streamlit.io/) component based on [React Image Crop](https://github.com/DominicTobias/react-image-crop).

## Installation
```
pip install streamlit-image-crop
```
## Example
Try [example.py](https://github.com/mitsuse/streamlit-image-crop/blob/master/example.py).
First, you need to install dependencies:
```
git clone https://github.com/mitsuse/streamlit-image-crop.git && cd streamlit-image-crop
pip install poetry
poetry install
```
Next, run `react-scripts start`:
```
cd streamlit-image-crop/frontend/ && npm run start
```
Finally, run the example:
```
poetry run streamlit run example.py
```
## License
Streamlit Image Crop is licensed under the ISC license.
Please read [LICENSE](https://github.com/mitsuse/streamlit-image-crop/blob/master/LICENSE) for the detail.