Skip to content

happymondaynkanta/Data-Augmentation-Using-Keras-and-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Data-Augmentation-Using-Keras-and-Python

Data augmentation is the process of increasing the number of training dataset. Keras library offers a simple solution for augmenting data with few lines of codes.

Practical Data Augmentation

the code in this repository performs augmentation by reading the dataset in three different folders and then save them in another folder. The process of data augmentation using Keras library is via ImageDataGenertor class.

Data Augmentation Outcome

This simple illustration of data augmentation using Keras library showcases the visual representation of data augmentation in practical.

Different Operations of Data Augmentation

A range of techniques are supported, as well as pixel scaling methods. Specifically, the five main types of data augmentation techniques for image data are;

1.) Image shifts via the width_shift_range and height_shift_range arguments.

2.) Image flips via the horizontal_flip and vertical_flip arguments.

3.) Image rotations via the rotation_range argument

4.) Image brightness via the brightness_range argument.

  1. )Image zoom via the zoom_range argument.

Original Image

The origimnal inages are stored in three different folders

data_folder

Augmented Images

The raw images are augmented and saved in a different folder.

result

About

Data augmentation is the process of increasing the number of dataset. Keras library offers a simple solution for augmenting data with few lines of codes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published