Skip to content

Faster-OilPainting: 快速照片油畫化, NTU Interactive Computer Graphic, 2018 Fall Final term project

Notifications You must be signed in to change notification settings

cyshih73/Faster-OilPainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faster-OilPainting: 快速照片油畫化

NTU Interactive Computer Graphic, 2018 Fall Final term project

Usage:

Requirements

  • python3
  • numpy
  • scipy
  • imageio
  • python-opencv

Execution

main.py [-h] [--brush_width BRUSH_WIDTH] --path PATH
        [--palette PALETTE] [--gradient GRADIENT]
optional arguments:
  -h, --help            show this help message and exit
  --brush_width BRUSH_WIDTH
                        Scale of the brush strokes
  --path PATH           Target image path, gif of still image
  --palette PALETTE     Palette colours. 0 = Actual color
  --gradient GRADIENT   Edge detection type. (sobel, scharr, prewitt, roberts)
  
ex. python main.py --brush_width 5 --path [target_image]

Results

More examples please refer to Faster-OilPainting/testdata

.jpg

Before After

Before After

.gif

Before After

Before After

About

Faster-OilPainting: 快速照片油畫化, NTU Interactive Computer Graphic, 2018 Fall Final term project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages