shwetashweta05 commited on
Commit
8ca116f
·
verified ·
1 Parent(s): e38a3bd

Update pages/Image augmentation.py

Browse files
Files changed (1) hide show
  1. pages/Image augmentation.py +1 -1
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(r"C:\Users\Singh\Pictures\shiv.jpg")
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)