Skip to content

footoredo/low_poly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#A Python Low-poly Genrater

##Usage

python low_poly.py infile a b [outfile]

Where a and b stands for parameters for the script. Specifically, a stands for min_distance used in generating Poisson sampling and b stands for the factor used for edge detecting.

##Samples

Raw picture (samples/raw/a.jpg)

Raw a.jpg

Processed picture (samples/processed/a.jpg)

Processed a.jpg

Command line

python low_poly.py samples/raw/a.jpg 60 3 samples/processed/a.jpg

Raw picture (samples/raw/b.jpg)

Raw a.jpg

Processed picture (samples/processed/b.jpg)

Processed a.jpg

Command line

python low_poly.py samples/raw/b.jpg 60 3.5 samples/processed/b.jpg

Raw picture (samples/raw/c.png)

Raw a.jpg

Processed picture (samples/processed/c.png)

Processed a.jpg

Command line

python low_poly.py samples/raw/c.png 30 2 samples/processed/c.png

Raw picture (samples/raw/d.jpg)

Raw a.jpg

Processed picture (samples/processed/d.jpg)

Processed a.jpg

Command line

python low_poly.py samples/raw/d.jpg 50 1 samples/processed/d.jpg

About

A python low-poly generater.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published