Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 810 Bytes

README.md

File metadata and controls

50 lines (29 loc) · 810 Bytes

Batch Image Crop Tool

A tool for cropping images in a batch with an interface.

Requirement

pip install -r requirements.txt
  • numpy
  • opencv-python

Usage

python main.py --input_path <YOUR_INPUT_DIR> --output_path <YOUR_OUTPUT_DIR>

And, it'll preview first one for cropping.

Example

  • Test images which need to be cropped
  • 1280 x 720 Demo input 1

  • 1280 x 720 Demo input 2

  • 1280 x 852 Demo input 3

  • Processing with mouse

Demo processing

  • Cropped result

Demo result 1

Demo result 2

Demo result 3

Reference

All test images are from Free-Photos.