Skip to content

Caephler/noisy-article-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

noisy-article-generator

An image generator that generates pairs of images for machine learning purposes.

Sample Output

Clean Dirty
clean-1 dirty-1
clean-2 dirty-2
clean-3 dirty-3
clean-4 dirty-4
clean-5 dirty-5
clean-6 dirty-6

Quick Start

You must have Python 3.6 installed. Other Python 3 versions may not work as expected.

Install this script and other dependencies by running this command:

pip3 install -e .

Run noisy-article-generate -h to see all arguments that you can input.

Requirements

The program expects these folders to be populated with the relevant files.

fonts: All fonts that you want the program to consider using during generation. File extension: .ttf

clipart: All clipart that you want the program to consider using during generation. File extension: .png || .jpg

stains: All stains that you want the progrram to consider using during generation. File extension: .png || .png

textures: All textures that you want the program to consider using during generation. File extension: .jpg || .png

Generating images

You can generate images by entering the command noisy-article-generate in any directory that has the required input folders. The program will output to an out directory, with the clean and dirty images separated into their respective folders.

Credits

Textures

Clipart / Icons

Icons made by Freepik on FlatIcon

Fonts

Taken from Google Fonts.

Stains

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published