Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.62 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.62 KB

PyPI version

Image and Bounding Box Slicer-Resizer (image_bbox_slicer)

This easy-to-use library is a data transformer sometimes useful in Object Detection and Segmentation tasks. With only a few lines of code, one can slice images and their bounding box annotations into smaller tiles, both into specific sizes and into any arbitrary number of equal parts. The tool also supports resizing of images and their bounding box annotations, both by specific sizes and by a resizing/scaling factor. Read the docs here.

Partial Labels Example

Currently, this library only supports bounding box annotations in PASCAL VOC format. And as of now, there is no command line execution support. Please raise an issue if needed.

Installation

pip install image_bbox_slicer

This tool was tested on both Windows and Linx. Works well with Python 3.4 and higher versions and requires:

Pillow
numpy
pascal-voc-writer
matplotlib

Slicing Demo: Docs and Notebook

Resizing Demo: Docs and Notebook