Skip to content

AxelSkrauba/TOOL-FastBatchImageCrop

 
 

Repository files navigation

TOOL-FastBatchImageCrop

A simple UI tool to batch crop images to prepare datasets.

Preview

Usage

Install requirements (only pillow and opencv) with;

pip install -r requirements.txt

Run with;

python main.py

Select input folder, adjust crop rectangle size with mousewheel, click, repeat.

There are options to enter class names and image descriptions per crop. Class name creates seperate directories to save in the output folder and image descriptions create txt files with the same names per image.

Shortcut keys when cursor is on canvas;

- q: Rotate image CCW
- e: Rotate image CW
- r: Toggle roll to next image on crop
- space: Roll to next image

Hack away.

About

A simple UI tool to batch crop images to prepare datasets from images and videos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%