Image Bbox Slicer Save

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.

Project README

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

Open Source Agenda is not affiliated with "Image Bbox Slicer" Project. README Source: acl21/image_bbox_slicer

Open Source Agenda Badge

Open Source Agenda Rating