# Introducing TextImage Augmentation for Document Images

DevFeed: [Introducing TextImage Augmentation for Document Images](<https://devfeed.tech/articles/introducing-textimage-augmentation-for-document-images-7172.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/doc_aug_hf_alb>)

Author: Dana Aubakirova; Pablo Montalvo; Vladimir Iglovikov

Published: 2024-08-06T00:00:00Z

Content type: article

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [data augmentation](<https://devfeed.tech/topics/data-augmentation.md>), [albumentations](<https://devfeed.tech/topics/albumentations.md>), [multimodal](<https://devfeed.tech/topics/multimodal.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [datasets](<https://devfeed.tech/topics/datasets.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [albumentations](<https://devfeed.tech/tags/albumentations.md>), [data-augmentation](<https://devfeed.tech/tags/data-augmentation.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [document-ai](<https://devfeed.tech/tags/document-ai.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [research](<https://devfeed.tech/tags/research.md>), [synthetic-data](<https://devfeed.tech/tags/synthetic-data.md>), [text-generation](<https://devfeed.tech/tags/text-generation.md>), [training](<https://devfeed.tech/tags/training.md>), [vision](<https://devfeed.tech/tags/vision.md>), [vlms](<https://devfeed.tech/tags/vlms.md>)

## AI overview

The article introduces a multimodal data augmentation pipeline for document images used in Vision Language Model fine-tuning. Developed with Albumentations AI, it modifies document images and their text annotations together while aiming to preserve text quality. The methods include text insertion, deletion, swapping, and stopword replacement, followed by image masking and inpainting.

## Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.