Skip to content

rupeshs/sandart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sandart

Converts photos into sand artworks.

I started with some pixel manipulations/Feature detection and the result is Sand Art

Demos

All examples

###Dependencies

  • Python 3.x
  • PIL
usage: sandart.py [-h] -i IMAGE [-s STRENGTH] [-c SANDCOLOR SANDCOLOR SANDCOLOR] [-n INVERT] -o SAVEPATH

SandArt v1.0

optional arguments:
  -h, --help            show this help message and exit
  -i IMAGE, --image IMAGE 
                    Source image path
  -s STRENGTH, --strength STRENGTH 
                          Sand art strength [1-20]
  -c SANDCOLOR SANDCOLOR SANDCOLOR, --sandcolor SANDCOLOR SANDCOLOR SANDCOLOR
                                                 Sand art strength,RGB value eg: 255 30 50
  -tc USETOPCOLOR, --usetopcolor USETOPCOLOR
                       Use top image color as sand color | use 1 to enable 0 to disable | default 0                                       
  -n INVERT, --invert INVERT Invert 
                      style use 1 to enable 0 to disable | default 0
  -o SAVEPATH, --savepath SAVEPATH 
                          Sand art path with file extension
      

Different options and styles

Styles

About

Converts photos into sand artworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages