shubham680 commited on
Commit
59e1d77
·
verified ·
1 Parent(s): 9aea4fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ def shearing(img,n=5):
146
  ty=np.random.randint(1,30)
147
  shm=np.array([[sx,shx,tx],[shy,sy,ty]],dtype=np.float32)
148
  img_all=cv2.warpAffine(img,shm,(img.shape[1],img.shape[0]))
149
- save_image_and_show(imag_all)
150
  #img_shear_rgb=cv2.cvtColor(img_all,cv2.COLOR_BGR2RGB)
151
  #st.image(img_shear_rgb, caption="Shearing Applied", use_container_width=True)
152
 
 
146
  ty=np.random.randint(1,30)
147
  shm=np.array([[sx,shx,tx],[shy,sy,ty]],dtype=np.float32)
148
  img_all=cv2.warpAffine(img,shm,(img.shape[1],img.shape[0]))
149
+ save_image_and_show(img_all)
150
  #img_shear_rgb=cv2.cvtColor(img_all,cv2.COLOR_BGR2RGB)
151
  #st.image(img_shear_rgb, caption="Shearing Applied", use_container_width=True)
152