Skip to content

Commit 184c5e1

Browse files
committed
[update] update README.md
1 parent 542a8ad commit 184c5e1

File tree

2 files changed

+32
-10
lines changed

2 files changed

+32
-10
lines changed

README.md

+31-9
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ usage: blurgenerator [-h] [--input INPUT] [--input_depth_map INPUT_DEPTH_MAP] [-
5050

5151
- Original image
5252

53-
![original image](./doc/test.png)
53+
![original image](https://github.com/NatLee/Blur-Generator/raw/main/doc/test.png)
5454

5555
#### Usage
5656

@@ -66,7 +66,7 @@ result = motion_blur(img, size=100, angle=30)
6666
cv2.imwrite('./output.png', result)
6767
```
6868

69-
![motion blur image](./doc/motion.png)
69+
![motion blur image](https://github.com/NatLee/Blur-Generator/raw/main/doc/motion.png)
7070

7171
- Lens blur
7272

@@ -80,7 +80,7 @@ result = lens_blur(img, radius=5, components=4, exposure_gamma=2)
8080
cv2.imwrite('./output.png', result)
8181
```
8282

83-
![lens blur image](./doc/lens.png)
83+
![lens blur image](https://github.com/NatLee/Blur-Generator/raw/main/doc/lens.png)
8484

8585
- Gaussian blur
8686

@@ -94,19 +94,19 @@ result = gaussian_blur(img, 100)
9494
cv2.imwrite('./output.png', result)
9595
```
9696

97-
![gaussian blur image](./doc/gaussian.png)
97+
![gaussian blur image](https://github.com/NatLee/Blur-Generator/raw/main/doc/gaussian.png)
9898

9999
### With depth map
100100

101101
Feature from this [issue](https://github.com/NatLee/Blur-Generator/issues/1).
102102

103103
- Original image
104104

105-
![photo](./doc/depth-test.jpg)
105+
![photo](https://github.com/NatLee/Blur-Generator/raw/main/doc/depth-test.jpg)
106106

107107
- Depth map
108108

109-
![depth map](./doc/depth-map-test.png)
109+
![depth map](https://github.com/NatLee/Blur-Generator/raw/main/doc/depth-map-test.png)
110110

111111
#### Usage
112112

@@ -130,7 +130,7 @@ result = motion_blur_with_depth_map(
130130
cv2.imwrite('./output.png', result)
131131
```
132132

133-
![depth motion blur image](./doc/depth-motion-output.png)
133+
![depth motion blur image](https://github.com/NatLee/Blur-Generator/raw/main/doc/depth-motion-output.png)
134134

135135
- Lens blur with depth map
136136

@@ -153,7 +153,7 @@ result = lens_blur_with_depth_map(
153153
cv2.imwrite('./output.png', result)
154154
```
155155

156-
![depth lens blur image](./doc/depth-lens-output.png)
156+
![depth lens blur image](https://github.com/NatLee/Blur-Generator/raw/main/doc/depth-lens-output.png)
157157

158158
- Gaussian blur with depth map
159159

@@ -175,4 +175,26 @@ result = gaussian_blur_with_depth_map(
175175
cv2.imwrite('./output.png', result)
176176
```
177177

178-
![depth gaussian blur image](./doc/depth-gaussian-output.png)
178+
![depth gaussian blur image](https://github.com/NatLee/Blur-Generator/raw/main/doc/depth-gaussian-output.png)
179+
180+
## Contributor
181+
182+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
183+
<!-- prettier-ignore-start -->
184+
<!-- markdownlint-disable -->
185+
<table>
186+
<tbody>
187+
<tr>
188+
<td align="center"><a href="https://github.com/NatLee"><img src="https://avatars.githubusercontent.com/u/10178964?v=3?s=100" width="100px;" alt="Nat Lee"/><br /><sub><b>Nat Lee</b></sub></a></td>
189+
</tr>
190+
</tbody>
191+
</table>
192+
193+
<!-- markdownlint-restore -->
194+
<!-- prettier-ignore-end -->
195+
196+
<!-- ALL-CONTRIBUTORS-LIST:END -->
197+
198+
## LICENSE
199+
200+
[MIT](LICENSE)

src/blurgenerator/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Blur maker init
33
"""
4-
__version__ = "1.0.2"
4+
__version__ = "1.0.3"
55

66
from .motion_blur import motion_blur
77
from .lens_blur import lens_blur

0 commit comments

Comments
 (0)