Skip to content

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

License

Notifications You must be signed in to change notification settings

NatLee/Batch-crop-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages