Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/NatLee/Batch-crop-images
A tool for cropping similar images in a batch with an interface.
https://github.com/NatLee/Batch-crop-images
crop-image opencv-python python python3 tool
Last synced: 3 months ago
JSON representation
A tool for cropping similar images in a batch with an interface.
- Host: GitHub
- URL: https://github.com/NatLee/Batch-crop-images
- Owner: NatLee
- License: mit
- Created: 2019-12-24T05:55:06.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-14T02:57:04.000Z (over 1 year ago)
- Last Synced: 2024-08-05T09:14:38.964Z (7 months ago)
- Topics: crop-image, opencv-python, python, python3, tool
- Language: Python
- Homepage:
- Size: 4.03 MB
- Stars: 73
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Batch Image Crop Tool
A tool for cropping images in a batch with an interface.
## Requirement
```bash
pip install -r requirements.txt
```- numpy
- opencv-python## Usage
```bash
python main.py --input_path --output_path
```And, it'll preview first one for cropping.
## Example
* Test images which need to be cropped
- 1280 x 720
- 1280 x 720
- 1280 x 852
* Processing with mouse

* Cropped result



# Reference
All test images are from [Free-Photos](https://pixabay.com/users/free-photos-242387).