Update pages/Image augmentation.py
Browse files
pages/Image augmentation.py
CHANGED
@@ -18,7 +18,7 @@ st.write("**Image Translation -** Translation moves the image by a specified dis
|
|
18 |
code="""
|
19 |
import numpy as np
|
20 |
import cv2
|
21 |
-
img=cv2.imread(
|
22 |
tx = 0
|
23 |
ty = 0
|
24 |
t_m = np.array([[1, 0, tx], [0, 1, ty]], dtype=np.float32)
|
|
|
18 |
code="""
|
19 |
import numpy as np
|
20 |
import cv2
|
21 |
+
img=cv2.imread("shiv.jpg")
|
22 |
tx = 0
|
23 |
ty = 0
|
24 |
t_m = np.array([[1, 0, tx], [0, 1, ty]], dtype=np.float32)
|