Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xu-justin/patchmentation

A python library to perform patch augmentation.
https://github.com/xu-justin/patchmentation

augmentation-libraries dataset-augmentation patchmentation pypi-package python3

Last synced: 6 days ago
JSON representation

A python library to perform patch augmentation.

Awesome Lists containing this project

README

        

# Patchmentation

[![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Xu-Justin/patchmentation)
[![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)](https://pypi.org/project/patchmentation)

[![Open In Collab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/Xu-Justin/patchmentation/blob/main/demo.ipynb)

Patchmentation is a python library to perform patch augmentation, a data augmentation technique for object detection, that allows for the synthesis of new images by combining objects from one or more source images into a background image.



The process of patch augmentation involves extracting objects of interest from the source images, transforming them, and then pasting them onto the background image to create a composite image, therefore increasing diversity at the object level. The resulting dataset offers a greater variety of object combinations within a single image, making it more robust and accurate when training object detection models.

## Installation

The easiest way to install patchmentation is through pip.

```bash
pip install patchmentation
```

**Note: Some functionality of patchmentation might not be working on non-Linux systems.**

## External Links

* GitHub Repository: https://github.com/Xu-Justin/patchmentation

* PyPI: https://pypi.org/project/patchmentation

* Docs: TBA

* Research Paper: TBA

* Benchmarking Results: https://github.com/Xu-Justin/patchmentation-yolov5

---

This project was developed as part of thesis project, Computer Science, BINUS University.