Skip to content

Zacros/procedural-tracks-dataset-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dataset Generation with procedural-tracks

Generate an arbitrary number of Racing Track Images to use in Machine Learning or else.
From pure grayscale to rgb/kerbs/starting grid

Grayscale

Grayscale 1

RGB

RGB 1

Full Gamma Sportsback

Complete Track 1

Usage

python main.py --n-tracks 2 --width 512 --height 512 --rgb y --kerb y --starting-grid y

--n-tracks : Number of tracks to generate
--width/--height : Width/Height of images in pixel
--rgb : Rgb or Grayscale
--kerb : To draw kerbs
--starting-grid : To draw starting-greed






procedural-tracks (Original Project)

Procedural race track generation with Python.

Blog post with more insights here.

Following the article found here.

The tracks obtained by my implementation are far from ideal, but it might be a good starting point for further work.

About

Procedural race track generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%