Skip to content

Commit 894a38d

Browse files
committed
first commit
1 parent 0a2880b commit 894a38d

26 files changed

+290
-0
lines changed

.DS_Store

8 KB
Binary file not shown.

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
11
# NPR-Painting
22
Non-Photorealistic Rendering (NPR) filter - Oil Painting style
3+
4+
5+
## Quick start
6+
7+
**File:** ```main.py````
8+
9+
```python
10+
main("input/im1.jpg", "output/out1.jpg", iterations=6, live=False)
11+
```
12+
13+
- **Iterations**: level of details (time will increase) [2,3,4,5,6,7]
14+
- **live**: if True, you can see the live process of painting (time will increase)
15+
16+
17+
## Output
18+
19+
20+
| Original | Processed |
21+
|----------|-----------|
22+
| ![](input/im1.jpg) | ![](output/out1.jpg) |
23+
| ![](input/im2.jpg) | ![](output/out2.jpg) |
24+
| ![](input/im3.jpg) | ![](output/out3.jpg) |
3.61 KB
Binary file not shown.

brushes/.DS_Store

6 KB
Binary file not shown.

brushes/b1.png

9.02 KB
Loading

brushes/b2.png

12.7 KB
Loading

brushes/b3.png

7.27 KB
Loading

brushes/b4.png

10.4 KB
Loading

brushes/b5.png

5.94 KB
Loading

brushes/brush1.png

10.4 KB
Loading

0 commit comments

Comments
 (0)